-
Notifications
You must be signed in to change notification settings - Fork 5
/
validator-nric.gemspec
25 lines (22 loc) · 988 Bytes
/
validator-nric.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'validator/nric/version'
Gem::Specification.new do |spec|
spec.name = 'validator-nric'
spec.version = Validator::Nric::VERSION
spec.authors = ['mech']
spec.email = ['[email protected]']
spec.summary = 'Validates Singapore NRIC'
spec.description = 'Global validator as well as ActiveModel validator'
spec.homepage = 'https://github.com/mech/validator-nric'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '~> 2'
spec.add_development_dependency 'rake', '~> 13'
spec.add_development_dependency 'rspec', '~> 3'
spec.add_development_dependency 'rubocop'
end