[DRE-commits] [cucumber] 01/11: fix paths in cucumber/platform.rb. Thanks Kevin Locke (Closes: #681844)
Cédric Boutillier
boutil at alioth.debian.org
Thu Aug 15 16:41:11 UTC 2013
This is an automated email from the git hooks/post-receive script.
boutil pushed a commit to branch master
in repository cucumber.
commit 74374fd8abf1b41c54037d9257082f30197db200
Author: Cédric Boutillier <boutil at debian.org>
Date: Tue Aug 13 15:28:29 2013 +0200
fix paths in cucumber/platform.rb. Thanks Kevin Locke (Closes: #681844)
---
debian/changelog | 7 +++++++
debian/patches/0004-Update_default_binary_path.patch | 18 ++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 26 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f5f73c6..87ca016 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+cucumber (1.2.1-3) UNRELEASED; urgency=low
+
+ * add 0004-Update_default_binary_path.patch:
+ fix paths in cucumber/platform.rb. Thanks Kevin Locke (Closes: #681844)
+
+ -- Cédric Boutillier <boutil at debian.org> Sat, 10 Aug 2013 23:37:41 +0200
+
cucumber (1.2.1-2) unstable; urgency=low
* Explicitly depend on ruby-gherkin >= 2.11.0~
diff --git a/debian/patches/0004-Update_default_binary_path.patch b/debian/patches/0004-Update_default_binary_path.patch
new file mode 100644
index 0000000..971ebcd
--- /dev/null
+++ b/debian/patches/0004-Update_default_binary_path.patch
@@ -0,0 +1,18 @@
+Description: fix paths in cucumber/platform.rb
+Author: Kevin Locke <kevin at kevinlocke.name>
+Reviewed-by: Cédric Boutillier <boutil at debian.org>
+Last-Update: 2013-08-13
+
+--- a/lib/cucumber/platform.rb
++++ b/lib/cucumber/platform.rb
+@@ -5,8 +5,8 @@
+ module Cucumber
+ unless defined?(Cucumber::VERSION)
+ VERSION = '1.2.1'
+- BINARY = File.expand_path(File.dirname(__FILE__) + '/../../bin/cucumber')
+- LIBDIR = File.expand_path(File.dirname(__FILE__) + '/../../lib')
++ BINARY = '/usr/bin/cucumber'
++ LIBDIR = File.expand_path(File.dirname(__FILE__) + '/..')
+ JRUBY = defined?(JRUBY_VERSION)
+ IRONRUBY = defined?(RUBY_ENGINE) && RUBY_ENGINE == "ironruby"
+ WINDOWS = RbConfig::CONFIG['host_os'] =~ /mswin|mingw/
diff --git a/debian/patches/series b/debian/patches/series
index 0206473..1be4eda 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-Remove-rubygems-bundler-stuff-from-spec_helper.patch
0002-Remove-require-rubygems-statements.patch
0003-Disable-tests-assuming-ordered-hashes.patch
+0004-Update_default_binary_path.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/cucumber.git
More information about the Pkg-ruby-extras-commits
mailing list