[DRE-commits] [ruby-launchy] 01/01: Patch to make test search also for xdf-open

Gioele Barabucci gioele-guest at alioth.debian.org
Sat Oct 5 16:19:45 UTC 2013


This is an automated email from the git hooks/post-receive script.

gioele-guest pushed a commit to branch master
in repository ruby-launchy.

commit 9f266a92441d933e7ba3710a2d7a42c55f525e49
Author: Gioele Barabucci <gioele at svario.it>
Date:   Sat Oct 5 16:16:43 2013 +0000

    Patch to make test search also for xdf-open
---
 .../0007-Make-test-search-also-for-xdg-open.patch  |   21 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0007-Make-test-search-also-for-xdg-open.patch b/debian/patches/0007-Make-test-search-also-for-xdg-open.patch
new file mode 100644
index 0000000..b31197e
--- /dev/null
+++ b/debian/patches/0007-Make-test-search-also-for-xdg-open.patch
@@ -0,0 +1,21 @@
+From: Gioele Barabucci <gioele at svario.it>
+Date: Sat, 5 Oct 2013 16:15:29 +0000
+Subject: Make test search also for xdg-open
+
+---
+ spec/application_spec.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/spec/application_spec.rb b/spec/application_spec.rb
+index 56625a6..67efe6a 100644
+--- a/spec/application_spec.rb
++++ b/spec/application_spec.rb
+@@ -31,7 +31,7 @@ describe Launchy::Application do
+   end
+ 
+   it "can find open or curl" do
+-    found = %w[ open curl ].any? do |app|
++    found = %w[ open curl xdg-open ].any? do |app|
+       Launchy::Application.find_executable( app )
+     end
+     found.must_equal true
diff --git a/debian/patches/series b/debian/patches/series
index 5c6d0fc..fce475a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 0004-Fix-test-for-Darwin-OS.patch
 0005-Remove-call-to-gem.patch
 0006-Remove-test-know-to-be-broken-on-Linux.patch
+0007-Make-test-search-also-for-xdg-open.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-launchy.git



More information about the Pkg-ruby-extras-commits mailing list