Skip to content

Commit

Permalink
Locking down dependencies in CI
Browse files Browse the repository at this point in the history
Limiting which versions of `cucumber` are used.
  • Loading branch information
enkessler committed Jun 9, 2020
1 parent ce7bce8 commit f87f689
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gemfiles/cuke_modeler0.gemfile
Expand Up @@ -12,4 +12,6 @@ if RUBY_VERSION =~ /^1\./
gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
gem 'term-ansicolor', '< 1.4' # The 'term-ansicolor' gem requires Ruby 2.x on/after this version
else
gem 'cucumber', '< 4.0.0' # Cucumber 4.x switches to needing the `cucumber-gherkin` gem, which is incompatible with `cuke_modeler` 0.x
end
2 changes: 2 additions & 0 deletions gemfiles/cuke_modeler1.gemfile
Expand Up @@ -10,4 +10,6 @@ if RUBY_VERSION =~ /^1\./
gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
gem 'term-ansicolor', '< 1.4' # The 'term-ansicolor' gem requires Ruby 2.x on/after this version
else
gem 'cucumber', '< 4.0.0' # Cucumber 4.x switches to needing the `cucumber-gherkin` gem, which is incompatible with `cuke_modeler` 1.x
end
2 changes: 2 additions & 0 deletions gemfiles/cuke_modeler2.gemfile
Expand Up @@ -10,4 +10,6 @@ if RUBY_VERSION =~ /^1\./
gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
gem 'term-ansicolor', '< 1.4' # The 'term-ansicolor' gem requires Ruby 2.x on/after this version
else
gem 'cucumber', '< 4.0.0' # Cucumber 4.x switches to needing the `cucumber-gherkin` gem, which is incompatible with `cuke_modeler` 2.x
end

0 comments on commit f87f689

Please sign in to comment.