os 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/spec/spec.os.rb +7 -0
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.6.1
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: os
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - rdp