forked from daddyz/phonelib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphonelib.gemspec
33 lines (30 loc) · 1.19 KB
/
phonelib.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
33
$LOAD_PATH.push File.expand_path('../lib', __FILE__)
require 'phonelib/version'
Gem::Specification.new do |s|
s.name = 'phonelib'
s.version = Phonelib::VERSION
s.authors = ['Vadim Senderovich']
s.email = ['[email protected]']
s.homepage = 'https://github.com/daddyz/phonelib'
s.summary = 'Gem validates phone numbers with Google libphonenumber database'
s.description = <<-EOS
Google libphonenumber library was taken as a basis for
this gem. Gem uses its data file for validations and number formatting.
EOS
s.license = 'MIT'
s.post_install_message = <<-EOS
IMPORTANT NOTICE!
Phone types were changed from camel case to snake case!
Example: ":tollFree" changed to ":toll_free".
Please update your app in case you are checking types!
EOS
s.files = Dir['{data,lib,tasks}/**/*'] + %w(MIT-LICENSE Rakefile README.rdoc)
s.test_files = Dir['test/**/*']
s.add_development_dependency 'rake'
s.add_development_dependency 'nokogiri', '= 1.6.0'
s.add_development_dependency 'pry'
s.add_development_dependency 'rspec', '= 2.14.1'
s.add_development_dependency 'codeclimate-test-reporter'
# fixing CI tests
s.add_development_dependency 'rack-cache', '= 1.2'
end