ohai 0.5.6 → 0.5.8.rc.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'date'
5
5
  require 'spec/rake/spectask'
6
6
 
7
7
  GEM = "ohai"
8
- GEM_VERSION = "0.5.6"
8
+ GEM_VERSION = "0.5.8.rc.0"
9
9
  AUTHOR = "Adam Jacob"
10
10
  EMAIL = "adam@opscode.com"
11
11
  HOMEPAGE = "http://wiki.opscode.com/display/ohai"
@@ -22,7 +22,7 @@ spec = Gem::Specification.new do |s|
22
22
  s.email = EMAIL
23
23
  s.homepage = HOMEPAGE
24
24
 
25
- s.add_dependency "json", "<= 1.4.2"
25
+ s.add_dependency "json", ">= 1.4.4", "<= 1.4.6"
26
26
  s.add_dependency "extlib"
27
27
  s.add_dependency "systemu"
28
28
  s.add_dependency "mixlib-cli"
@@ -20,5 +20,5 @@ require 'ohai/config'
20
20
  require 'ohai/system'
21
21
 
22
22
  module Ohai
23
- VERSION = '0.5.6'
23
+ VERSION = '0.5.8.rc.0'
24
24
  end
@@ -37,6 +37,10 @@ elsif File.exists?("/etc/redhat-release")
37
37
  contents = File.read("/etc/redhat-release").chomp
38
38
  platform get_redhatish_platform(contents)
39
39
  platform_version get_redhatish_version(contents)
40
+ elsif File.exists?("/etc/system-release")
41
+ contents = File.read("/etc/system-release").chomp
42
+ platform get_redhatish_platform(contents)
43
+ platform_version get_redhatish_version(contents)
40
44
  elsif File.exists?('/etc/gentoo-release')
41
45
  platform "gentoo"
42
46
  platform_version IO.read('/etc/gentoo-release').scan(/(\d+|\.+)/).join
metadata CHANGED
@@ -1,12 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ohai
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ prerelease: true
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 6
9
- version: 0.5.6
8
+ - 8
9
+ - rc
10
+ - 0
11
+ version: 0.5.8.rc.0
10
12
  platform: ruby
11
13
  authors:
12
14
  - Adam Jacob
@@ -14,7 +16,7 @@ autorequire: ohai
14
16
  bindir: bin
15
17
  cert_chain: []
16
18
 
17
- date: 2010-06-20 00:00:00 -07:00
19
+ date: 2010-10-07 00:00:00 -07:00
18
20
  default_executable:
19
21
  dependencies:
20
22
  - !ruby/object:Gem::Dependency
@@ -23,13 +25,20 @@ dependencies:
23
25
  requirement: &id001 !ruby/object:Gem::Requirement
24
26
  none: false
25
27
  requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ segments:
31
+ - 1
32
+ - 4
33
+ - 4
34
+ version: 1.4.4
26
35
  - - <=
27
36
  - !ruby/object:Gem::Version
28
37
  segments:
29
38
  - 1
30
39
  - 4
31
- - 2
32
- version: 1.4.2
40
+ - 6
41
+ version: 1.4.6
33
42
  type: :runtime
34
43
  version_requirements: *id001
35
44
  - !ruby/object:Gem::Dependency
@@ -313,11 +322,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
313
322
  required_rubygems_version: !ruby/object:Gem::Requirement
314
323
  none: false
315
324
  requirements:
316
- - - ">="
325
+ - - ">"
317
326
  - !ruby/object:Gem::Version
318
327
  segments:
319
- - 0
320
- version: "0"
328
+ - 1
329
+ - 3
330
+ - 1
331
+ version: 1.3.1
321
332
  requirements: []
322
333
 
323
334
  rubyforge_project: