[DRE-commits] [ruby-buff-ruby-engine] 02/04: Patch 0001-Update-to-RSpec3-syntax.patch

Hleb Valoshka tsfgnu-guest at moszumanska.debian.org
Wed Jul 29 09:28:06 UTC 2015


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

tsfgnu-guest pushed a commit to branch master
in repository ruby-buff-ruby-engine.

commit 86a648a2bd0c41a8590b1a90df2099467b8a4b14
Author: Hleb Valoshka <375gnu at gmail.com>
Date:   Wed Jul 29 12:00:32 2015 +0300

    Patch 0001-Update-to-RSpec3-syntax.patch
---
 debian/patches/0001-Update-to-RSpec3-syntax.patch | 60 +++++++++++++++++++++++
 debian/patches/series                             |  1 +
 2 files changed, 61 insertions(+)

diff --git a/debian/patches/0001-Update-to-RSpec3-syntax.patch b/debian/patches/0001-Update-to-RSpec3-syntax.patch
new file mode 100644
index 0000000..08c5f3a
--- /dev/null
+++ b/debian/patches/0001-Update-to-RSpec3-syntax.patch
@@ -0,0 +1,60 @@
+From: Hleb Valoshka <375gnu at gmail.com>
+Date: Wed, 29 Jul 2015 12:00:16 +0300
+Subject: Update to RSpec3 syntax
+
+---
+ spec/buff/ruby_engine_spec.rb | 12 ++++++------
+ 1 file changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/spec/buff/ruby_engine_spec.rb b/spec/buff/ruby_engine_spec.rb
+index 1eba640..01f710a 100644
+--- a/spec/buff/ruby_engine_spec.rb
++++ b/spec/buff/ruby_engine_spec.rb
+@@ -7,13 +7,13 @@ describe Buff::RubyEngine do
+     context "when the ruby engine is jruby" do
+       before { stub_const("RUBY_ENGINE", "jruby") }
+ 
+-      it { expect(subject).to be_true }
++      it { expect(subject).to be_truthy }
+     end
+ 
+     context "when the ruby engine is not jruby" do
+       before { stub_const("RUBY_ENGINE", "ruby") }
+ 
+-      it { expect(subject).to be_false }
++      it { expect(subject).to be_falsey }
+     end
+   end
+ 
+@@ -23,13 +23,13 @@ describe Buff::RubyEngine do
+     context "when the ruby engine is mri" do
+       before { stub_const("RUBY_ENGINE", "ruby") }
+ 
+-      it { expect(subject).to be_true }
++      it { expect(subject).to be_truthy }
+     end
+ 
+     context "when the ruby engine is not mri" do
+       before { stub_const("RUBY_ENGINE", "jruby") }
+ 
+-      it { expect(subject).to be_false }
++      it { expect(subject).to be_falsey }
+     end
+   end
+ 
+@@ -39,13 +39,13 @@ describe Buff::RubyEngine do
+     context "when the ruby engine is rubinius" do
+       before { stub_const("RUBY_ENGINE", "rbx") }
+ 
+-      it { expect(subject).to be_true }
++      it { expect(subject).to be_truthy }
+     end
+ 
+     context "when the ruby engine is not rubinius" do
+       before { stub_const("RUBY_ENGINE", "mri") }
+ 
+-      it { expect(subject).to be_false }
++      it { expect(subject).to be_falsey }
+     end
+   end
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..68a705e
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Update-to-RSpec3-syntax.patch

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



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