auto_increment.gemspec in auto_increment-1.1.1 vs auto_increment.gemspec in auto_increment-1.2.0

- old
+ new

@@ -1,37 +1,36 @@ # -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) -require "auto_increment/version" +$LOAD_PATH.push File.expand_path('../lib', __FILE__) +require 'auto_increment/version' -Gem::Specification.new do |spec| - spec.name = "auto_increment" - spec.version = AutoIncrement::VERSION - spec.licenses = %w(MIT) - spec.platform = Gem::Platform::RUBY - spec.authors = ["Felipe Diesel"] - spec.email = ["felipediesel@gmail.com"] - spec.homepage = "http://github.com/felipediesel/auto_increment" - spec.summary = %q{Auto increment a string or integer field} - spec.description = %q{Automaticaly increments a string or integer field in ActiveRecord.} +Gem::Specification.new do |s| + s.name = 'auto_increment' + s.version = AutoIncrement::VERSION.dup + s.licenses = 'MIT' + s.platform = Gem::Platform::RUBY + s.authors = ['Felipe Diesel'] + s.email = ['felipediesel@gmail.com'] + s.homepage = 'http://github.com/felipediesel/auto_increment' + s.summary = 'Auto increment a string or integer field' + s.description = 'Automaticaly increments a string or integer field ' \ + 'in ActiveRecord.' - spec.rubyforge_project = "auto_increment" + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.require_paths = ['lib'] - spec.files = `git ls-files`.split("\n") - spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } - spec.require_paths = ["lib"] + s.add_dependency 'activerecord', '~> 4.0' + s.add_dependency 'activesupport', '~> 4.0' - spec.add_dependency "activerecord", "~> 4.0" - spec.add_dependency "activesupport", "~> 4.0" + s.add_development_dependency 'bundler', '~> 1.3' + s.add_development_dependency 'rake', '~> 0' - spec.add_development_dependency "bundler", "~> 1.3" - spec.add_development_dependency "rake" + s.add_development_dependency 'rspec', '~> 3.3' + s.add_development_dependency 'rspec-nc', '~> 0.2' + s.add_development_dependency 'guard', '~> 2.12' + s.add_development_dependency 'guard-rspec', '~> 4.5' + s.add_development_dependency 'fuubar', '~> 2' + s.add_development_dependency 'coveralls', '~> 0' + s.add_development_dependency 'database_cleaner', '~> 1.4' - spec.add_development_dependency "rspec" - spec.add_development_dependency "rspec-nc" - spec.add_development_dependency "guard" - spec.add_development_dependency "guard-rspec" - spec.add_development_dependency "fuubar" - spec.add_development_dependency "coveralls" - - spec.add_development_dependency 'sqlite3' + s.add_development_dependency 'sqlite3', '~> 1.3' end