ohai 6.14.0 → 6.16.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. data/lib/ohai/mixin/ec2_metadata.rb +61 -6
  2. data/lib/ohai/plugins/cloud.rb +69 -5
  3. data/lib/ohai/plugins/darwin/system_profiler.rb +44 -7
  4. data/lib/ohai/plugins/freebsd/virtualization.rb +16 -0
  5. data/lib/ohai/plugins/java.rb +1 -1
  6. data/lib/ohai/plugins/kernel.rb +1 -0
  7. data/lib/ohai/plugins/linode.rb +53 -0
  8. data/lib/ohai/plugins/linux/platform.rb +6 -2
  9. data/lib/ohai/plugins/network.rb +130 -44
  10. data/lib/ohai/plugins/{aix/ssh_host_key.rb → nodejs.rb} +15 -7
  11. data/lib/ohai/plugins/openstack.rb +46 -0
  12. data/lib/ohai/plugins/rackspace.rb +35 -1
  13. data/lib/ohai/plugins/solaris2/filesystem.rb +1 -1
  14. data/lib/ohai/plugins/solaris2/network.rb +2 -1
  15. data/lib/ohai/plugins/solaris2/platform.rb +2 -2
  16. data/lib/ohai/plugins/ssh_host_key.rb +63 -0
  17. data/lib/ohai/plugins/virtualization.rb +1 -1
  18. data/lib/ohai/plugins/windows/cpu.rb +20 -3
  19. data/lib/ohai/plugins/windows/kernel.rb +0 -19
  20. data/lib/ohai/plugins/windows/kernel_devices.rb +39 -0
  21. data/lib/ohai/system.rb +3 -2
  22. data/lib/ohai/version.rb +1 -1
  23. data/spec/spec_helper.rb +14 -1
  24. data/spec/support/platform_helpers.rb +31 -0
  25. data/spec/{ohai → unit}/mixin/command_spec.rb +0 -0
  26. data/spec/{ohai → unit}/mixin/from_file_spec.rb +0 -0
  27. data/spec/{ohai → unit}/plugins/c_spec.rb +0 -0
  28. data/spec/{ohai → unit}/plugins/chef_spec.rb +20 -12
  29. data/spec/unit/plugins/cloud_spec.rb +159 -0
  30. data/spec/{ohai → unit}/plugins/darwin/hostname_spec.rb +0 -0
  31. data/spec/{ohai → unit}/plugins/darwin/kernel_spec.rb +0 -0
  32. data/spec/{ohai → unit}/plugins/darwin/network_spec.rb +4 -2
  33. data/spec/{ohai → unit}/plugins/darwin/platform_spec.rb +0 -0
  34. data/spec/unit/plugins/darwin/system_profiler_output.rb +79525 -0
  35. data/spec/unit/plugins/darwin/system_profiler_spec.rb +48 -0
  36. data/spec/{ohai → unit}/plugins/dmi_spec.rb +0 -0
  37. data/spec/unit/plugins/ec2_spec.rb +199 -0
  38. data/spec/{ohai → unit}/plugins/erlang_spec.rb +0 -0
  39. data/spec/{ohai → unit}/plugins/eucalyptus_spec.rb +5 -5
  40. data/spec/{ohai → unit}/plugins/fail_spec.rb +0 -0
  41. data/spec/{ohai → unit}/plugins/freebsd/hostname_spec.rb +0 -0
  42. data/spec/{ohai → unit}/plugins/freebsd/kernel_spec.rb +0 -0
  43. data/spec/{ohai → unit}/plugins/freebsd/platform_spec.rb +0 -0
  44. data/spec/unit/plugins/freebsd/virtualization_spec.rb +99 -0
  45. data/spec/{ohai → unit}/plugins/groovy_spec.rb +0 -0
  46. data/spec/{ohai → unit}/plugins/hostname_spec.rb +0 -0
  47. data/spec/{ohai → unit}/plugins/java_spec.rb +0 -0
  48. data/spec/{ohai → unit}/plugins/kernel_spec.rb +0 -0
  49. data/spec/unit/plugins/linode_spec.rb +156 -0
  50. data/spec/{ohai → unit}/plugins/linux/cpu_spec.rb +0 -0
  51. data/spec/{ohai → unit}/plugins/linux/filesystem_spec.rb +0 -0
  52. data/spec/{ohai → unit}/plugins/linux/hostname_spec.rb +0 -0
  53. data/spec/{ohai → unit}/plugins/linux/kernel_spec.rb +0 -0
  54. data/spec/{ohai → unit}/plugins/linux/lsb_spec.rb +0 -0
  55. data/spec/{ohai → unit}/plugins/linux/network_spec.rb +3 -60
  56. data/spec/{ohai → unit}/plugins/linux/platform_spec.rb +10 -0
  57. data/spec/{ohai → unit}/plugins/linux/uptime_spec.rb +0 -0
  58. data/spec/{ohai → unit}/plugins/linux/virtualization_spec.rb +0 -0
  59. data/spec/{ohai → unit}/plugins/lua_spec.rb +0 -0
  60. data/spec/{ohai → unit}/plugins/mono_spec.rb +0 -0
  61. data/spec/{ohai → unit}/plugins/netbsd/hostname_spec.rb +0 -0
  62. data/spec/{ohai → unit}/plugins/netbsd/kernel_spec.rb +0 -0
  63. data/spec/{ohai → unit}/plugins/netbsd/platform_spec.rb +0 -0
  64. data/spec/unit/plugins/network_spec.rb +829 -0
  65. data/spec/unit/plugins/nodejs_spec.rb +51 -0
  66. data/spec/{ohai → unit}/plugins/ohai_spec.rb +0 -0
  67. data/spec/{ohai → unit}/plugins/ohai_time_spec.rb +0 -0
  68. data/spec/{ohai → unit}/plugins/openbsd/hostname_spec.rb +0 -0
  69. data/spec/{ohai → unit}/plugins/openbsd/kernel_spec.rb +0 -0
  70. data/spec/{ohai → unit}/plugins/openbsd/platform_spec.rb +0 -0
  71. data/spec/{ohai → unit}/plugins/os_spec.rb +0 -0
  72. data/spec/{ohai → unit}/plugins/passwd_spec.rb +0 -0
  73. data/spec/{ohai → unit}/plugins/perl_spec.rb +0 -0
  74. data/spec/{ohai → unit}/plugins/php_spec.rb +0 -0
  75. data/spec/{ohai → unit}/plugins/platform_spec.rb +0 -0
  76. data/spec/{ohai → unit}/plugins/python_spec.rb +0 -0
  77. data/spec/{ohai → unit}/plugins/rackspace_spec.rb +26 -0
  78. data/spec/{ohai → unit}/plugins/ruby_spec.rb +0 -0
  79. data/spec/{ohai → unit}/plugins/sigar/network_route_spec.rb +1 -0
  80. data/spec/{ohai → unit}/plugins/solaris2/hostname_spec.rb +0 -0
  81. data/spec/{ohai → unit}/plugins/solaris2/kernel_spec.rb +0 -0
  82. data/spec/{ohai → unit}/plugins/solaris2/network_spec.rb +8 -1
  83. data/spec/{ohai → unit}/plugins/solaris2/platform_spec.rb +0 -0
  84. data/spec/{ohai → unit}/plugins/solaris2/virtualization_spec.rb +0 -0
  85. data/spec/unit/plugins/ssh_host_keys_spec.rb +77 -0
  86. data/spec/{ohai → unit}/system_spec.rb +0 -0
  87. metadata +221 -184
  88. data/lib/ohai/plugins/darwin/ssh_host_key.rb +0 -25
  89. data/lib/ohai/plugins/freebsd/ssh_host_key.rb +0 -26
  90. data/lib/ohai/plugins/hpux/ssh_host_key.rb +0 -26
  91. data/lib/ohai/plugins/linux/ssh_host_key.rb +0 -26
  92. data/lib/ohai/plugins/netbsd/ssh_host_key.rb +0 -26
  93. data/lib/ohai/plugins/openbsd/ssh_host_key.rb +0 -26
  94. data/lib/ohai/plugins/solaris2/ssh_host_key.rb +0 -26
  95. data/spec/ohai/plugins/cloud_spec.rb +0 -113
  96. data/spec/ohai/plugins/ec2_spec.rb +0 -120
@@ -0,0 +1,51 @@
1
+ #
2
+ # Author:: Jacques Marneweck (<jacques@powertrip.co.za>)
3
+ # Copyright:: Copyright (c) Jacques Marneweck
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb'))
20
+
21
+ describe Ohai::System, "plugin nodejs" do
22
+
23
+ before(:each) do
24
+ @ohai = Ohai::System.new
25
+ @ohai[:languages] = Mash.new
26
+ @ohai.stub!(:require_plugin).and_return(true)
27
+ @status = 0
28
+ @stdout = "v0.8.11\n"
29
+ @stderr = ""
30
+ @ohai.stub!(:run_command).with({:no_status_check=>true, :command=>"node -v"}).and_return([@status, @stdout, @stderr])
31
+ end
32
+
33
+ it "should get the nodejs version from running node -v" do
34
+ @ohai.should_receive(:run_command).with({:no_status_check=>true, :command=>"node -v"}).and_return([0, "v0.8.11\n", ""])
35
+ @ohai._require_plugin("nodejs")
36
+ end
37
+
38
+ it "should set languages[:nodejs][:version]" do
39
+ @ohai._require_plugin("nodejs")
40
+ @ohai.languages[:nodejs][:version].should eql("0.8.11")
41
+ end
42
+
43
+ it "should not set the languages[:nodejs] tree up if node command fails" do
44
+ @status = 1
45
+ @stdout = "v0.8.11\n"
46
+ @stderr = ""
47
+ @ohai.stub!(:run_command).with({:no_status_check=>true, :command=>"node -v"}).and_return([@status, @stdout, @stderr])
48
+ @ohai._require_plugin("nodejs")
49
+ @ohai.languages.should_not have_key(:nodejs)
50
+ end
51
+ end
File without changes
File without changes
File without changes
File without changes
@@ -27,6 +27,11 @@ describe Ohai::System, "plugin rackspace" do
27
27
  "netmask"=> "255.255.255.0",
28
28
  "family"=> "inet"
29
29
  },
30
+ "2a00:1a48:7805:111:e875:efaf:ff08:75"=> {
31
+ "family"=> "inet6",
32
+ "prefixlen"=> "64",
33
+ "scope"=> "Global"
34
+ },
30
35
  "fe80::4240:95ff:fe47:6eed"=> {
31
36
  "scope"=> "Link",
32
37
  "prefixlen"=> "64",
@@ -74,14 +79,35 @@ describe Ohai::System, "plugin rackspace" do
74
79
  @ohai._require_plugin("rackspace")
75
80
  @ohai[:rackspace][:public_ip].should_not be_nil
76
81
  @ohai[:rackspace][:private_ip].should_not be_nil
82
+ @ohai[:rackspace][:public_ipv4].should_not be_nil
83
+ @ohai[:rackspace][:local_ipv4].should_not be_nil
84
+ @ohai[:rackspace][:public_ipv6].should_not be_nil
85
+ @ohai[:rackspace][:local_ipv6].should be_nil
77
86
  end
78
87
 
79
88
  it "should have correct values for all attributes" do
80
89
  @ohai._require_plugin("rackspace")
81
90
  @ohai[:rackspace][:public_ip].should == "1.2.3.4"
82
91
  @ohai[:rackspace][:private_ip].should == "5.6.7.8"
92
+ @ohai[:rackspace][:public_ipv4].should == "1.2.3.4"
93
+ @ohai[:rackspace][:local_ipv4].should == "5.6.7.8"
94
+ @ohai[:rackspace][:public_ipv6].should == "2a00:1a48:7805:111:e875:efaf:ff08:75"
83
95
  end
84
96
 
97
+ it "should capture region information" do
98
+ @stderr = StringIO.new
99
+ @stdout = <<-OUT
100
+ provider = "Rackspace"
101
+ service_type = "cloudServers"
102
+ server_id = "21301000"
103
+ created_at = "2012-12-06T22:08:16Z"
104
+ region = "dfw"
105
+ OUT
106
+ @status = 0
107
+ @ohai.stub(:run_command).with({:no_status_check=>true, :command=>"xenstore-ls vm-data/provider_data"}).and_return([ @status, @stdout, @stderr ])
108
+ @ohai._require_plugin("rackspace")
109
+ @ohai[:rackspace][:region].should == "dfw"
110
+ end
85
111
  end
86
112
 
87
113
  describe "with rackspace mac and hostname" do
File without changes
@@ -122,6 +122,7 @@ describe Ohai::System, "Sigar network route plugin" do
122
122
  Sigar.should_receive(:new).at_least(2).times.and_return(@sigar)
123
123
  @ohai.require_plugin("os")
124
124
  @ohai[:os]="sigar"
125
+ Ohai::Log.should_receive(:warn).with(/unable to detect ip6address/).once
125
126
  @ohai.require_plugin("network")
126
127
  @ohai.require_plugin("sigar::network_route")
127
128
  end
@@ -29,6 +29,9 @@ e1000g0:3: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 ind
29
29
  e1000g2:1: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 4
30
30
  inet 10.2.115.28 netmask ffffff80 broadcast 10.2.115.127
31
31
  inet6 2001:0db8:3c4d:55:a00:20ff:fe8e:f3ad/64
32
+ net0: flags=40201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS,L3PROTECT> mtu 1500 index 2
33
+ inet 37.153.96.148 netmask fffffe00 broadcast 37.153.97.255
34
+ ether 90:b8:d0:16:9b:97
32
35
  ip.tun0: flags=2200851<UP,POINTOPOINT,RUNNING,MULTICAST,NONUD,IPv6> mtu 1480 index 3
33
36
  inet tunnel src 109.146.85.57 tunnel dst 109.146.85.212
34
37
  tunnel security settings --> use 'ipsecconf -ln -i ip.tun1'
@@ -106,7 +109,7 @@ ROUTE_GET
106
109
  end
107
110
 
108
111
  it "detects the interfaces" do
109
- @ohai['network']['interfaces'].keys.sort.should == ["e1000g0:3", "e1000g2:1", "eri0", "ip.tun0", "ip.tun0:1", "lo0", "lo0:3", "qfe1"]
112
+ @ohai['network']['interfaces'].keys.sort.should == ["e1000g0:3", "e1000g2:1", "eri0", "ip.tun0", "ip.tun0:1", "lo0", "lo0:3", "net0", "qfe1"]
110
113
  end
111
114
 
112
115
  it "detects the ip addresses of the interfaces" do
@@ -116,6 +119,10 @@ ROUTE_GET
116
119
  it "detects the encapsulation type of the interfaces" do
117
120
  @ohai['network']['interfaces']['e1000g0:3']['encapsulation'].should == 'Ethernet'
118
121
  end
122
+
123
+ it "detects the L3PROTECT network flag" do
124
+ @ohai['network']['interfaces']['net0']['flags'].should include('L3PROTECT')
125
+ end
119
126
  end
120
127
 
121
128
  # TODO: specs for the arp -an stuff, check that it correctly adds the MAC addr to the right iface, etc.
@@ -0,0 +1,77 @@
1
+ #
2
+ # Author:: Bryan McLellan <btm@opscode.com>
3
+ # Copyright:: Copyright (c) 2012 Opscode, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb'))
20
+
21
+ describe Ohai::System, "ssh_host_key plugin" do
22
+
23
+ before(:each) do
24
+ @ohai = Ohai::System.new
25
+ @ohai[:keys] = Mash.new
26
+ @ohai.stub(:require_plugin).and_return(true)
27
+
28
+ # Avoid using the real from_file to load the plugin => less stubbing required
29
+ @ohai.extend(SimpleFromFile)
30
+
31
+ File.stub(:exists?).with("/etc/ssh/sshd_config").and_return(true)
32
+ sshd_config_file =<<EOS
33
+ # HostKeys for protocol version 2
34
+ HostKey /etc/ssh/ssh_host_rsa_key
35
+ HostKey /etc/ssh/ssh_host_dsa_key
36
+ EOS
37
+ File.stub(:open).with("/etc/ssh/sshd_config").and_yield(sshd_config_file)
38
+ File.stub(:exists?).and_return(true)
39
+ File.stub(:exists?).with("/etc/ssh/ssh_host_dsa_key.pub").and_return(true)
40
+ File.stub(:exists?).with("/etc/ssh/ssh_host_rsa_key.pub").and_return(true)
41
+
42
+ # Ensure we can still use IO.read
43
+ io_read = IO.method(:read)
44
+ IO.stub(:read) { |file| io_read.call(file) }
45
+
46
+ # Return fake public key files so we don't have to go digging for them in unit tests
47
+ @dsa_key = "ssh-dss AAAAB3NzaC1kc3MAAACBAMHlT02xN8kietxPfhcb98xHueTzKCOTz6dZlP/dmKILHrQOAExuSEeNiA2uvmhHNVQvs/cBsRiDxgSKux3ie2q8+MB6vHCiSpSkoPjrL75iT57YDilCB4/sytt6IJpj+H42wRDWTX0/QRybMHUvmnmEL0cwZXykSvrIum0BKB6hAAAAFQDsi6WUCClhtZIiTY9uh8eAre+SbQAAAIEAgNnuw0uEuqtcVif+AYd/bCZvL9FPqg7DrmTkamNEcVinhUGwsPGJTLJf+o5ens1X4RzQoi1R6Y6zCTL2FN/hZgINJNO0z9BN402wWrZmQd+Vb1U5DyDtveuvipqyQS+fm9neRwdLuv36Fc9f9nkZ7YHpkGPJp+yJpG4OoeREhwgAAACBAIf9kKLf2XiXnlByzlJ2Naa55d/hp2E059VKCRsBS++xFKYKvSqjnDQBFiMtAUhb8EdTyBGyalqOgqogDQVtwHfTZWZwqHAhry9aM06y92Eu/xSey4tWjKeknOsnRe640KC4zmKDBRTrjjkuAdrKPN9k3jl+OCc669JHlIfo6kqf oppa"
48
+ @rsa_key = "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAuhcVXV+nNapkyUC5p4TH1ymRxUjtMBKqYWmwyI29gVFnUNeHkKFHWon0KFeGJP2Rm8BfTiZa9ER9e8pRr4Nd+z1C1o0kVoxEEfB9tpSdTlpk1GG83D94l57fij8THRVIwuCEosViUlg1gDgC4SpxbqfdBkUN2qyf6JDOh7t2QpYh7berpDEWeBpb7BKdLEDT57uw7ijKzSNyaXqq8KkB9I+UFrRwpuos4W7ilX+PQ+mWLi2ZZJfTYZMxxVS+qJwiDtNxGCRwTOQZG03kI7eLBZG+igupr0uD4o6qeftPOr0kxgjoPU4nEKvYiGq8Rqd2vYrhiaJHLk9QB6xStQvS3Q== oppa"
49
+ IO.stub(:read).with("/etc/ssh/ssh_host_dsa_key.pub").and_return(@dsa_key)
50
+ IO.stub(:read).with("/etc/ssh/ssh_host_rsa_key.pub").and_return(@rsa_key)
51
+ end
52
+
53
+ shared_examples "loads keys" do
54
+ it "reads the key and sets the dsa attribute correctly" do
55
+ @ohai._require_plugin("ssh_host_key")
56
+ @ohai[:keys][:ssh][:host_dsa_public].should eql(@dsa_key.split[1])
57
+ end
58
+
59
+ it "reads the key and sets the rsa attribute correctly" do
60
+ @ohai._require_plugin("ssh_host_key")
61
+ @ohai[:keys][:ssh][:host_rsa_public].should eql(@rsa_key.split[1])
62
+ end
63
+ end
64
+
65
+ context "when an sshd_config exists" do
66
+ it_behaves_like "loads keys"
67
+ end
68
+
69
+ context "when an sshd_config can not be found" do
70
+ before do
71
+ File.stub(:exists?).with("/etc/ssh/sshd_config").and_return(false)
72
+ File.stub(:exists?).with("/etc/sshd_config").and_return(false)
73
+ end
74
+
75
+ it_behaves_like "loads keys"
76
+ end
77
+ end
File without changes
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ohai
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease:
4
+ hash: 2482961715
5
+ prerelease: 7
6
6
  segments:
7
7
  - 6
8
- - 14
8
+ - 16
9
9
  - 0
10
- version: 6.14.0
10
+ - beta
11
+ - 1
12
+ version: 6.16.0.beta.1
11
13
  platform: ruby
12
14
  authors:
13
15
  - Adam Jacob
@@ -15,7 +17,7 @@ autorequire:
15
17
  bindir: bin
16
18
  cert_chain: []
17
19
 
18
- date: 2012-05-30 00:00:00 Z
20
+ date: 2012-12-12 00:00:00 Z
19
21
  dependencies:
20
22
  - !ruby/object:Gem::Dependency
21
23
  name: systemu
@@ -88,7 +90,7 @@ dependencies:
88
90
  type: :runtime
89
91
  version_requirements: *id005
90
92
  - !ruby/object:Gem::Dependency
91
- name: ipaddress
93
+ name: mixlib-shellout
92
94
  prerelease: false
93
95
  requirement: &id006 !ruby/object:Gem::Requirement
94
96
  none: false
@@ -102,7 +104,7 @@ dependencies:
102
104
  type: :runtime
103
105
  version_requirements: *id006
104
106
  - !ruby/object:Gem::Dependency
105
- name: rspec-core
107
+ name: ipaddress
106
108
  prerelease: false
107
109
  requirement: &id007 !ruby/object:Gem::Requirement
108
110
  none: false
@@ -113,10 +115,10 @@ dependencies:
113
115
  segments:
114
116
  - 0
115
117
  version: "0"
116
- type: :development
118
+ type: :runtime
117
119
  version_requirements: *id007
118
120
  - !ruby/object:Gem::Dependency
119
- name: rspec-expectations
121
+ name: rake
120
122
  prerelease: false
121
123
  requirement: &id008 !ruby/object:Gem::Requirement
122
124
  none: false
@@ -130,7 +132,7 @@ dependencies:
130
132
  type: :development
131
133
  version_requirements: *id008
132
134
  - !ruby/object:Gem::Dependency
133
- name: rspec-mocks
135
+ name: rspec-core
134
136
  prerelease: false
135
137
  requirement: &id009 !ruby/object:Gem::Requirement
136
138
  none: false
@@ -144,7 +146,7 @@ dependencies:
144
146
  type: :development
145
147
  version_requirements: *id009
146
148
  - !ruby/object:Gem::Dependency
147
- name: rspec_junit_formatter
149
+ name: rspec-expectations
148
150
  prerelease: false
149
151
  requirement: &id010 !ruby/object:Gem::Requirement
150
152
  none: false
@@ -157,6 +159,34 @@ dependencies:
157
159
  version: "0"
158
160
  type: :development
159
161
  version_requirements: *id010
162
+ - !ruby/object:Gem::Dependency
163
+ name: rspec-mocks
164
+ prerelease: false
165
+ requirement: &id011 !ruby/object:Gem::Requirement
166
+ none: false
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ hash: 3
171
+ segments:
172
+ - 0
173
+ version: "0"
174
+ type: :development
175
+ version_requirements: *id011
176
+ - !ruby/object:Gem::Dependency
177
+ name: rspec_junit_formatter
178
+ prerelease: false
179
+ requirement: &id012 !ruby/object:Gem::Requirement
180
+ none: false
181
+ requirements:
182
+ - - ">="
183
+ - !ruby/object:Gem::Version
184
+ hash: 3
185
+ segments:
186
+ - 0
187
+ version: "0"
188
+ type: :development
189
+ version_requirements: *id012
160
190
  description: Ohai profiles your system and emits JSON
161
191
  email: adam@opscode.com
162
192
  executables:
@@ -171,206 +201,211 @@ files:
171
201
  - Rakefile
172
202
  - docs/man/man1/ohai.1
173
203
  - lib/ohai.rb
174
- - lib/ohai/plugins/languages.rb
204
+ - lib/ohai/plugins/ec2.rb
175
205
  - lib/ohai/plugins/virtualization.rb
176
- - lib/ohai/plugins/dmi.rb
177
- - lib/ohai/plugins/passwd.rb
178
- - lib/ohai/plugins/ohai.rb
179
- - lib/ohai/plugins/php.rb
180
- - lib/ohai/plugins/ip_scopes.rb
181
- - lib/ohai/plugins/keys.rb
182
- - lib/ohai/plugins/dmi_common.rb
183
- - lib/ohai/plugins/rackspace.rb
184
- - lib/ohai/plugins/erlang.rb
185
- - lib/ohai/plugins/freebsd/virtualization.rb
186
- - lib/ohai/plugins/freebsd/memory.rb
187
- - lib/ohai/plugins/freebsd/hostname.rb
188
- - lib/ohai/plugins/freebsd/uptime.rb
189
- - lib/ohai/plugins/freebsd/ssh_host_key.rb
190
- - lib/ohai/plugins/freebsd/network.rb
191
- - lib/ohai/plugins/freebsd/kernel.rb
192
- - lib/ohai/plugins/freebsd/platform.rb
193
- - lib/ohai/plugins/freebsd/ps.rb
194
- - lib/ohai/plugins/freebsd/cpu.rb
195
- - lib/ohai/plugins/freebsd/filesystem.rb
196
- - lib/ohai/plugins/linux/virtualization.rb
197
- - lib/ohai/plugins/linux/lsb.rb
198
- - lib/ohai/plugins/linux/memory.rb
199
- - lib/ohai/plugins/linux/hostname.rb
200
- - lib/ohai/plugins/linux/uptime.rb
201
- - lib/ohai/plugins/linux/ssh_host_key.rb
202
- - lib/ohai/plugins/linux/block_device.rb
203
- - lib/ohai/plugins/linux/network.rb
204
- - lib/ohai/plugins/linux/kernel.rb
205
- - lib/ohai/plugins/linux/platform.rb
206
- - lib/ohai/plugins/linux/ps.rb
207
- - lib/ohai/plugins/linux/cpu.rb
208
- - lib/ohai/plugins/linux/filesystem.rb
209
- - lib/ohai/plugins/groovy.rb
210
- - lib/ohai/plugins/darwin/hostname.rb
211
- - lib/ohai/plugins/darwin/uptime.rb
212
- - lib/ohai/plugins/darwin/ssh_host_key.rb
213
- - lib/ohai/plugins/darwin/network.rb
214
206
  - lib/ohai/plugins/darwin/system_profiler.rb
215
- - lib/ohai/plugins/darwin/kernel.rb
216
- - lib/ohai/plugins/darwin/platform.rb
217
207
  - lib/ohai/plugins/darwin/ps.rb
208
+ - lib/ohai/plugins/darwin/kernel.rb
209
+ - lib/ohai/plugins/darwin/network.rb
218
210
  - lib/ohai/plugins/darwin/filesystem.rb
219
- - lib/ohai/plugins/chef.rb
220
- - lib/ohai/plugins/hostname.rb
221
- - lib/ohai/plugins/perl.rb
222
- - lib/ohai/plugins/uptime.rb
223
- - lib/ohai/plugins/ec2.rb
211
+ - lib/ohai/plugins/darwin/platform.rb
212
+ - lib/ohai/plugins/darwin/hostname.rb
213
+ - lib/ohai/plugins/darwin/uptime.rb
214
+ - lib/ohai/plugins/kernel.rb
224
215
  - lib/ohai/plugins/network_listeners.rb
225
- - lib/ohai/plugins/hpux/memory.rb
226
- - lib/ohai/plugins/hpux/hostname.rb
227
- - lib/ohai/plugins/hpux/uptime.rb
228
- - lib/ohai/plugins/hpux/ssh_host_key.rb
229
- - lib/ohai/plugins/hpux/network.rb
230
- - lib/ohai/plugins/hpux/platform.rb
231
- - lib/ohai/plugins/hpux/ps.rb
232
- - lib/ohai/plugins/hpux/cpu.rb
233
- - lib/ohai/plugins/hpux/filesystem.rb
234
- - lib/ohai/plugins/mono.rb
235
- - lib/ohai/plugins/solaris2/virtualization.rb
236
- - lib/ohai/plugins/solaris2/dmi.rb
237
- - lib/ohai/plugins/solaris2/hostname.rb
238
- - lib/ohai/plugins/solaris2/uptime.rb
239
- - lib/ohai/plugins/solaris2/ssh_host_key.rb
240
- - lib/ohai/plugins/solaris2/network.rb
241
- - lib/ohai/plugins/solaris2/zpools.rb
242
- - lib/ohai/plugins/solaris2/kernel.rb
243
- - lib/ohai/plugins/solaris2/platform.rb
244
- - lib/ohai/plugins/solaris2/ps.rb
245
- - lib/ohai/plugins/solaris2/cpu.rb
246
- - lib/ohai/plugins/solaris2/filesystem.rb
247
- - lib/ohai/plugins/ohai_time.rb
248
- - lib/ohai/plugins/c.rb
249
- - lib/ohai/plugins/lua.rb
216
+ - lib/ohai/plugins/openbsd/ps.rb
250
217
  - lib/ohai/plugins/openbsd/virtualization.rb
251
- - lib/ohai/plugins/openbsd/memory.rb
252
- - lib/ohai/plugins/openbsd/hostname.rb
253
- - lib/ohai/plugins/openbsd/uptime.rb
254
- - lib/ohai/plugins/openbsd/ssh_host_key.rb
255
- - lib/ohai/plugins/openbsd/network.rb
256
218
  - lib/ohai/plugins/openbsd/kernel.rb
219
+ - lib/ohai/plugins/openbsd/network.rb
220
+ - lib/ohai/plugins/openbsd/memory.rb
221
+ - lib/ohai/plugins/openbsd/filesystem.rb
257
222
  - lib/ohai/plugins/openbsd/platform.rb
258
- - lib/ohai/plugins/openbsd/ps.rb
223
+ - lib/ohai/plugins/openbsd/hostname.rb
259
224
  - lib/ohai/plugins/openbsd/cpu.rb
260
- - lib/ohai/plugins/openbsd/filesystem.rb
261
- - lib/ohai/plugins/python.rb
262
- - lib/ohai/plugins/network.rb
263
- - lib/ohai/plugins/kernel.rb
264
- - lib/ohai/plugins/cloud.rb
225
+ - lib/ohai/plugins/openbsd/uptime.rb
226
+ - lib/ohai/plugins/c.rb
227
+ - lib/ohai/plugins/dmi.rb
265
228
  - lib/ohai/plugins/java.rb
266
- - lib/ohai/plugins/platform.rb
267
- - lib/ohai/plugins/ruby.rb
268
- - lib/ohai/plugins/os.rb
229
+ - lib/ohai/plugins/sigar/network.rb
269
230
  - lib/ohai/plugins/sigar/memory.rb
231
+ - lib/ohai/plugins/sigar/filesystem.rb
232
+ - lib/ohai/plugins/sigar/platform.rb
270
233
  - lib/ohai/plugins/sigar/hostname.rb
271
- - lib/ohai/plugins/sigar/uptime.rb
272
- - lib/ohai/plugins/sigar/network.rb
273
234
  - lib/ohai/plugins/sigar/network_route.rb
274
- - lib/ohai/plugins/sigar/platform.rb
275
235
  - lib/ohai/plugins/sigar/cpu.rb
276
- - lib/ohai/plugins/sigar/filesystem.rb
277
- - lib/ohai/plugins/command.rb
278
- - lib/ohai/plugins/windows/hostname.rb
279
- - lib/ohai/plugins/windows/uptime.rb
280
- - lib/ohai/plugins/windows/network.rb
236
+ - lib/ohai/plugins/sigar/uptime.rb
237
+ - lib/ohai/plugins/ip_scopes.rb
238
+ - lib/ohai/plugins/linux/ps.rb
239
+ - lib/ohai/plugins/linux/virtualization.rb
240
+ - lib/ohai/plugins/linux/kernel.rb
241
+ - lib/ohai/plugins/linux/network.rb
242
+ - lib/ohai/plugins/linux/block_device.rb
243
+ - lib/ohai/plugins/linux/memory.rb
244
+ - lib/ohai/plugins/linux/filesystem.rb
245
+ - lib/ohai/plugins/linux/platform.rb
246
+ - lib/ohai/plugins/linux/hostname.rb
247
+ - lib/ohai/plugins/linux/cpu.rb
248
+ - lib/ohai/plugins/linux/uptime.rb
249
+ - lib/ohai/plugins/linux/lsb.rb
250
+ - lib/ohai/plugins/os.rb
251
+ - lib/ohai/plugins/network.rb
252
+ - lib/ohai/plugins/chef.rb
253
+ - lib/ohai/plugins/groovy.rb
254
+ - lib/ohai/plugins/ruby.rb
255
+ - lib/ohai/plugins/passwd.rb
256
+ - lib/ohai/plugins/platform.rb
257
+ - lib/ohai/plugins/keys.rb
258
+ - lib/ohai/plugins/hostname.rb
259
+ - lib/ohai/plugins/aix/ps.rb
260
+ - lib/ohai/plugins/aix/network.rb
261
+ - lib/ohai/plugins/aix/memory.rb
262
+ - lib/ohai/plugins/aix/filesystem.rb
263
+ - lib/ohai/plugins/aix/platform.rb
264
+ - lib/ohai/plugins/aix/hostname.rb
265
+ - lib/ohai/plugins/aix/cpu.rb
266
+ - lib/ohai/plugins/aix/uptime.rb
281
267
  - lib/ohai/plugins/windows/kernel.rb
268
+ - lib/ohai/plugins/windows/network.rb
269
+ - lib/ohai/plugins/windows/filesystem.rb
282
270
  - lib/ohai/plugins/windows/platform.rb
271
+ - lib/ohai/plugins/windows/kernel_devices.rb
272
+ - lib/ohai/plugins/windows/hostname.rb
283
273
  - lib/ohai/plugins/windows/cpu.rb
284
- - lib/ohai/plugins/windows/filesystem.rb
285
- - lib/ohai/plugins/eucalyptus.rb
274
+ - lib/ohai/plugins/windows/uptime.rb
275
+ - lib/ohai/plugins/perl.rb
276
+ - lib/ohai/plugins/lua.rb
277
+ - lib/ohai/plugins/freebsd/ps.rb
278
+ - lib/ohai/plugins/freebsd/virtualization.rb
279
+ - lib/ohai/plugins/freebsd/kernel.rb
280
+ - lib/ohai/plugins/freebsd/network.rb
281
+ - lib/ohai/plugins/freebsd/memory.rb
282
+ - lib/ohai/plugins/freebsd/filesystem.rb
283
+ - lib/ohai/plugins/freebsd/platform.rb
284
+ - lib/ohai/plugins/freebsd/hostname.rb
285
+ - lib/ohai/plugins/freebsd/cpu.rb
286
+ - lib/ohai/plugins/freebsd/uptime.rb
287
+ - lib/ohai/plugins/ssh_host_key.rb
288
+ - lib/ohai/plugins/ohai_time.rb
289
+ - lib/ohai/plugins/linode.rb
290
+ - lib/ohai/plugins/command.rb
291
+ - lib/ohai/plugins/uptime.rb
292
+ - lib/ohai/plugins/cloud.rb
293
+ - lib/ohai/plugins/netbsd/ps.rb
286
294
  - lib/ohai/plugins/netbsd/virtualization.rb
287
- - lib/ohai/plugins/netbsd/memory.rb
288
- - lib/ohai/plugins/netbsd/hostname.rb
289
- - lib/ohai/plugins/netbsd/uptime.rb
290
- - lib/ohai/plugins/netbsd/ssh_host_key.rb
291
- - lib/ohai/plugins/netbsd/network.rb
292
295
  - lib/ohai/plugins/netbsd/kernel.rb
296
+ - lib/ohai/plugins/netbsd/network.rb
297
+ - lib/ohai/plugins/netbsd/memory.rb
298
+ - lib/ohai/plugins/netbsd/filesystem.rb
293
299
  - lib/ohai/plugins/netbsd/platform.rb
294
- - lib/ohai/plugins/netbsd/ps.rb
300
+ - lib/ohai/plugins/netbsd/hostname.rb
295
301
  - lib/ohai/plugins/netbsd/cpu.rb
296
- - lib/ohai/plugins/netbsd/filesystem.rb
297
- - lib/ohai/plugins/aix/memory.rb
298
- - lib/ohai/plugins/aix/hostname.rb
299
- - lib/ohai/plugins/aix/uptime.rb
300
- - lib/ohai/plugins/aix/ssh_host_key.rb
301
- - lib/ohai/plugins/aix/network.rb
302
- - lib/ohai/plugins/aix/platform.rb
303
- - lib/ohai/plugins/aix/ps.rb
304
- - lib/ohai/plugins/aix/cpu.rb
305
- - lib/ohai/plugins/aix/filesystem.rb
302
+ - lib/ohai/plugins/netbsd/uptime.rb
303
+ - lib/ohai/plugins/php.rb
304
+ - lib/ohai/plugins/mono.rb
305
+ - lib/ohai/plugins/dmi_common.rb
306
+ - lib/ohai/plugins/eucalyptus.rb
307
+ - lib/ohai/plugins/solaris2/ps.rb
308
+ - lib/ohai/plugins/solaris2/virtualization.rb
309
+ - lib/ohai/plugins/solaris2/kernel.rb
310
+ - lib/ohai/plugins/solaris2/dmi.rb
311
+ - lib/ohai/plugins/solaris2/zpools.rb
312
+ - lib/ohai/plugins/solaris2/network.rb
313
+ - lib/ohai/plugins/solaris2/filesystem.rb
314
+ - lib/ohai/plugins/solaris2/platform.rb
315
+ - lib/ohai/plugins/solaris2/hostname.rb
316
+ - lib/ohai/plugins/solaris2/cpu.rb
317
+ - lib/ohai/plugins/solaris2/uptime.rb
318
+ - lib/ohai/plugins/erlang.rb
319
+ - lib/ohai/plugins/hpux/ps.rb
320
+ - lib/ohai/plugins/hpux/network.rb
321
+ - lib/ohai/plugins/hpux/memory.rb
322
+ - lib/ohai/plugins/hpux/filesystem.rb
323
+ - lib/ohai/plugins/hpux/platform.rb
324
+ - lib/ohai/plugins/hpux/hostname.rb
325
+ - lib/ohai/plugins/hpux/cpu.rb
326
+ - lib/ohai/plugins/hpux/uptime.rb
327
+ - lib/ohai/plugins/nodejs.rb
328
+ - lib/ohai/plugins/python.rb
329
+ - lib/ohai/plugins/rackspace.rb
330
+ - lib/ohai/plugins/openstack.rb
331
+ - lib/ohai/plugins/languages.rb
332
+ - lib/ohai/plugins/ohai.rb
306
333
  - lib/ohai/application.rb
307
334
  - lib/ohai/version.rb
308
335
  - lib/ohai/mash.rb
309
336
  - lib/ohai/exception.rb
310
337
  - lib/ohai/config.rb
311
338
  - lib/ohai/log.rb
312
- - lib/ohai/system.rb
339
+ - lib/ohai/mixin/ec2_metadata.rb
340
+ - lib/ohai/mixin/command.rb
313
341
  - lib/ohai/mixin/string.rb
314
342
  - lib/ohai/mixin/from_file.rb
315
- - lib/ohai/mixin/command.rb
316
- - lib/ohai/mixin/ec2_metadata.rb
317
- - spec/ohai/plugins/groovy_spec.rb
318
- - spec/ohai/plugins/lua_spec.rb
319
- - spec/ohai/plugins/ec2_spec.rb
320
- - spec/ohai/plugins/ruby_spec.rb
321
- - spec/ohai/plugins/fail_spec.rb
322
- - spec/ohai/plugins/rackspace_spec.rb
323
- - spec/ohai/plugins/freebsd/kernel_spec.rb
324
- - spec/ohai/plugins/freebsd/platform_spec.rb
325
- - spec/ohai/plugins/freebsd/hostname_spec.rb
326
- - spec/ohai/plugins/php_spec.rb
327
- - spec/ohai/plugins/linux/cpu_spec.rb
328
- - spec/ohai/plugins/linux/network_spec.rb
329
- - spec/ohai/plugins/linux/kernel_spec.rb
330
- - spec/ohai/plugins/linux/platform_spec.rb
331
- - spec/ohai/plugins/linux/uptime_spec.rb
332
- - spec/ohai/plugins/linux/virtualization_spec.rb
333
- - spec/ohai/plugins/linux/lsb_spec.rb
334
- - spec/ohai/plugins/linux/hostname_spec.rb
335
- - spec/ohai/plugins/linux/filesystem_spec.rb
336
- - spec/ohai/plugins/chef_spec.rb
337
- - spec/ohai/plugins/darwin/network_spec.rb
338
- - spec/ohai/plugins/darwin/kernel_spec.rb
339
- - spec/ohai/plugins/darwin/platform_spec.rb
340
- - spec/ohai/plugins/darwin/hostname_spec.rb
341
- - spec/ohai/plugins/python_spec.rb
342
- - spec/ohai/plugins/java_spec.rb
343
- - spec/ohai/plugins/kernel_spec.rb
344
- - spec/ohai/plugins/dmi_spec.rb
345
- - spec/ohai/plugins/mono_spec.rb
346
- - spec/ohai/plugins/solaris2/network_spec.rb
347
- - spec/ohai/plugins/solaris2/kernel_spec.rb
348
- - spec/ohai/plugins/solaris2/platform_spec.rb
349
- - spec/ohai/plugins/solaris2/virtualization_spec.rb
350
- - spec/ohai/plugins/solaris2/hostname_spec.rb
351
- - spec/ohai/plugins/openbsd/kernel_spec.rb
352
- - spec/ohai/plugins/openbsd/platform_spec.rb
353
- - spec/ohai/plugins/openbsd/hostname_spec.rb
354
- - spec/ohai/plugins/platform_spec.rb
355
- - spec/ohai/plugins/erlang_spec.rb
356
- - spec/ohai/plugins/perl_spec.rb
357
- - spec/ohai/plugins/c_spec.rb
358
- - spec/ohai/plugins/ohai_spec.rb
359
- - spec/ohai/plugins/sigar/network_route_spec.rb
360
- - spec/ohai/plugins/os_spec.rb
361
- - spec/ohai/plugins/passwd_spec.rb
362
- - spec/ohai/plugins/cloud_spec.rb
363
- - spec/ohai/plugins/eucalyptus_spec.rb
364
- - spec/ohai/plugins/netbsd/kernel_spec.rb
365
- - spec/ohai/plugins/netbsd/platform_spec.rb
366
- - spec/ohai/plugins/netbsd/hostname_spec.rb
367
- - spec/ohai/plugins/hostname_spec.rb
368
- - spec/ohai/plugins/ohai_time_spec.rb
369
- - spec/ohai/system_spec.rb
370
- - spec/ohai/mixin/command_spec.rb
371
- - spec/ohai/mixin/from_file_spec.rb
343
+ - lib/ohai/system.rb
344
+ - spec/unit/plugins/darwin/hostname_spec.rb
345
+ - spec/unit/plugins/darwin/system_profiler_spec.rb
346
+ - spec/unit/plugins/darwin/kernel_spec.rb
347
+ - spec/unit/plugins/darwin/platform_spec.rb
348
+ - spec/unit/plugins/darwin/network_spec.rb
349
+ - spec/unit/plugins/darwin/system_profiler_output.rb
350
+ - spec/unit/plugins/openbsd/hostname_spec.rb
351
+ - spec/unit/plugins/openbsd/kernel_spec.rb
352
+ - spec/unit/plugins/openbsd/platform_spec.rb
353
+ - spec/unit/plugins/nodejs_spec.rb
354
+ - spec/unit/plugins/perl_spec.rb
355
+ - spec/unit/plugins/sigar/network_route_spec.rb
356
+ - spec/unit/plugins/linux/hostname_spec.rb
357
+ - spec/unit/plugins/linux/kernel_spec.rb
358
+ - spec/unit/plugins/linux/virtualization_spec.rb
359
+ - spec/unit/plugins/linux/lsb_spec.rb
360
+ - spec/unit/plugins/linux/platform_spec.rb
361
+ - spec/unit/plugins/linux/network_spec.rb
362
+ - spec/unit/plugins/linux/cpu_spec.rb
363
+ - spec/unit/plugins/linux/filesystem_spec.rb
364
+ - spec/unit/plugins/linux/uptime_spec.rb
365
+ - spec/unit/plugins/os_spec.rb
366
+ - spec/unit/plugins/php_spec.rb
367
+ - spec/unit/plugins/hostname_spec.rb
368
+ - spec/unit/plugins/freebsd/hostname_spec.rb
369
+ - spec/unit/plugins/freebsd/kernel_spec.rb
370
+ - spec/unit/plugins/freebsd/virtualization_spec.rb
371
+ - spec/unit/plugins/freebsd/platform_spec.rb
372
+ - spec/unit/plugins/ec2_spec.rb
373
+ - spec/unit/plugins/kernel_spec.rb
374
+ - spec/unit/plugins/ohai_time_spec.rb
375
+ - spec/unit/plugins/python_spec.rb
376
+ - spec/unit/plugins/netbsd/hostname_spec.rb
377
+ - spec/unit/plugins/netbsd/kernel_spec.rb
378
+ - spec/unit/plugins/netbsd/platform_spec.rb
379
+ - spec/unit/plugins/erlang_spec.rb
380
+ - spec/unit/plugins/c_spec.rb
381
+ - spec/unit/plugins/platform_spec.rb
382
+ - spec/unit/plugins/java_spec.rb
383
+ - spec/unit/plugins/solaris2/hostname_spec.rb
384
+ - spec/unit/plugins/solaris2/kernel_spec.rb
385
+ - spec/unit/plugins/solaris2/virtualization_spec.rb
386
+ - spec/unit/plugins/solaris2/platform_spec.rb
387
+ - spec/unit/plugins/solaris2/network_spec.rb
388
+ - spec/unit/plugins/linode_spec.rb
389
+ - spec/unit/plugins/cloud_spec.rb
390
+ - spec/unit/plugins/ruby_spec.rb
391
+ - spec/unit/plugins/network_spec.rb
392
+ - spec/unit/plugins/ohai_spec.rb
393
+ - spec/unit/plugins/mono_spec.rb
394
+ - spec/unit/plugins/lua_spec.rb
395
+ - spec/unit/plugins/rackspace_spec.rb
396
+ - spec/unit/plugins/chef_spec.rb
397
+ - spec/unit/plugins/passwd_spec.rb
398
+ - spec/unit/plugins/ssh_host_keys_spec.rb
399
+ - spec/unit/plugins/groovy_spec.rb
400
+ - spec/unit/plugins/fail_spec.rb
401
+ - spec/unit/plugins/dmi_spec.rb
402
+ - spec/unit/plugins/eucalyptus_spec.rb
403
+ - spec/unit/system_spec.rb
404
+ - spec/unit/mixin/command_spec.rb
405
+ - spec/unit/mixin/from_file_spec.rb
372
406
  - spec/spec_helper.rb
373
407
  - spec/spec.opts
408
+ - spec/support/platform_helpers.rb
374
409
  - spec/rcov.opts
375
410
  - spec/ohai_spec.rb
376
411
  - bin/ohai
@@ -394,12 +429,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
394
429
  required_rubygems_version: !ruby/object:Gem::Requirement
395
430
  none: false
396
431
  requirements:
397
- - - ">="
432
+ - - ">"
398
433
  - !ruby/object:Gem::Version
399
- hash: 3
434
+ hash: 25
400
435
  segments:
401
- - 0
402
- version: "0"
436
+ - 1
437
+ - 3
438
+ - 1
439
+ version: 1.3.1
403
440
  requirements: []
404
441
 
405
442
  rubyforge_project: