ohai 7.4.0 → 7.4.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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTkwZmVlYzk1MmMzNGZiZDY2MWNkNWMwOTE1MTJmYTQ2NTc0MmYxMw==
4
+ Yjk5OTY3MGYwNTBhNGFmODNlYWYwMGIxNTcxZmY4ZDA4MzQxNTdlMg==
5
5
  data.tar.gz: !binary |-
6
- YTRmMGU3MjFiZWQ0ODk2ZTUwNTU3MzM3NDZlZjU0OThjYmM2YWE3Yw==
6
+ ZjRlYjkwYjE5ODRkYmRjMjljZWQ1ZDQ0YjVhMzk4NGUxNDRlZGRmMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZWQ5NWFiMjU2MWU3ODBkNmNhYzBmYzAyNTQ5Y2E5YTM3NGE2MDU1OTRmNGY2
10
- NzI3MGI2M2Q4OGIyMWRlZmIzNWZlMmJkZDk2OTQ3NzQwYWY5NzUxNTZkNTc1
11
- YzVmMDU5M2UxNTJmYjMzYzg1ODUxMWViZGJlMDI2OGI2MzVhOWE=
9
+ MGNiNTJmM2Q3NDQ5NWZiZjY4MWFjMGJlOGFhOTUyYzE0MjQxNjg3MTIzODQ0
10
+ ZThmOTgxMDM2MzhlYWJjOTkxYjFmYjZhMDU1MzE5MjFmOGVlNjI5ZTcyNTVl
11
+ OWVkYTM1NWU5NWZmNTljNTE3YmZmM2Y3YWIxYWY3YTJjMGU2MDU=
12
12
  data.tar.gz: !binary |-
13
- NGQ2ODAwZGI2YWRkZTE3OTZlMDNlYTY2YWIyOTM1ZmIxOTVmOGIwYzk2OTYy
14
- NTRkMzYxNWUzMTVkNmUwMTUzNDdiOWE4ZWRmMjdlYjZlZDJlNmVkOTMzYWIy
15
- Y2FmMTY3Y2ZmYmE3YTMyOTBkYWY0MzYwMWIzNDllNzk2MjVjMDE=
13
+ N2Q5Y2UzMzczYWU3MzRkNTNkZjk3ZmI5NGM0ODU5Y2M5NDMwMjUxM2NlZmUz
14
+ NDMwYzhjYWQ2MWMwMDgzOGYyNzUxOTQ4MjI3OWNhMTQyNTFjMWM5MGU0NzVi
15
+ N2Y3NDExZWNmYmFlNGM0NTFjNmRmZDE2ZDhkY2YyYTc4YTBjYWU=
@@ -17,7 +17,7 @@
17
17
  # limitations under the License.
18
18
  #
19
19
 
20
- require 'ffi_yajl/json_gem'
20
+ require 'ffi_yajl'
21
21
 
22
22
  module Ohai
23
23
  module Hints
@@ -29,8 +29,6 @@ require 'ohai/provides_map'
29
29
  require 'ohai/hints'
30
30
  require 'mixlib/shellout'
31
31
 
32
- require 'ffi_yajl/json_gem'
33
-
34
32
  module Ohai
35
33
  class System
36
34
  include Ohai::Mixin::ConstantHelper
@@ -18,5 +18,5 @@
18
18
 
19
19
  module Ohai
20
20
  OHAI_ROOT = File.expand_path(File.dirname(__FILE__))
21
- VERSION = '7.4.0'
21
+ VERSION = '7.4.1'
22
22
  end
@@ -7,9 +7,9 @@
7
7
  # Licensed under the Apache License, Version 2.0 (the "License");
8
8
  # you may not use this file except in compliance with the License.
9
9
  # You may obtain a copy of the License at
10
- #
10
+ #
11
11
  # http://www.apache.org/licenses/LICENSE-2.0
12
- #
12
+ #
13
13
  # Unless required by applicable law or agreed to in writing, software
14
14
  # distributed under the License is distributed on an "AS IS" BASIS,
15
15
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -17,7 +17,6 @@
17
17
  # limitations under the License.
18
18
  #
19
19
 
20
- require 'json'
21
20
  require File.expand_path(File.dirname(__FILE__) + '/../../spec_helper.rb')
22
21
 
23
22
  describe Ohai::System, "plugin erlang" do
@@ -28,7 +27,7 @@ describe Ohai::System, "plugin erlang" do
28
27
  @stderr = "Erlang (ASYNC_THREADS,SMP,HIPE) (BEAM) emulator version 5.6.2\n"
29
28
  @plugin.stub(:shell_out).with("erl +V").and_return(mock_shell_out(0, "", @stderr))
30
29
  end
31
-
30
+
32
31
  it "should get the erlang version from erl +V" do
33
32
  @plugin.should_receive(:shell_out).with("erl +V").and_return(mock_shell_out(0, "", @stderr))
34
33
  @plugin.run
@@ -38,17 +37,17 @@ describe Ohai::System, "plugin erlang" do
38
37
  @plugin.run
39
38
  @plugin.languages[:erlang][:version].should eql("5.6.2")
40
39
  end
41
-
40
+
42
41
  it "should set languages[:erlang][:options]" do
43
42
  @plugin.run
44
43
  @plugin.languages[:erlang][:options].should eql(["ASYNC_THREADS", "SMP", "HIPE"])
45
44
  end
46
-
45
+
47
46
  it "should set languages[:erlang][:emulator]" do
48
47
  @plugin.run
49
48
  @plugin.languages[:erlang][:emulator].should eql("BEAM")
50
49
  end
51
-
50
+
52
51
  it "should not set the languages[:erlang] tree up if erlang command fails" do
53
52
  @status = 1
54
53
  @stdin = ""
@@ -18,7 +18,6 @@
18
18
  # limitations under the License.
19
19
  #
20
20
 
21
- require 'json'
22
21
  require File.expand_path(File.join(File.dirname(__FILE__), '..', '..', '/spec_helper.rb'))
23
22
 
24
23
  describe Ohai::System, "plugin php" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ohai
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.4.0
4
+ version: 7.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-06 00:00:00.000000000 Z
11
+ date: 2015-01-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '1.0'
47
+ version: '1.1'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
54
+ version: '1.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mixlib-cli
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -258,14 +258,16 @@ files:
258
258
  - LICENSE
259
259
  - README.md
260
260
  - Rakefile
261
+ - bin/ohai
261
262
  - docs/man/man1/ohai.1
263
+ - lib/ohai.rb
262
264
  - lib/ohai/application.rb
263
265
  - lib/ohai/common/dmi.rb
264
266
  - lib/ohai/config.rb
267
+ - lib/ohai/dsl.rb
268
+ - lib/ohai/dsl/plugin.rb
265
269
  - lib/ohai/dsl/plugin/versionvi.rb
266
270
  - lib/ohai/dsl/plugin/versionvii.rb
267
- - lib/ohai/dsl/plugin.rb
268
- - lib/ohai/dsl.rb
269
271
  - lib/ohai/exception.rb
270
272
  - lib/ohai/hints.rb
271
273
  - lib/ohai/loader.rb
@@ -385,10 +387,9 @@ files:
385
387
  - lib/ohai/runner.rb
386
388
  - lib/ohai/system.rb
387
389
  - lib/ohai/util/file_helper.rb
388
- - lib/ohai/util/win32/group_helper.rb
389
390
  - lib/ohai/util/win32.rb
391
+ - lib/ohai/util/win32/group_helper.rb
390
392
  - lib/ohai/version.rb
391
- - lib/ohai.rb
392
393
  - spec/data/plugins/___lib64___libc.so.6.output
393
394
  - spec/data/plugins/___lib___libc.so.6.output
394
395
  - spec/data/plugins/cc.output
@@ -509,7 +510,6 @@ files:
509
510
  - spec/unit/runner_spec.rb
510
511
  - spec/unit/system_spec.rb
511
512
  - spec/unit/util/file_helper_spec.rb
512
- - bin/ohai
513
513
  homepage: http://wiki.opscode.com/display/chef/Ohai
514
514
  licenses: []
515
515
  metadata: {}
@@ -529,7 +529,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
529
529
  version: '0'
530
530
  requirements: []
531
531
  rubyforge_project:
532
- rubygems_version: 2.1.11
532
+ rubygems_version: 2.4.1
533
533
  signing_key:
534
534
  specification_version: 4
535
535
  summary: Ohai profiles your system and emits JSON