[DRE-commits] [test-kitchen] 16/39: Patch for pry installation warning

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Fri Aug 5 12:46:50 UTC 2016


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

tsfgnu-guest pushed a commit to branch master
in repository test-kitchen.

commit 570095e13d957ab2ce813d7d8019f50fd36bd940
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Wed Jul 8 12:02:54 2015 +0300

    Patch for pry installation warning
---
 debian/patches/0009-Use-apt-to-install-pry.patch | 21 +++++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0009-Use-apt-to-install-pry.patch b/debian/patches/0009-Use-apt-to-install-pry.patch
new file mode 100644
index 0000000..bf7fc1a
--- /dev/null
+++ b/debian/patches/0009-Use-apt-to-install-pry.patch
@@ -0,0 +1,21 @@
+From: Hleb Valoshka <375gnu at gmail.com>
+Date: Wed, 8 Jul 2015 12:01:52 +0300
+Subject: Use apt to install pry
+
+---
+ lib/kitchen/command/console.rb | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/kitchen/command/console.rb b/lib/kitchen/command/console.rb
+index 328aee8..0d9a244 100644
+--- a/lib/kitchen/command/console.rb
++++ b/lib/kitchen/command/console.rb
+@@ -33,7 +33,7 @@ module Kitchen
+         Pry.start(@config, :prompt => [prompt(">"), prompt("*")])
+       rescue LoadError
+         warn %{Make sure you have the pry gem installed. You can install it with:}
+-        warn %{`gem install pry` or including 'gem "pry"' in your Gemfile.}
++        warn %{`apt install pry`.}
+         exit 1
+       end
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 8cf1392..9eca0d5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 0006-Search-for-support-in-usr-share-test-kitchen.patch
 0007-Disable-test-failing-under-Gem2Deb-Rake-TestTask.patch
 0008-Look-for-templates-in-usr-share-test-kitchen-templat.patch
+0009-Use-apt-to-install-pry.patch

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



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