-
Notifications
You must be signed in to change notification settings - Fork 51
/
validates_zipcode.gemspec
32 lines (26 loc) · 1.16 KB
/
validates_zipcode.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
26
27
28
29
30
31
32
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'validates_zipcode/version'
Gem::Specification.new do |s|
s.name = 'validates_zipcode'
s.version = ValidatesZipcode::VERSION
s.authors = ['David Gil']
s.email = ['[email protected]']
s.summary = 'Localizable zipcode validation for Rails.'
s.description = 'Adds zipcode validation methods to ActiveModel considering different country zipcode formats.'
s.homepage = 'http://github.com/dgilperez/validates_zipcode'
s.license = 'MIT'
s.files = `git ls-files -z`.split("\x0")
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = %w[lib]
s.required_ruby_version = '>= 2.4'
s.add_dependency 'activemodel', '>= 4.2.0'
s.add_development_dependency 'appraisal'
s.add_development_dependency 'bundler'
s.add_development_dependency 'rake', '>= 12.3.3'
s.add_development_dependency 'rspec'
s.add_development_dependency 'rubocop'
s.add_development_dependency 'rubocop-rails'
end