1 2 3 4 5 6 7 8 9 10 11 12 13 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@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
|