sysinfo 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +4 -0
- data/lib/sysinfo.rb +2 -2
- data/sysinfo.gemspec +1 -1
- metadata +2 -2
data/CHANGES.txt
CHANGED
data/lib/sysinfo.rb
CHANGED
@@ -9,7 +9,7 @@ require 'time'
|
|
9
9
|
# specifically lib/platform.rb.
|
10
10
|
class SysInfo < Storable
|
11
11
|
unless defined?(IMPLEMENTATIONS)
|
12
|
-
VERSION = "0.6.
|
12
|
+
VERSION = "0.6.3".freeze
|
13
13
|
IMPLEMENTATIONS = [
|
14
14
|
|
15
15
|
# These are for JRuby, System.getproperty('os.name').
|
@@ -238,7 +238,7 @@ class SysInfo < Storable
|
|
238
238
|
def guess_java
|
239
239
|
vm, os, impl, arch = :java, :unknown, :unknown, :unknown
|
240
240
|
require 'java'
|
241
|
-
include_class java.lang.System
|
241
|
+
include_class java.lang.System unless defined?(System)
|
242
242
|
|
243
243
|
osname = System.getProperty("os.name")
|
244
244
|
IMPLEMENTATIONS.each do |r, o, i|
|
data/sysinfo.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
@spec = Gem::Specification.new do |s|
|
2
2
|
s.name = "sysinfo"
|
3
3
|
s.rubyforge_project = "sysinfo"
|
4
|
-
s.version = "0.6.
|
4
|
+
s.version = "0.6.3"
|
5
5
|
s.summary = "SysInfo: All your system-independent infoz in one handy class. "
|
6
6
|
s.description = s.summary
|
7
7
|
s.author = "Delano Mandelbaum"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sysinfo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Delano Mandelbaum
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-08-03 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|