sucker_punch.gemspec in sucker_punch-3.0.0 vs sucker_punch.gemspec in sucker_punch-3.0.1

- old
+ new

@@ -1,34 +1,34 @@ # -*- encoding: utf-8 -*- lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'sucker_punch/version' -Gem::Specification.new do |gem| - gem.name = "sucker_punch" - gem.version = SuckerPunch::VERSION - gem.authors = ["Brandon Hilkert"] - gem.email = ["brandonhilkert@gmail.com"] - gem.description = %q{Asynchronous processing library for Ruby} - gem.summary = %q{Sucker Punch is a Ruby asynchronous processing using concurrent-ruby, heavily influenced by Sidekiq and girl_friday.} - gem.homepage = "https://github.com/brandonhilkert/sucker_punch" - gem.license = "MIT" +Gem::Specification.new do |spec| + spec.name = "sucker_punch" + spec.version = SuckerPunch::VERSION + spec.authors = ["Brandon Hilkert"] + spec.email = ["brandonhilkert@gmail.com"] + spec.description = %q{Asynchronous processing library for Ruby} + spec.summary = %q{Sucker Punch is a Ruby asynchronous processing using concurrent-ruby, heavily influenced by Sidekiq and girl_friday.} + spec.homepage = "https://github.com/brandonhilkert/sucker_punch" + spec.license = "MIT" - 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($/) + 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"] - gem.post_install_message = "Sucker Punch v2.0 introduces backwards-incompatible changes.\nPlease see https://github.com/brandonhilkert/sucker_punch/blob/master/CHANGES.md#200 for details." + spec.required_ruby_version = '>= 2.0.0' - gem.add_development_dependency "rake", "~> 10.0" - gem.add_development_dependency "minitest" - gem.add_development_dependency "pry" + spec.add_development_dependency "rake", "~> 10.0" + spec.add_development_dependency "minitest" + spec.add_development_dependency "pry" - gem.add_dependency "concurrent-ruby", "~> 1.0" - - if gem.respond_to?(:metadata) - gem.metadata['changelog_uri'] = 'https://github.com/brandonhilkert/sucker_punch/blob/master/CHANGES.md' - gem.metadata['source_code_uri'] = 'https://github.com/brandonhilkert/sucker_punch' - gem.metadata['bug_tracker_uri'] = 'https://github.com/brandonhilkert/sucker_punch/issues' + spec.add_dependency "concurrent-ruby", "~> 1.0" + + if spec.respond_to?(:metadata) + spec.metadata['changelog_uri'] = 'https://github.com/brandonhilkert/sucker_punch/blob/master/CHANGES.md' + spec.metadata['source_code_uri'] = 'https://github.com/brandonhilkert/sucker_punch' + spec.metadata['bug_tracker_uri'] = 'https://github.com/brandonhilkert/sucker_punch/issues' end end