chef-bin 16.4.35 → 16.6.14

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
  SHA256:
3
- metadata.gz: eb25ce3f6523f23ef28572ed5bab5f41f5e2c077502b0d02041707588b482f25
4
- data.tar.gz: f7e68955504fb36eff506c14b7912c1cbcf561e5df810b2289ab7f0525656156
3
+ metadata.gz: 2a39e31a91792956018dbb2089f485a59ec567e55707e2f3c776bc5646bd7fe8
4
+ data.tar.gz: 81682a79b603ab4bf1a5801a3fca056356edec7a944c04494e8c30cdd3058846
5
5
  SHA512:
6
- metadata.gz: a1ec7a348ef1b0872faf83b9853f9aa97323e17edd8a814bd0e2b50421dddab4facbb8d6658682d11a2114a32c8a95e54f4ed82fb0799e3063de35fcd39dad42
7
- data.tar.gz: 1456c8bc2eedcf2a6d2741c50e57b9cfea4a15ec69a3ca5022a774748dcca1b00d7d5b47dc17bdbeff3c8f27da5ca94b288163d26ebd81829c9dc4f49768585d
6
+ metadata.gz: 214184cd95fd85fb4a9926f7255bb4cb9aecd4df23b7d76bf499fd4ff749c7e606e3d50487415e3f3eb31acafe467303cd27891e0ed0d7668586a64ea726ba57
7
+ data.tar.gz: c273039b8f641055164efc56d2591728958f471754aa253c02e39aa44643020506fcd16383f15a42c7b28575ea6d3a06ec2a781f17ed3ad5d6f8ef9d9a1804b1
data/Rakefile CHANGED
@@ -10,7 +10,7 @@ Bundler::GemHelper.install_tasks
10
10
  desc "force install the chef-bin gem"
11
11
  task "install:force" do
12
12
  sh "gem build -V chef-bin.gemspec"
13
- built_gem_path = Dir["chef-bin-*.gem"].sort_by { |f| File.mtime(f) }.last
13
+ built_gem_path = Dir["chef-bin-*.gem"].max_by { |f| File.mtime(f) }
14
14
  FileUtils.mkdir_p("pkg") unless Dir.exist?("pkg")
15
15
  FileUtils.mv(built_gem_path, "pkg")
16
16
  sh "gem install -f pkg/#{built_gem_path}"
@@ -18,7 +18,7 @@
18
18
  # See the License for the specific language governing permissions and
19
19
  # limitations under the License.
20
20
 
21
- $:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
21
+ $:.unshift(File.join(__dir__, "..", "lib"))
22
22
  require "chef/application/apply"
23
23
 
24
24
  Chef::Application::Apply.new.run(enforce_license: true)
@@ -18,7 +18,7 @@
18
18
  # See the License for the specific language governing permissions and
19
19
  # limitations under the License.
20
20
 
21
- $:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
21
+ $:.unshift(File.join(__dir__, "..", "lib"))
22
22
  require "chef"
23
23
  require "chef/application/client"
24
24
 
@@ -19,7 +19,7 @@
19
19
 
20
20
  Encoding.default_external = Encoding::UTF_8
21
21
 
22
- $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
22
+ $:.unshift(File.expand_path(File.join(__dir__, "..", "lib")))
23
23
 
24
24
  require "chef/resource_inspector"
25
25
 
@@ -18,16 +18,16 @@
18
18
  # See the License for the specific language governing permissions and
19
19
  # limitations under the License.
20
20
 
21
- $:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
21
+ $:.unshift(File.join(__dir__, "..", "lib"))
22
22
  require "chef"
23
23
  require "chef/application/windows_service_manager"
24
- require "chef/dist"
24
+ require "chef-utils/dist" unless defined?(ChefUtils::Dist)
25
25
 
26
26
  if Chef::Platform.windows?
27
27
  chef_client_service = {
28
- service_name: Chef::Dist::CLIENT,
29
- service_display_name: "#{Chef::Dist::PRODUCT} Service",
30
- service_description: "Runs #{Chef::Dist::PRODUCT} on regular, configurable intervals.",
28
+ service_name: ChefUtils::Dist::Infra::CLIENT,
29
+ service_display_name: "#{ChefUtils::Dist::Infra::PRODUCT} Service",
30
+ service_description: "Runs #{ChefUtils::Dist::Infra::PRODUCT} on regular, configurable intervals.",
31
31
  service_file_path: File.expand_path("../chef-windows-service", $PROGRAM_NAME),
32
32
  delayed_start: true,
33
33
  dependencies: ["Winmgmt"],
@@ -24,7 +24,7 @@ require "irb"
24
24
  require "irb/completion"
25
25
  require "irb/ext/save-history"
26
26
 
27
- $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "..", "lib")))
27
+ $:.unshift(File.expand_path(File.join(__dir__, "..", "lib")))
28
28
 
29
29
  require "chef/shell"
30
30
 
@@ -18,7 +18,7 @@
18
18
  # See the License for the specific language governing permissions and
19
19
  # limitations under the License.
20
20
 
21
- $:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
21
+ $:.unshift(File.join(__dir__, "..", "lib"))
22
22
  require "chef/application/solo"
23
23
 
24
24
  Chef::Application::Solo.new.run(enforce_license: true)
@@ -23,7 +23,7 @@
23
23
  # generate will call that file, and will be registered as
24
24
  # a windows service.
25
25
 
26
- $:.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
26
+ $:.unshift(File.join(__dir__, "..", "lib"))
27
27
  require "chef"
28
28
  require "chef/application/windows_service"
29
29
 
@@ -21,7 +21,7 @@
21
21
 
22
22
  module ChefBin
23
23
  CHEFBIN_ROOT = File.expand_path("..", __dir__)
24
- VERSION = "16.4.35".freeze
24
+ VERSION = "16.6.14".freeze
25
25
  end
26
26
 
27
27
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 16.4.35
4
+ version: 16.6.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-18 00:00:00.000000000 Z
11
+ date: 2020-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 16.4.35
19
+ version: 16.6.14
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: 16.4.35
26
+ version: 16.6.14
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.1.2
87
+ rubygems_version: 3.1.4
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: Chef-branded binstubs for chef-client