rails_failover.gemspec in rails_failover-0.2.0 vs rails_failover.gemspec in rails_failover-0.3.0
- old
+ new
@@ -6,11 +6,11 @@
spec.name = "rails_failover"
spec.version = RailsFailover::VERSION
spec.authors = ["Alan Tan"]
spec.email = ["tgx@discourse.org"]
- spec.summary = %q{Failover for PostgreSQL and Redis}
+ spec.summary = %q{Failover for ActiveRecord and Redis}
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -19,7 +19,11 @@
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
- spec.add_dependency('redis', '~> 4')
+ spec.add_dependency 'listen', "~> 3.2"
+
+ ["activerecord", "railties"].each do |gem_name|
+ spec.add_dependency gem_name, "~> 6.0"
+ end
end