knife-google 4.2.4 → 4.2.6

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: d44e208d9f8b1b2910f235229dfbf18460a2daf84557ff9f9106e88cba3a9c14
4
- data.tar.gz: 997fb3a20b600dfd0834e7c86f6beb39aef052a3e860d71e969d4b5a8c4c4112
3
+ metadata.gz: ffac7bed4b5402a8122a5b406e745e8f224af07bde6d5d2081d99227971f39e2
4
+ data.tar.gz: dfd93920997548e4c3412d8608479ea6f7d165cd503b5172130950cc274ed0c1
5
5
  SHA512:
6
- metadata.gz: 929822939a3953fdd2acaec85c7243f3f4b6b112de716a0853978821086c84322dbba15f684804212173263bf771e6220bf0bbabeea79821d8e8b40325d75a19
7
- data.tar.gz: ad764436c8eff9bbbd5c861fc2054a106e0b8e786107cd8ccf7b37f409ea7cb9000e2c413b750d0ee7a71ebc16c8c6a855b00df710c01cc7364c054e0d091fce
6
+ metadata.gz: 475f550113eea3fee7f3b1c6b210ede9153198737b4ace8e25f71b4453db770dd52d9edf443b187ae9f14b43e41b03d7eafbb8655fbdae996008c00c843660f4
7
+ data.tar.gz: 3d5ea65b18dee8c16838ce0832e5db87e72b3b4dbee94e7642a2b72302f029e5fd1ca6993f0b032f2e745d355c295d855a7c28ffa745431f9d57ee18b0c3f072
@@ -19,8 +19,6 @@
19
19
 
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/command"
22
- require_relative "cloud/google_service"
23
- require_relative "cloud/google_service_helpers"
24
22
  require_relative "cloud/google_service_options"
25
23
 
26
24
  class Chef::Knife::Cloud
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
30
28
 
31
29
  banner "knife google disk create NAME --gce-disk-size N (options)"
32
30
 
31
+ deps do
32
+ require_relative "cloud/google_service"
33
+ end
34
+
33
35
  option :disk_size,
34
36
  long: "--gce-disk-size SIZE",
35
37
  description: "Size of the persistent disk between 10 and 10000 GB, specified in GB; default is '10' GB",
@@ -19,8 +19,6 @@
19
19
 
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/command"
22
- require_relative "cloud/google_service"
23
- require_relative "cloud/google_service_helpers"
24
22
  require_relative "cloud/google_service_options"
25
23
 
26
24
  class Chef::Knife::Cloud
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
30
28
 
31
29
  banner "knife google disk delete NAME [NAME] (options)"
32
30
 
31
+ deps do
32
+ require_relative "cloud/google_service"
33
+ end
34
+
33
35
  def validate_params!
34
36
  check_for_missing_config_values!(:gce_zone)
35
37
  raise "You must specify at least one disk to delete." if @name_args.empty?
@@ -19,8 +19,6 @@
19
19
 
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/list_resource_command"
22
- require_relative "cloud/google_service"
23
- require_relative "cloud/google_service_helpers"
24
22
  require_relative "cloud/google_service_options"
25
23
 
26
24
  class Chef::Knife::Cloud
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
30
28
 
31
29
  banner "knife google disk list"
32
30
 
31
+ deps do
32
+ require_relative "cloud/google_service"
33
+ end
34
+
33
35
  def validate_params!
34
36
  check_for_missing_config_values!(:gce_zone)
35
37
  super
@@ -18,8 +18,6 @@
18
18
 
19
19
  require "chef/knife"
20
20
  require "chef/knife/cloud/list_resource_command"
21
- require_relative "cloud/google_service"
22
- require_relative "cloud/google_service_helpers"
23
21
  require_relative "cloud/google_service_options"
24
22
 
25
23
  class Chef::Knife::Cloud
@@ -29,6 +27,10 @@ class Chef::Knife::Cloud
29
27
 
30
28
  banner "knife google image list"
31
29
 
30
+ deps do
31
+ require_relative "cloud/google_service"
32
+ end
33
+
32
34
  def validate_params!
33
35
  check_for_missing_config_values!
34
36
  super
@@ -19,8 +19,6 @@
19
19
 
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/list_resource_command"
22
- require_relative "cloud/google_service"
23
- require_relative "cloud/google_service_helpers"
24
22
  require_relative "cloud/google_service_options"
25
23
 
26
24
  class Chef::Knife::Cloud
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
30
28
 
31
29
  banner "knife google project quotas"
32
30
 
31
+ deps do
32
+ require_relative "cloud/google_service"
33
+ end
34
+
33
35
  def validate_params!
34
36
  check_for_missing_config_values!
35
37
  super
@@ -19,8 +19,6 @@
19
19
 
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/list_resource_command"
22
- require_relative "cloud/google_service"
23
- require_relative "cloud/google_service_helpers"
24
22
  require_relative "cloud/google_service_options"
25
23
 
26
24
  class Chef::Knife::Cloud
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
30
28
 
31
29
  banner "knife google region list"
32
30
 
31
+ deps do
32
+ require_relative "cloud/google_service"
33
+ end
34
+
33
35
  def validate_params!
34
36
  check_for_missing_config_values!
35
37
  super
@@ -19,8 +19,6 @@
19
19
 
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/list_resource_command"
22
- require_relative "cloud/google_service"
23
- require_relative "cloud/google_service_helpers"
24
22
  require_relative "cloud/google_service_options"
25
23
 
26
24
  class Chef::Knife::Cloud
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
30
28
 
31
29
  banner "knife google region quotas"
32
30
 
31
+ deps do
32
+ require_relative "cloud/google_service"
33
+ end
34
+
33
35
  def validate_params!
34
36
  check_for_missing_config_values!
35
37
  super
@@ -20,8 +20,6 @@
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/server/create_command"
22
22
  require "chef/knife/cloud/server/create_options"
23
- require_relative "cloud/google_service"
24
- require_relative "cloud/google_service_helpers"
25
23
  require_relative "cloud/google_service_options"
26
24
 
27
25
  class Chef::Knife::Cloud
@@ -32,6 +30,10 @@ class Chef::Knife::Cloud
32
30
 
33
31
  banner "knife google server create NAME -m MACHINE_TYPE -I IMAGE (options)"
34
32
 
33
+ deps do
34
+ require_relative "cloud/google_service"
35
+ end
36
+
35
37
  option :machine_type,
36
38
  short: "-m MACHINE_TYPE",
37
39
  long: "--gce-machine-type MACHINE_TYPE",
@@ -20,8 +20,6 @@
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/server/delete_options"
22
22
  require "chef/knife/cloud/server/delete_command"
23
- require_relative "cloud/google_service"
24
- require_relative "cloud/google_service_helpers"
25
23
  require_relative "cloud/google_service_options"
26
24
 
27
25
  class Chef
@@ -34,6 +32,10 @@ class Chef
34
32
 
35
33
  banner "knife google server delete INSTANCE_NAME [INSTANCE_NAME] (options)"
36
34
 
35
+ deps do
36
+ require_relative "cloud/google_service"
37
+ end
38
+
37
39
  def validate_params!
38
40
  check_for_missing_config_values!
39
41
  super
@@ -20,8 +20,6 @@
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/server/list_command"
22
22
  require "chef/knife/cloud/server/list_options"
23
- require_relative "cloud/google_service"
24
- require_relative "cloud/google_service_helpers"
25
23
  require_relative "cloud/google_service_options"
26
24
 
27
25
  class Chef::Knife::Cloud
@@ -29,6 +27,10 @@ class Chef::Knife::Cloud
29
27
  include GoogleServiceHelpers
30
28
  include GoogleServiceOptions
31
29
 
30
+ deps do
31
+ require_relative "cloud/google_service"
32
+ end
33
+
32
34
  banner "knife google server list"
33
35
 
34
36
  def validate_params!
@@ -19,8 +19,6 @@
19
19
  require "chef/knife"
20
20
  require "chef/knife/cloud/server/show_options"
21
21
  require "chef/knife/cloud/server/show_command"
22
- require_relative "cloud/google_service"
23
- require_relative "cloud/google_service_helpers"
24
22
  require_relative "cloud/google_service_options"
25
23
 
26
24
  class Chef
@@ -33,6 +31,10 @@ class Chef
33
31
 
34
32
  banner "knife google server show INSTANCE_NAME (options)"
35
33
 
34
+ deps do
35
+ require_relative "cloud/google_service"
36
+ end
37
+
36
38
  def validate_params!
37
39
  check_for_missing_config_values!(:gce_zone)
38
40
  raise "You must supply an instance name to display" if @name_args.empty?
@@ -19,8 +19,6 @@
19
19
 
20
20
  require "chef/knife"
21
21
  require "chef/knife/cloud/list_resource_command"
22
- require_relative "cloud/google_service"
23
- require_relative "cloud/google_service_helpers"
24
22
  require_relative "cloud/google_service_options"
25
23
 
26
24
  class Chef::Knife::Cloud
@@ -30,6 +28,10 @@ class Chef::Knife::Cloud
30
28
 
31
29
  banner "knife google zone list"
32
30
 
31
+ deps do
32
+ require_relative "cloud/google_service"
33
+ end
34
+
33
35
  def validate_params!
34
36
  check_for_missing_config_values!
35
37
  super
@@ -15,7 +15,7 @@
15
15
  #
16
16
  module Knife
17
17
  module Google
18
- VERSION = "4.2.4"
18
+ VERSION = "4.2.6"
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: 4.2.4
4
+ version: 4.2.6
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: 2019-12-21 00:00:00.000000000 Z
16
+ date: 2020-01-29 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: knife-cloud
@@ -38,7 +38,7 @@ dependencies:
38
38
  version: 0.23.9
39
39
  - - "<"
40
40
  - !ruby/object:Gem::Version
41
- version: 0.35.0
41
+ version: 0.37.0
42
42
  type: :runtime
43
43
  prerelease: false
44
44
  version_requirements: !ruby/object:Gem::Requirement
@@ -48,7 +48,7 @@ dependencies:
48
48
  version: 0.23.9
49
49
  - - "<"
50
50
  - !ruby/object:Gem::Version
51
- version: 0.35.0
51
+ version: 0.37.0
52
52
  - !ruby/object:Gem::Dependency
53
53
  name: gcewinpass
54
54
  requirement: !ruby/object:Gem::Requirement