validates_cpf.gemspec in validates_cpf-1.1.3 vs validates_cpf.gemspec in validates_cpf-2.0.0.rc1
- old
+ new
@@ -1,26 +1,24 @@
# -*- encoding: utf-8 -*-
-$:.push File.expand_path("../lib", __FILE__)
-require "validates_cpf/version"
+require File.expand_path('../lib/validates_cpf/version', __FILE__)
-Gem::Specification.new do |s|
- s.name = "validates_cpf"
- s.version = ValidatesCpf::VERSION
- s.authors = ["Paulo Henrique Lopes Ribeiro"]
- s.email = %q{plribeiro3000@gmail.com}
- s.homepage = ""
- s.summary = %q{CPF Validation GEM}
- s.description = %q{Validates CPF and test it with matchers in a simple way.}
+Gem::Specification.new do |gem|
+ gem.name = 'validates_cpf'
+ gem.version = ValidatesCpf::VERSION
+ gem.authors = %q{Paulo Henrique Lopes Ribeiro}
+ gem.email = %q{plribeiro3000@gmail.com}
+ gem.summary = %q{Validates CPF 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,examples,gemfiles}/*`.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.2.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