reactor.gemspec in reactor-1.0.2 vs reactor.gemspec in reactor-2.0.0
- old
+ new
@@ -1,34 +1,34 @@
-# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
+# frozen_string_literal: true
+
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'reactor/version'
Gem::Specification.new do |spec|
- spec.name = "reactor"
+ spec.name = 'reactor'
spec.version = Reactor::VERSION
- spec.authors = ["winfred", "walt", "nate", "petermin"]
- spec.email = ["winfred@hired.com", "walt@hired.com", "nate@hired.com", "kengteh.min@gmail.com"]
- spec.description = %q{ rails chrono reactor }
- spec.summary = %q{ Sidekiq/ActiveRecord pubsub lib }
- spec.homepage = ""
- spec.license = "MIT"
+ spec.authors = %w[winfred walt nate petermin christospappas therabidbanana]
+ spec.email = ['gabe@hired.com', 'christos@hired.com']
+ spec.description = 'rails chrono reactor'
+ spec.summary = 'Sidekiq/ActiveRecord pubsub lib'
+ spec.homepage = ''
+ spec.license = 'MIT'
- spec.files = `git ls-files`.split($/)
+ spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
- spec.require_paths = ["lib"]
+ spec.require_paths = ['lib']
- spec.add_dependency 'rails', '~> 5.1.2'
- spec.add_dependency "sidekiq", '> 4.0'
+ spec.add_dependency 'rails', '~> 5.2.3'
+ spec.add_dependency 'sidekiq', '> 4.0'
- spec.add_development_dependency "bundler"
- spec.add_development_dependency "rake"
- spec.add_development_dependency "rspec"
- spec.add_development_dependency "rspec-its"
- spec.add_development_dependency "pry"
- spec.add_development_dependency "pry-byebug"
- spec.add_development_dependency "sqlite3"
- spec.add_development_dependency "test_after_commit"
- spec.add_development_dependency "simplecov"
- spec.add_development_dependency "appraisal"
+ spec.add_development_dependency 'appraisal'
+ spec.add_development_dependency 'bundler'
+ spec.add_development_dependency 'pry'
+ spec.add_development_dependency 'pry-byebug'
+ spec.add_development_dependency 'rake'
+ spec.add_development_dependency 'rspec'
+ spec.add_development_dependency 'rspec-its'
+ spec.add_development_dependency 'simplecov'
+ spec.add_development_dependency 'sqlite3'
end