From f1ecd92398e7d0a3cb61e453ae349869440c440b Mon Sep 17 00:00:00 2001 From: Joseph Shraibman Date: Mon, 4 Nov 2013 18:51:44 -0500 Subject: [PATCH 1/2] Fix gherkin dependency --- cucumber.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cucumber.gemspec b/cucumber.gemspec index 44a900198e..3a35e517c6 100644 --- a/cucumber.gemspec +++ b/cucumber.gemspec @@ -16,7 +16,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' From 65d87624bfa461b4c1d92355b26685d81f7c7199 Mon Sep 17 00:00:00 2001 From: Joseph Shraibman Date: Mon, 4 Nov 2013 18:53:33 -0500 Subject: [PATCH 2/2] Splat arguments to format_args to avoid "wrong number of arguments (0 for 1) (ArgumentError)". The one argument was not being used anyway. --- lib/cucumber/step_match.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cucumber/step_match.rb b/lib/cucumber/step_match.rb index 69b618f1e9..d6946757fd 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