ohai 0.6.12 → 0.6.14.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ohai/config.rb +13 -0
- data/lib/ohai/mixin/command.rb +9 -1
- data/lib/ohai/plugins/darwin/network.rb +5 -4
- data/lib/ohai/plugins/darwin/platform.rb +4 -2
- data/lib/ohai/plugins/ec2.rb +1 -1
- data/lib/ohai/plugins/eucalyptus.rb +1 -1
- data/lib/ohai/plugins/java.rb +8 -1
- data/lib/ohai/plugins/linux/network.rb +143 -47
- data/lib/ohai/plugins/linux/platform.rb +13 -13
- data/lib/ohai/plugins/linux/virtualization.rb +8 -12
- data/lib/ohai/plugins/network.rb +10 -4
- data/lib/ohai/plugins/os.rb +3 -3
- data/lib/ohai/plugins/rackspace.rb +1 -1
- data/lib/ohai/plugins/solaris2/platform.rb +7 -1
- data/lib/ohai/plugins/windows/network.rb +24 -32
- data/lib/ohai/plugins/windows/uptime.rb +23 -0
- data/lib/ohai/system.rb +26 -1
- data/lib/ohai/version.rb +1 -1
- data/spec/ohai/plugins/darwin/network_spec.rb +851 -0
- data/spec/ohai/plugins/darwin/platform_spec.rb +33 -1
- data/spec/ohai/plugins/ec2_spec.rb +32 -0
- data/spec/ohai/plugins/eucalyptus_spec.rb +32 -0
- data/spec/ohai/plugins/linux/network_spec.rb +597 -100
- data/spec/ohai/plugins/linux/platform_spec.rb +73 -53
- data/spec/ohai/plugins/linux/virtualization_spec.rb +11 -10
- data/spec/ohai/plugins/os_spec.rb +11 -0
- data/spec/ohai/plugins/platform_spec.rb +3 -3
- data/spec/ohai/plugins/rackspace_spec.rb +80 -49
- data/spec/ohai/plugins/solaris2/platform_spec.rb +77 -0
- metadata +53 -5
metadata
CHANGED
@@ -1,8 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ohai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 15424007
|
5
|
+
prerelease: 7
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 6
|
9
|
+
- 14
|
10
|
+
- rc
|
11
|
+
- 1
|
12
|
+
version: 0.6.14.rc.1
|
6
13
|
platform: ruby
|
7
14
|
authors:
|
8
15
|
- Adam Jacob
|
@@ -10,7 +17,7 @@ autorequire:
|
|
10
17
|
bindir: bin
|
11
18
|
cert_chain: []
|
12
19
|
|
13
|
-
date: 2012-
|
20
|
+
date: 2012-05-15 00:00:00 Z
|
14
21
|
dependencies:
|
15
22
|
- !ruby/object:Gem::Dependency
|
16
23
|
name: systemu
|
@@ -20,6 +27,9 @@ dependencies:
|
|
20
27
|
requirements:
|
21
28
|
- - ">="
|
22
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
31
|
+
segments:
|
32
|
+
- 0
|
23
33
|
version: "0"
|
24
34
|
type: :runtime
|
25
35
|
version_requirements: *id001
|
@@ -31,6 +41,9 @@ dependencies:
|
|
31
41
|
requirements:
|
32
42
|
- - ">="
|
33
43
|
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
34
47
|
version: "0"
|
35
48
|
type: :runtime
|
36
49
|
version_requirements: *id002
|
@@ -42,6 +55,9 @@ dependencies:
|
|
42
55
|
requirements:
|
43
56
|
- - ">="
|
44
57
|
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
45
61
|
version: "0"
|
46
62
|
type: :runtime
|
47
63
|
version_requirements: *id003
|
@@ -53,6 +69,9 @@ dependencies:
|
|
53
69
|
requirements:
|
54
70
|
- - ">="
|
55
71
|
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
56
75
|
version: "0"
|
57
76
|
type: :runtime
|
58
77
|
version_requirements: *id004
|
@@ -64,6 +83,9 @@ dependencies:
|
|
64
83
|
requirements:
|
65
84
|
- - ">="
|
66
85
|
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
67
89
|
version: "0"
|
68
90
|
type: :runtime
|
69
91
|
version_requirements: *id005
|
@@ -75,6 +97,9 @@ dependencies:
|
|
75
97
|
requirements:
|
76
98
|
- - ">="
|
77
99
|
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
78
103
|
version: "0"
|
79
104
|
type: :runtime
|
80
105
|
version_requirements: *id006
|
@@ -86,6 +111,9 @@ dependencies:
|
|
86
111
|
requirements:
|
87
112
|
- - ">="
|
88
113
|
- !ruby/object:Gem::Version
|
114
|
+
hash: 3
|
115
|
+
segments:
|
116
|
+
- 0
|
89
117
|
version: "0"
|
90
118
|
type: :development
|
91
119
|
version_requirements: *id007
|
@@ -97,6 +125,9 @@ dependencies:
|
|
97
125
|
requirements:
|
98
126
|
- - ">="
|
99
127
|
- !ruby/object:Gem::Version
|
128
|
+
hash: 3
|
129
|
+
segments:
|
130
|
+
- 0
|
100
131
|
version: "0"
|
101
132
|
type: :development
|
102
133
|
version_requirements: *id008
|
@@ -108,6 +139,9 @@ dependencies:
|
|
108
139
|
requirements:
|
109
140
|
- - ">="
|
110
141
|
- !ruby/object:Gem::Version
|
142
|
+
hash: 3
|
143
|
+
segments:
|
144
|
+
- 0
|
111
145
|
version: "0"
|
112
146
|
type: :development
|
113
147
|
version_requirements: *id009
|
@@ -119,6 +153,9 @@ dependencies:
|
|
119
153
|
requirements:
|
120
154
|
- - ">="
|
121
155
|
- !ruby/object:Gem::Version
|
156
|
+
hash: 3
|
157
|
+
segments:
|
158
|
+
- 0
|
122
159
|
version: "0"
|
123
160
|
type: :development
|
124
161
|
version_requirements: *id010
|
@@ -241,6 +278,7 @@ files:
|
|
241
278
|
- lib/ohai/plugins/sigar/filesystem.rb
|
242
279
|
- lib/ohai/plugins/command.rb
|
243
280
|
- lib/ohai/plugins/windows/hostname.rb
|
281
|
+
- lib/ohai/plugins/windows/uptime.rb
|
244
282
|
- lib/ohai/plugins/windows/network.rb
|
245
283
|
- lib/ohai/plugins/windows/kernel.rb
|
246
284
|
- lib/ohai/plugins/windows/platform.rb
|
@@ -298,6 +336,7 @@ files:
|
|
298
336
|
- spec/ohai/plugins/linux/hostname_spec.rb
|
299
337
|
- spec/ohai/plugins/linux/filesystem_spec.rb
|
300
338
|
- spec/ohai/plugins/chef_spec.rb
|
339
|
+
- spec/ohai/plugins/darwin/network_spec.rb
|
301
340
|
- spec/ohai/plugins/darwin/kernel_spec.rb
|
302
341
|
- spec/ohai/plugins/darwin/platform_spec.rb
|
303
342
|
- spec/ohai/plugins/darwin/hostname_spec.rb
|
@@ -308,6 +347,7 @@ files:
|
|
308
347
|
- spec/ohai/plugins/mono_spec.rb
|
309
348
|
- spec/ohai/plugins/solaris2/network_spec.rb
|
310
349
|
- spec/ohai/plugins/solaris2/kernel_spec.rb
|
350
|
+
- spec/ohai/plugins/solaris2/platform_spec.rb
|
311
351
|
- spec/ohai/plugins/solaris2/virtualization_spec.rb
|
312
352
|
- spec/ohai/plugins/solaris2/hostname_spec.rb
|
313
353
|
- spec/ohai/plugins/openbsd/kernel_spec.rb
|
@@ -349,13 +389,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
349
389
|
requirements:
|
350
390
|
- - ">="
|
351
391
|
- !ruby/object:Gem::Version
|
392
|
+
hash: 3
|
393
|
+
segments:
|
394
|
+
- 0
|
352
395
|
version: "0"
|
353
396
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
354
397
|
none: false
|
355
398
|
requirements:
|
356
|
-
- - "
|
399
|
+
- - ">"
|
357
400
|
- !ruby/object:Gem::Version
|
358
|
-
|
401
|
+
hash: 25
|
402
|
+
segments:
|
403
|
+
- 1
|
404
|
+
- 3
|
405
|
+
- 1
|
406
|
+
version: 1.3.1
|
359
407
|
requirements: []
|
360
408
|
|
361
409
|
rubyforge_project:
|