capistrano-ops.gemspec in capistrano-ops-0.1.8 vs capistrano-ops.gemspec in capistrano-ops-0.1.9
- old
+ new
@@ -19,11 +19,13 @@
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
s.require_paths = ['lib']
# add rails depending on ruby version
if RUBY_VERSION <= '2.6.6' && RUBY_VERSION >= '2.5.0'
s.add_dependency 'rails', '>= 4.2.0', '< 6.0.0'
- else
+ elsif RUBY_VERSION <= '2.7.0'
s.add_dependency 'rails', '>= 4.2.0', '< 7.0.0'
+ else
+ s.add_dependency 'rails', '>= 4.2.0'
end
# adjust nokogiri version depending on ruby version
if RUBY_VERSION < '2.5.0'
s.add_dependency 'nokogiri', '>= 1.8.0', '< 1.11.0'
elsif RUBY_VERSION < '2.6.7'