[DRE-commits] [pry] 04/07: Refresh patch
Daisuke Higuchi
dai at moszumanska.debian.org
Sat Oct 21 13:13:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
dai pushed a commit to branch master
in repository pry.
commit 697b156a1fa29a46f4a56b80bebd04b1896ddc56
Author: HIGUCHI Daisuke (VDR dai) <dai at debian.org>
Date: Sat Oct 21 22:01:20 2017 +0900
Refresh patch
---
debian/patches/dont-try-to-write-outside-build-dir | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/debian/patches/dont-try-to-write-outside-build-dir b/debian/patches/dont-try-to-write-outside-build-dir
index bdb36c6..8cd16bb 100644
--- a/debian/patches/dont-try-to-write-outside-build-dir
+++ b/debian/patches/dont-try-to-write-outside-build-dir
@@ -14,10 +14,10 @@ Last-Update: 2014-09-24
spec/regression/readline_spec.rb | 4 ++++
1 file changed, 4 insertions(+)
-diff --git a/spec/regression/readline_spec.rb b/spec/regression/readline_spec.rb
-index 65427db..8298f32 100644
---- a/spec/regression/readline_spec.rb
-+++ b/spec/regression/readline_spec.rb
+Index: pry/spec/regression/readline_spec.rb
+===================================================================
+--- pry.orig/spec/regression/readline_spec.rb
++++ pry/spec/regression/readline_spec.rb
@@ -21,19 +21,23 @@ describe "Readline" do
it "is loaded on invoking 'pry'" do
code = <<-RUBY
@@ -26,7 +26,7 @@ index 65427db..8298f32 100644
Pry.start self, input: StringIO.new("exit-all"), output: StringIO.new
puts defined?(Readline)
RUBY
- `#@ruby -I #@pry_dir -e '#{code}'`.end_with?("constant\n").should == true
+ expect(`#@ruby -I #@pry_dir -e '#{code}'`.end_with?("constant\n")).to eq(true)
+ File.delete "pry_history"
end
@@ -38,7 +38,7 @@ index 65427db..8298f32 100644
Pry.start self, output: StringIO.new
p defined?(Readline)
RUBY
- `#@ruby -I #@pry_dir -e '#{code}'`.end_with?("nil\n").should == true
+ expect(`#@ruby -I #@pry_dir -e '#{code}'`.end_with?("nil\n")).to eq(true)
+ File.delete "pry_history"
end
end
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/pry.git
More information about the Pkg-ruby-extras-commits
mailing list