knife-google 5.0.8 → 5.0.11

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: 72ef76e8f1b4c355ddf0f36b75af5887521b3544c0edf7136c288df84e62d5bf
4
- data.tar.gz: ac2002145bc2598cd86112ad053f147f92aa697f34465f88ccc95c2e476e4353
3
+ metadata.gz: f5d7f6fe6c7b73d74cd886d74afce562b1b5decd20217158ce5cfe2d07c01159
4
+ data.tar.gz: 7f16a26912877044dace963a17514d23ee53ea34fa8bdf56d4fca31b6deaf445
5
5
  SHA512:
6
- metadata.gz: 15c5e506ee331ce9810acb58038f4653a65cec713b569aec76ab0515e3b9d732a17f0a8e5d80f28863f46fbf0d68e44f4e3b8a5be4816ad95d3559b54ed6f79e
7
- data.tar.gz: 82486fa79b2fd566d7321d916ee94308b6cc7f719886b4047ed9fe5c8cda47b779a7e83041d1918020fbb2a0a4be53e817b5d725ddd3ddaf2b71fa436a35b0d7
6
+ metadata.gz: 4171868bccefed161f8bca3603f09f1413a17f7df0241513f9584452f25474f1e84a49b6d885e8da0b390cf6de1b5ddfd39a40dfd485b436498b8ca3126ed17f
7
+ data.tar.gz: 0f8fe814751df5b97a93525ef028b557912ea00638ec91c3631cd15af5699e853085db13ae3218620e0dbf5e473395604c556e32a300d2706c1bae162bdb0c23
@@ -412,8 +412,7 @@ class Chef::Knife::Cloud
412
412
 
413
413
  latest_image = connection.list_images(image_project).items
414
414
  .select { |image| image.name.start_with?(image_prefix) }
415
- .sort_by(&:name)
416
- .last
415
+ .max_by(&:name)
417
416
 
418
417
  return if latest_image.nil?
419
418
 
@@ -225,7 +225,7 @@ class Chef::Knife::Cloud
225
225
  def before_bootstrap
226
226
  super
227
227
 
228
- config[:chef_node_name] = config[:chef_node_name] ? config[:chef_node_name] : instance_name
228
+ config[:chef_node_name] = config[:chef_node_name] || instance_name
229
229
  config[:bootstrap_ip_address] = ip_address_for_bootstrap
230
230
 
231
231
  if config[:image_os_type] == "windows"
@@ -15,7 +15,7 @@
15
15
  #
16
16
  module Knife
17
17
  module Google
18
- VERSION = "5.0.8"
18
+ VERSION = "5.0.11"
19
19
  MAJOR, MINOR, TINY = VERSION.split(".")
20
20
  end
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-google
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.8
4
+ version: 5.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chiraq Jog
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2020-08-21 00:00:00.000000000 Z
16
+ date: 2021-05-24 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: chef
@@ -52,7 +52,7 @@ dependencies:
52
52
  version: 0.23.9
53
53
  - - "<"
54
54
  - !ruby/object:Gem::Version
55
- version: 0.43.0
55
+ version: 0.53.0
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
@@ -62,7 +62,7 @@ dependencies:
62
62
  version: 0.23.9
63
63
  - - "<"
64
64
  - !ruby/object:Gem::Version
65
- version: 0.43.0
65
+ version: 0.53.0
66
66
  - !ruby/object:Gem::Dependency
67
67
  name: gcewinpass
68
68
  requirement: !ruby/object:Gem::Requirement
@@ -114,14 +114,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: '2.6'
117
+ version: '2.7'
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: '0'
123
123
  requirements: []
124
- rubygems_version: 3.0.3
124
+ rubygems_version: 3.1.4
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: Google Compute Engine Support for Chef's Knife Command