[DRE-commits] [ruby-fssm] 01/05: Fix monitor_spec.rb for newer rspec version.
Lucas Moura
lucasmoura-guest at moszumanska.debian.org
Mon Feb 29 16:36:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
lucasmoura-guest pushed a commit to branch master
in repository ruby-fssm.
commit 7ceb201151ec481273f25cb48ba68ae17de74ff3
Author: Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com>
Date: Mon Feb 29 10:39:04 2016 -0300
Fix monitor_spec.rb for newer rspec version.
---
debian/changelog | 7 +++++++
debian/patches/fix_rspec_to_be_false_method | 13 +++++++++++++
debian/patches/series | 1 +
3 files changed, 21 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 96aac0f..bc43395 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+ruby-fssm (0.2.10-2.1) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Fix monitor_spec.rb be_false method for newer rspec version.
+
+ -- Lucas Albuquerque Medeiros de Moura <lucas.moura128 at gmail.com> Mon, 29 Feb 2016 10:37:33 -0300
+
ruby-fssm (0.2.10-2) unstable; urgency=low
* Team upload
diff --git a/debian/patches/fix_rspec_to_be_false_method b/debian/patches/fix_rspec_to_be_false_method
new file mode 100644
index 0000000..d438ca1
--- /dev/null
+++ b/debian/patches/fix_rspec_to_be_false_method
@@ -0,0 +1,13 @@
+Index: ruby-fssm/spec/monitor_spec.rb
+===================================================================
+--- ruby-fssm.orig/spec/monitor_spec.rb 2016-02-29 10:34:17.504421228 -0300
++++ ruby-fssm/spec/monitor_spec.rb 2016-02-29 10:35:41.176179147 -0300
+@@ -59,7 +59,7 @@
+ it "should call create callback upon file creation" do
+ run_monitor(1) do
+ file = @tmp_dir + "/newfile.rb"
+- File.exists?(file).should be_false
++ File.exists?(file).should be_falsey
+ FileUtils.touch file
+ end
+ @handler_results[:create].should == [[@tmp_dir, 'newfile.rb']]
diff --git a/debian/patches/series b/debian/patches/series
index e024058..25baceb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
remove_rubygems_bundler_stuff_from_spec.patch
remove_load_path_manipulations.patch
modify_example_rb.patch
+fix_rspec_to_be_false_method
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-fssm.git
More information about the Pkg-ruby-extras-commits
mailing list