enkessler/cuke_linter

View on GitHub
testing/gemfiles/cuke_modeler2.gemfile

Summary

Maintainability
Test Coverage
source 'https://rubygems.org'

git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }

# Specify your gem's dependencies in cuke_linter.gemspec
gemspec path: '../../'

if RUBY_VERSION =~ /^2\.[123]/
  # Versions 0.8.0 of 'simplecov-lcov' requires at least 'simplecov' 0.18.0, which requires at least
  # Ruby 2.4. Bundler does not correctly resolve this declared limitation, so we have to do it ourselves.
  gem 'simplecov', '< 0.18.0'
  gem 'simplecov-lcov', '< 0.8.0'
end

# Cucumber above 4.x the `cucumber-gherkin` gem, which is incompatible
# with the `gherkin` gem, which is what CukeModeler 1.x` depends on.
gem 'cucumber', '< 4.0.0'

# The version of CukeModeler being tested
gem 'cuke_modeler', '~> 2.0'