diff --git a/cucumber.gemspec b/cucumber.gemspec index 2aea04caa0..32e6e68ebb 100644 --- a/cucumber.gemspec +++ b/cucumber.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |s| s.add_dependency 'builder', '>= 2.1.2' s.add_dependency 'diff-lcs', '>= 1.1.3' - s.add_dependency 'gherkin', '~> 2.12.1' + s.add_dependency 'gherkin', '~> 2.12' s.add_dependency 'multi_json', '>= 1.7.5', '< 2.0' s.add_dependency 'multi_test', '>= 0.0.2' diff --git a/lib/cucumber/step_match.rb b/lib/cucumber/step_match.rb index 94377bed3a..c4637548d2 100644 --- a/lib/cucumber/step_match.rb +++ b/lib/cucumber/step_match.rb @@ -90,7 +90,7 @@ def initialize(step, name) @name = name end - def format_args(format) + def format_args(*args) @name end