2016-02-28 18:16:11 -05:00
|
|
|
source "https://rubygems.org"
|
2013-02-01 04:19:14 -05:00
|
|
|
|
|
|
|
# Specify your gem's dependencies in capistrano.gemspec
|
|
|
|
gemspec
|
2014-01-08 18:33:52 -05:00
|
|
|
|
2022-01-08 16:00:43 -05:00
|
|
|
gem "mocha"
|
|
|
|
gem "rspec"
|
|
|
|
gem "rspec-core", "~> 3.4.4"
|
|
|
|
|
2014-01-08 18:33:52 -05:00
|
|
|
group :cucumber do
|
2018-06-18 11:21:27 -04:00
|
|
|
# Latest versions of cucumber don't support Ruby < 2.1
|
|
|
|
# rubocop:disable Bundler/DuplicatedGem
|
|
|
|
if Gem::Requirement.new("< 2.1").satisfied_by?(Gem::Version.new(RUBY_VERSION))
|
|
|
|
gem "cucumber", "< 3.0.1"
|
|
|
|
else
|
|
|
|
gem "cucumber"
|
|
|
|
end
|
|
|
|
# rubocop:enable Bundler/DuplicatedGem
|
2014-01-08 18:33:52 -05:00
|
|
|
end
|
2018-06-18 11:21:27 -04:00
|
|
|
|
|
|
|
# Latest versions of net-ssh don't support Ruby < 2.2.6
|
|
|
|
if Gem::Requirement.new("< 2.2.6").satisfied_by?(Gem::Version.new(RUBY_VERSION))
|
|
|
|
gem "net-ssh", "< 5.0.0"
|
|
|
|
end
|
|
|
|
|
|
|
|
# Latest versions of public_suffix don't support Ruby < 2.1
|
|
|
|
if Gem::Requirement.new("< 2.1").satisfied_by?(Gem::Version.new(RUBY_VERSION))
|
|
|
|
gem "public_suffix", "< 3.0.0"
|
|
|
|
end
|
2019-01-13 20:35:55 -05:00
|
|
|
|
2020-05-03 12:59:18 -04:00
|
|
|
# Latest versions of i18n don't support Ruby < 2.4
|
|
|
|
if Gem::Requirement.new("< 2.4").satisfied_by?(Gem::Version.new(RUBY_VERSION))
|
2019-01-13 20:35:55 -05:00
|
|
|
gem "i18n", "< 1.3.0"
|
|
|
|
end
|
2019-08-29 11:59:45 -04:00
|
|
|
|
2020-05-03 12:59:18 -04:00
|
|
|
# Latest versions of rake don't support Ruby < 2.2
|
|
|
|
if Gem::Requirement.new("< 2.2").satisfied_by?(Gem::Version.new(RUBY_VERSION))
|
|
|
|
gem "rake", "< 13.0.0"
|
|
|
|
end
|
|
|
|
|
2022-01-08 16:00:43 -05:00
|
|
|
# We only run danger and rubocop on a new-ish ruby; no need to install them otherwise
|
2019-08-29 11:59:45 -04:00
|
|
|
if Gem::Requirement.new("> 2.4").satisfied_by?(Gem::Version.new(RUBY_VERSION))
|
|
|
|
gem "danger"
|
2022-01-08 16:00:43 -05:00
|
|
|
gem "psych", "< 4" # Ensures rubocop works on Ruby 3.1
|
|
|
|
gem "rubocop", "0.48.1"
|
2019-08-29 11:59:45 -04:00
|
|
|
end
|