File: Gemfile

package info (click to toggle)
capistrano 3.19.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 804 kB
  • sloc: ruby: 5,351; makefile: 5
file content (47 lines) | stat: -rw-r--r-- 1,412 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
source "https://rubygems.org"

# Specify your gem's dependencies in capistrano.gemspec
gemspec

gem "mocha"
gem "rspec"
gem "rspec-core", "~> 3.4.4"

group :cucumber do
  # 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
end

# 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

# Latest versions of i18n don't support Ruby < 2.4
if Gem::Requirement.new("< 2.4").satisfied_by?(Gem::Version.new(RUBY_VERSION))
  gem "i18n", "< 1.3.0"
end

# 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

# We only run rubocop and its dependencies on a new-ish ruby; no need to install them otherwise
if Gem::Requirement.new("> 2.4").satisfied_by?(Gem::Version.new(RUBY_VERSION))
  gem "base64"
  gem "psych", "< 4" # Ensures rubocop works on Ruby 3.1
  gem "racc"
  gem "rubocop", "0.48.1"
end