[DRE-commits] [SCM] ruby-dataobjects.git branch, master, updated. upstream/0.10.6-17-g99bad42

Cédric Boutillier cedric.boutillier at gmail.com
Mon Oct 24 21:58:41 UTC 2011


The following commit has been merged in the master branch:
commit 99bad42a8fdadde7c1481fd7480624f32fe4a3c8
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Mon Oct 24 23:57:19 2011 +0200

    hardcode WINDOWS value to false to avoid unnecessary dependency on rubygems

diff --git a/debian/patches/0020_set_WINDOWS_to_false_in_shared_spec.patch b/debian/patches/0020_set_WINDOWS_to_false_in_shared_spec.patch
new file mode 100644
index 0000000..e10c3ad
--- /dev/null
+++ b/debian/patches/0020_set_WINDOWS_to_false_in_shared_spec.patch
@@ -0,0 +1,14 @@
+Description: set WINDOWS to false
+ The upstream formulation relies on the Gem class. The result will always be
+ false on Debian. Hardcoding the value to avoid unnecessary dependency on rubygems.
+Author: Cédric Boutillier <cedric.boutillier at gmail.com>
+Last-Update: 2011-10-23
+
+--- a/lib/data_objects/spec/shared/command_spec.rb
++++ b/lib/data_objects/spec/shared/command_spec.rb
+@@ -1,4 +1,4 @@
+-WINDOWS = Gem.win_platform? || (JRUBY && ENV_JAVA['os.name'] =~ /windows/i)
++WINDOWS = false
+ 
+ shared_examples_for 'a Command' do
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 5cacb40..91115c6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0010_remove_rubygems_from_specs.patch
+0020_set_WINDOWS_to_false_in_shared_spec.patch

-- 
ruby-dataobjects.git



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