os 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/spec/spec.os.rb +7 -0
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
data/spec/spec.os.rb
CHANGED
@@ -23,7 +23,14 @@ describe "OS" do
|
|
23
23
|
assert OS.bits == 32
|
24
24
|
elsif RUBY_PLATFORM =~ /64/ # linux...
|
25
25
|
assert OS.bits == 64
|
26
|
+
elsif RUBY_PLATFORM =~ /i686/
|
27
|
+
assert OS.bits == 32
|
28
|
+
elsif RUBY_PLATFORM =~ /java/ && RbConfig::CONFIG['host_os'] =~ /32$/
|
29
|
+
assert OS.bits == 32
|
30
|
+
else
|
31
|
+
pending "os bits not tested!" + RUBY_PLATFORM + ' ' + RbConfig::CONFIG['host_os']
|
26
32
|
end
|
33
|
+
|
27
34
|
end
|
28
35
|
|
29
36
|
it "should know if you're on java" do
|