validates_telephone.gemspec in validates_telephone-1.1.0 vs validates_telephone.gemspec in validates_telephone-2.0.0

- old
+ new

@@ -1,26 +1,24 @@ # -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) -require "validates_telephone/version" +require File.expand_path('../lib/validates_telephone/version', __FILE__) -Gem::Specification.new do |s| - s.name = "validates_telephone" - s.version = ValidatesTelephone::VERSION - s.authors = ["Paulo Henrique Lopes Ribeiro"] - s.email = %q{plribeiro3000@gmail.com} - s.homepage = "" - s.summary = %q{Telephone Validation GEM} - s.description = %q{Validates Telephone for Brazil and United States and test it with matchers in a simple way.} +Gem::Specification.new do |gem| + gem.name = "validates_telephone" + gem.version = ValidatesTelephone::VERSION + gem.authors = %q{Paulo Henrique Lopes Ribeiro} + gem.email = %q{plribeiro3000@gmail.com} + gem.summary = %q{Validates Telephone for Brazil and United States and test it with matchers in a simple way.} - s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - s.require_paths = %w(lib) + gem.files = `git ls-files`.split("\n") + gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + gem.require_paths = %w(lib) - s.add_dependency "activemodel", ">= 3.0.0" - s.add_development_dependency "activerecord", ">= 3.0.0" - s.add_development_dependency "rake" - s.add_development_dependency "rspec", ">= 2.0.0" - s.add_development_dependency "shoulda-matchers", ">= 1.0.0" - s.add_development_dependency "remarkable_activerecord", "= 4.0.0.alpha4" - s.add_development_dependency "sqlite3" -end + gem.license = 'MIT' + + gem.add_development_dependency 'rake' + gem.add_development_dependency 'rspec' + gem.add_development_dependency 'shoulda-matchers', '2.0.0' + gem.add_development_dependency 'coveralls' + + gem.add_runtime_dependency 'activemodel' +end \ No newline at end of file