chef 13.8.0-universal-mingw32 → 13.8.3-universal-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1dd4572a63059937290f5ddac659e0591c97e2d9
4
- data.tar.gz: e14174ad493c9fb1304a660644f60bd514db6172
3
+ metadata.gz: d715b9f2e8f4d4e2027007e3549f201432839506
4
+ data.tar.gz: 007f8844a00324b25f62a3a575d5db5cac980934
5
5
  SHA512:
6
- metadata.gz: d53780a3c5afb7b313e36d25fe316570ed11ba6086c58e6aead6ad6f871265e88cf73956d80e0f48a174ad7474041524b4217edd06af772da3cc0907df03e539
7
- data.tar.gz: dd8bba598d7f1d4cba7b68ac218101e64b033515ccda9338b78021bdbb70e918984dadfcd5fe441c336c95deba106f0a141909712ffc5727d70f3f7b8e7de278
6
+ metadata.gz: 70b87652c08193b124288fdd5ea81e6ea9f657c98cc348b26304b1476fe3ac022253dcd18a06edf0c82e273da3cd0ae6bad722ec029d0e2e00af03bc0f080ad4
7
+ data.tar.gz: 02636a9c478a37adfe2657ebf15634fe77bc1246dd7f399e01687c2948c0fa801e0d59a91c3356d14cdee4f477599627ec5badb15ba1b03037ab62ae393f0800
data/Gemfile CHANGED
@@ -15,7 +15,7 @@ gem "cheffish", "~> 13" # required for rspec tests
15
15
  group(:omnibus_package) do
16
16
  gem "appbundler"
17
17
  gem "rb-readline"
18
- gem "inspec"
18
+ gem "inspec", "~> 1"
19
19
  gem "chef-vault"
20
20
  end
21
21
 
@@ -52,10 +52,7 @@ group(:development, :test) do
52
52
  gem "rake"
53
53
  gem "simplecov"
54
54
  gem "webmock"
55
-
56
- # for testing new chefstyle rules
57
- # gem 'chefstyle', github: 'chef/chefstyle'
58
- gem "chefstyle", git: "https://github.com/chef/chefstyle.git", branch: "master"
55
+ gem "chefstyle", "0.6.0"
59
56
  end
60
57
 
61
58
  group(:travis) do
data/VERSION CHANGED
@@ -1 +1 @@
1
- 13.8.0
1
+ 13.8.3
data/lib/chef/knife.rb CHANGED
@@ -182,7 +182,7 @@ class Chef
182
182
  config_loader.profile = profile
183
183
  config_loader.load
184
184
 
185
- ui.warn("No knife configuration file found") if config_loader.no_config_found?
185
+ ui.warn("No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.") if config_loader.no_config_found?
186
186
 
187
187
  config_loader
188
188
  rescue Exceptions::ConfigurationError => e
data/lib/chef/version.rb CHANGED
@@ -23,7 +23,7 @@ require "chef/version_string"
23
23
 
24
24
  class Chef
25
25
  CHEF_ROOT = File.expand_path("../..", __FILE__)
26
- VERSION = Chef::VersionString.new("13.8.0")
26
+ VERSION = Chef::VersionString.new("13.8.3")
27
27
  end
28
28
 
29
29
  #
@@ -242,7 +242,7 @@ EOM
242
242
  it "knife deps --tree prints each once" do
243
243
  knife("deps --tree /roles/foo.json /roles/self.json") do
244
244
  expect(stdout).to eq("/roles/foo.json\n /roles/bar.json\n /roles/baz.json\n /roles/foo.json\n/roles/self.json\n /roles/self.json\n")
245
- expect(stderr).to eq("WARNING: No knife configuration file found\n")
245
+ expect(stderr).to eq("WARNING: No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.\n")
246
246
  end
247
247
  end
248
248
  end
@@ -580,7 +580,7 @@ EOM
580
580
  it "knife deps --tree prints each once" do
581
581
  knife("deps --remote --tree /roles/foo.json /roles/self.json") do
582
582
  expect(stdout).to eq("/roles/foo.json\n /roles/bar.json\n /roles/baz.json\n /roles/foo.json\n/roles/self.json\n /roles/self.json\n")
583
- expect(stderr).to eq("WARNING: No knife configuration file found\n")
583
+ expect(stderr).to eq("WARNING: No knife configuration file found. See https://docs.chef.io/config_rb_knife.html for details.\n")
584
584
  end
585
585
  end
586
586
  end
@@ -1,6 +1,6 @@
1
1
  #
2
2
  # Author:: Jay Mundrawala (<jdm@chef.io>)
3
- # Copyright:: Copyright 2015-2016, Chef Software, Inc.
3
+ # Copyright:: Copyright 2015-2017, Chef Software Inc.
4
4
  # License:: Apache License, Version 2.0
5
5
  #
6
6
  # Licensed under the Apache License, Version 2.0 (the "License");
@@ -64,14 +64,15 @@ describe Chef::Mixin::PowershellTypeCoercions do
64
64
  end
65
65
 
66
66
  it "translates a Chef::Node::ImmutableMash like a hash" do
67
- test_mash = Chef::Node::ImmutableMash.new({ "a" => 1, "b" => 1.2,
68
- "c" => false, "d" => true })
69
- expect(test_class.translate_type(test_mash)).to eq("@{a=1;b=1.2;c=$false;d=$true}")
67
+ node = Chef::Node.new
68
+ node.default[:test] = { "a" => 1, "b" => 1.2, "c" => false, "d" => true }
69
+ expect(test_class.translate_type(node[:test])).to eq("@{a=1;b=1.2;c=$false;d=$true}")
70
70
  end
71
71
 
72
72
  it "translates a Chef::Node::ImmutableArray like an array" do
73
- test_array = Chef::Node::ImmutableArray.new([true, false])
74
- expect(test_class.translate_type(test_array)).to eq("@($true,$false)")
73
+ node = Chef::Node.new
74
+ node.default[:test] = [ true, false ]
75
+ expect(test_class.translate_type(node[:test])).to eq("@($true,$false)")
75
76
  end
76
77
 
77
78
  it "falls back :to_psobject if we have not defined at explicit rule" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.8.0
4
+ version: 13.8.3
5
5
  platform: universal-mingw32
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-23 00:00:00.000000000 Z
11
+ date: 2018-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 13.8.0
19
+ version: 13.8.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 13.8.0
26
+ version: 13.8.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement