-
Notifications
You must be signed in to change notification settings - Fork 7
/
Gemfile
27 lines (21 loc) · 1.12 KB
/
Gemfile
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
source 'http://rubygems.org'
# Specify your gem's dependencies in cuke_modeler.gemspec
gemspec
gherkin_major_version_used = 30
gherkin_major_versions_without_cucumber_support = [9, 11, 12, 16, 17, 19, 21, 28, 29, 30]
# rubocop:disable Bundler/DuplicatedGem
if RUBY_VERSION =~ /^2\.[34]/
gem 'activesupport', '< 6.0' # Requires Ruby 2.5 at this version
gem 'parallel', '< 1.20' # Requires Ruby 2.5 at this version
if (gherkin_major_versions_without_cucumber_support + [15]).include?(gherkin_major_version_used)
gem 'cucumber', '2.2.0' # No recent version of cucumber that supports this Ruby & cucumber-gherkin combination
else
gem 'cucumber', '>=4.0.0.rc.4', '< 5.0' # Requires Ruby 2.5 at this version
end
elsif gherkin_major_versions_without_cucumber_support.include?(gherkin_major_version_used)
gem 'cucumber', '2.2.0' # No recent version of cucumber that supports this Ruby & cucumber-gherkin combination
else
gem 'cucumber', '>=4.0.0.rc.4' # The minimum version of Cucumber that uses the `cucumber-gherkin` gem
end
# rubocop:enable Bundler/DuplicatedGem
gem 'cucumber-gherkin', "~> #{gherkin_major_version_used}.0"