knife-zero 2.4.1 → 2.4.2

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,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ceb90219e7049a7d2dd1d168fb5ff0f3860d897345069f066d89446969e505e8
4
- data.tar.gz: afa5bfd790797872bb3c7d0a8d489404323e33ddabfb02ec9fd6acd4f8dd156d
3
+ metadata.gz: 149fbd77f85c915b104af952516f476d0b9028443b00431074617990ccb600ed
4
+ data.tar.gz: 8091b146b95a0a20d7eaf4d7c285a16e047e11f3cfaa29fb90bb15587d515768
5
5
  SHA512:
6
- metadata.gz: e7572d96c52138a67d0615c6bb9f21021a14b173a5a66d76464ae89b5c4cd116e5695fd50e837c0909534633f49aacb7617b14250839fd7e7db69d674867439e
7
- data.tar.gz: 007a81e48624135cdb6c35e96ae6a661a10fa3554e0664e8c0bb517e729d8653c32368dcf9be91b3750d7953321d5bd5f31046fc882f5009dba321400907a0a1
6
+ metadata.gz: 1703b839e001a71f139bf04737e02d49e0138428929cb2cfc646ae4e118c7d261f09708c0a4e379ae73a609308e3dcf48181f393df7de671d4640f9d7e13730c
7
+ data.tar.gz: 7943c7cc3efb38358b644e538230dcc6b9fc413cd296bcaaad37b4f48eb2c351eb964cde599e3246705a94e3ba7687a35eb487744dc6739d24e7bc57f64013c2
data/CHANGELOG.md CHANGED
@@ -3,6 +3,13 @@
3
3
  ## Unreleased
4
4
 
5
5
  none.
6
+ ## v2.4.2
7
+
8
+ - compatibility: Check knife version instead of chef version before overriding knife method [#162](https://github.com/higanworks/knife-zero/pull/162) HT [@cgunther](https://github.com/cgunther)
9
+
10
+ ## v2.4.1
11
+
12
+ - bugfix: alter_project does not work correctly at bootstraping. [#159](https://github.com/higanworks/knife-zero/issues/159) HT [@pyama86](https://github.com/pyama86)
6
13
 
7
14
  ## v2.4.0
8
15
 
@@ -1,5 +1,5 @@
1
1
  require 'chef/knife/ssh'
2
- require 'chef/version'
2
+ require 'chef/knife/version'
3
3
 
4
4
  class Chef
5
5
  class Knife
@@ -10,7 +10,7 @@ class Chef
10
10
  require 'knife-zero/helper'
11
11
  end
12
12
 
13
- if Gem::Version.new(Chef::VERSION) < Gem::Version.new("17.3.27")
13
+ if Gem::Version.new(Chef::Knife::VERSION) < Gem::Version.new("17.3.27")
14
14
  def ssh_command(command, subsession = nil) # rubocop:disable Metrics/PerceivedComplexity, Metrics/AbcSize, Metrics/CyclomaticComplexity
15
15
  if config[:client_version]
16
16
  case config[:alter_project]
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Zero
3
- VERSION = '2.4.1'.freeze
3
+ VERSION = '2.4.2'.freeze
4
4
  MAJOR, MINOR, TINY = VERSION.split('.')
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sawanoboly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-28 00:00:00.000000000 Z
11
+ date: 2021-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler