mixlib-versioning.gemspec in mixlib-versioning-1.0.0 vs mixlib-versioning.gemspec in mixlib-versioning-1.1.0

- old
+ new

@@ -1,22 +1,28 @@ # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'mixlib/versioning/version' -Gem::Specification.new do |gem| - gem.name = "mixlib-versioning" - gem.version = Mixlib::Versioning::VERSION - gem.authors = ["Seth Chisamore", "Christopher Maier"] - gem.email = ["schisamo@opscode.com", "cm@opscode.com"] - gem.description = "General purpose Ruby library that allows you to parse, compare and manipulate version strings in multiple formats." - gem.summary = gem.description - gem.homepage = "https://github.com/opscode/mixlib-versioning" +Gem::Specification.new do |spec| + spec.name = 'mixlib-versioning' + spec.version = Mixlib::Versioning::VERSION + spec.authors = ['Seth Chisamore', 'Christopher Maier'] + spec.email = ['schisamo@chef.io', 'cm@chef.io'] + spec.description = 'General purpose Ruby library that allows you to parse, compare and manipulate version strings in multiple formats.' + spec.summary = spec.description + spec.homepage = 'https://github.com/chef/mixlib-versioning' + spec.license = 'Apache 2.0' - gem.add_development_dependency "rspec" - gem.add_development_dependency "rspec_junit_formatter" + spec.required_ruby_version = '>= 1.9' - gem.files = `git ls-files`.split($/) - gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } - gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) - gem.require_paths = ["lib"] + spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) + spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) + spec.require_paths = ['lib'] + + # Development dependencies + spec.add_development_dependency 'rubocop', '= 0.31.0' + spec.add_development_dependency 'rspec', '~> 2.14' + spec.add_development_dependency 'bundler' + spec.add_development_dependency 'rake' end