[DRE-commits] [ruby-aruba] 50/74: Make hash syntax compatible with old ruby
Hideki Yamane
henrich at moszumanska.debian.org
Sat Nov 28 01:16:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository ruby-aruba.
commit 026d1ee84d6f96afe039ec51aef76f8c156d0134
Author: Dennis Günnewig <dg1 at ratiodata.de>
Date: Fri Nov 27 07:17:50 2015 +0100
Make hash syntax compatible with old ruby
---
lib/aruba/cucumber/command.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/aruba/cucumber/command.rb b/lib/aruba/cucumber/command.rb
index 1ce7298..a31e18c 100644
--- a/lib/aruba/cucumber/command.rb
+++ b/lib/aruba/cucumber/command.rb
@@ -11,7 +11,7 @@ end
When(/^I run `([^`]*)`$/)do |cmd|
cmd = sanitize_text(cmd)
- run_simple(cmd, fail_on_error: false)
+ run_simple(cmd, :fail_on_error => false)
end
When(/^I successfully run "(.*)"$/)do |cmd|
@@ -25,7 +25,7 @@ end
## I successfully run `sleep 29` for up to 30 seconds
When(/^I successfully run `(.*?)`(?: for up to (\d+) seconds)?$/)do |cmd, secs|
cmd = sanitize_text(cmd)
- run_simple(cmd, fail_on_error: true, exit_timeout: secs && secs.to_i)
+ run_simple(cmd, :fail_on_error => true, :exit_timeout => secs && secs.to_i)
end
When(/^I run "([^"]*)" interactively$/) do |cmd|
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-aruba.git
More information about the Pkg-ruby-extras-commits
mailing list