chef-bin 15.12.22 → 15.16.4

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: 5d6ec2247cb7b7e90228e244a813ab5e10a6f61de12b36b8a11414c4841ab2a9
4
- data.tar.gz: 6a4b4146a2f203bf92ba827adaad5314c2aacdd51c471b76621a0e32e255c742
3
+ metadata.gz: 0bd0cc512448728df3434002f937cf3df2235c341a470becf4e85914572c4950
4
+ data.tar.gz: de4dea413bd01cfc5035fbc98fd01aec95a7a04c4f99b4088914a3ecb22418e6
5
5
  SHA512:
6
- metadata.gz: c78fd995bb22afa68f0466db55d47b6d6d00e77e85a006bb4bf95f3e4c883f6edd92b133d3c0a82ed9037baed87093ff7991a450e00f6bb5e8478b214c6193b9
7
- data.tar.gz: b4f46ea67e3be03babfb57b67821c287b75a53d53923027f4fcc58f78db37a69b66d3d574849b532359317139d0c82bc56d2e67ded6e55696c1a1a18f3a30e55
6
+ metadata.gz: 4afb53f7183fa405b8f67073d2c86663e2aeb60339f455d3cc9c34c2a937c092e2e9cbfd973fdcebae037b847fb19ec6dee51492afbbf6774ac42b6c008bd0e7
7
+ data.tar.gz: 542788050677200529ad4970fbb511c7db56c3474bbeabc4dcfb812b43a9a252bbd1d37cc250cc7f9d62d2f3dde4f40812367a7c1bb940f6da2e2c92a949324b
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
1
  # we need to force the install in order to overwrite the binstubs from
2
2
  # old chef gems.
3
3
 
4
+ require "bundler/gem_helper"
5
+
4
6
  Bundler::GemHelper.install_tasks
5
7
 
6
8
  # this is necessary to use to overwrite any chef-14 or earlier era gem which has the bin files in
@@ -8,7 +10,7 @@ Bundler::GemHelper.install_tasks
8
10
  desc "force install the chef-bin gem"
9
11
  task "install:force" do
10
12
  sh "gem build -V chef-bin.gemspec"
11
- 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) }
12
14
  FileUtils.mkdir_p("pkg") unless Dir.exist?("pkg")
13
15
  FileUtils.mv(built_gem_path, "pkg")
14
16
  sh "gem install -f pkg/#{built_gem_path}"
data/chef-bin.gemspec CHANGED
@@ -1,5 +1,4 @@
1
- # coding: utf-8
2
- lib = File.expand_path("../lib", __FILE__)
1
+ lib = File.expand_path("lib", __dir__)
3
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
3
  require "chef-bin/version"
5
4
 
@@ -20,8 +20,8 @@
20
20
  # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
21
21
 
22
22
  module ChefBin
23
- CHEFBIN_ROOT = File.expand_path("../..", __FILE__)
24
- VERSION = "15.12.22".freeze
23
+ CHEFBIN_ROOT = File.expand_path("..", __dir__)
24
+ VERSION = "15.16.4".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: 15.12.22
4
+ version: 15.16.4
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-06-26 00:00:00.000000000 Z
11
+ date: 2021-03-26 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: 15.12.22
19
+ version: 15.16.4
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: 15.12.22
26
+ version: 15.16.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement