forked from dgilperez/validates_zipcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
validates_zipcode.gemspec
28 lines (23 loc) · 1.03 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
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$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 = %q{Localizable zipcode validation for Rails.}
s.description = %q{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 = ["lib"]
s.required_ruby_version = '>= 1.9.3'
s.add_dependency 'activemodel', '>= 3.2.0'
s.add_development_dependency "bundler", "~> 1.6"
s.add_development_dependency "rake"
s.add_development_dependency "rspec"
end