[DRE-commits] [SCM] ruby-rspec-expectations.git branch, master, updated. upstream/2.5.0-11-gd3fb90e

Cédric Boutillier cedric.boutillier at gmail.com
Mon Feb 13 21:17:59 UTC 2012


The following commit has been merged in the master branch:
commit a9f06446c7b159fd723c7c5c796b10af93749ca9
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Mon Feb 13 09:17:23 2012 +0100

    add deactivate_random_order_from_spec_helper.patch

diff --git a/debian/changelog b/debian/changelog
index 3653d5e..c234ae4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,9 @@ ruby-rspec-expectations (2.8.0-1) unstable; urgency=low
   * New upstream version
   * Add myself to Uploaders:
   * Update license name, copyright holders, DEP-5 format in copyright file
+  * add deactivate_random_order_from_spec_helper.patch
+    - deactivate temporarily the order option in spec_helper.rb, to run the
+      specs with older ruby-spec-core.
 
  -- Cédric Boutillier <cedric.boutillier at gmail.com>  Mon, 13 Feb 2012 09:03:15 +0100
 
diff --git a/debian/patches/deactivate_random_order_from_spec_helper.patch b/debian/patches/deactivate_random_order_from_spec_helper.patch
new file mode 100644
index 0000000..86b634a
--- /dev/null
+++ b/debian/patches/deactivate_random_order_from_spec_helper.patch
@@ -0,0 +1,17 @@
+Description: Deactivate random order for specs in spec_helper.rb
+ The order functionality is not available in ruby-rspec-core 2.5, which will be
+ the one available to build ruby-rspec-expectations. The possibility to run the
+ specs in a random order has thus to be temporarily deactivated.
+Author: Cédric Boutillier <cedric.boutillier at gmail.com>
+Forwarded: not-needed
+Last-Update: 2012-02-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/spec_helper.rb
++++ b/spec/spec_helper.rb
+@@ -23,5 +23,4 @@
+   config.color_enabled = true
+   config.filter_run :focused => true
+   config.run_all_when_everything_filtered = true
+-  config.order = :random
+ end
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..282f36b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+deactivate_random_order_from_spec_helper.patch
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches

-- 
ruby-rspec-expectations.git



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