kitchen-oci 1.20.1 → 1.20.2

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: cdbe8ed5cda132f28d85a1c882c78e24813be09f2b178df801f3cfa9ae48df7c
4
- data.tar.gz: 2fe8183c74c928a6775884863c952ba7b9b79b28b9e2d78c8cf8b76c9b03c891
3
+ metadata.gz: f48ec8dd3ad22c465333f13ada4460021473e7724ef39cf2069e87136c66ee7b
4
+ data.tar.gz: 39a699346ae44ca5cef24788bc3e8313cc3665a7d72cf12f77e44e61b9066be8
5
5
  SHA512:
6
- metadata.gz: c0124726ea7e49fb87ae629b655801b2732a425990d5c289c36953244660dd47f41f60da9050824f2c689cfae208a6f3044243209aa0d3f084bfa2294e723529
7
- data.tar.gz: 00314f3f25a026949491de79498386359b10e33f142662eb5f6a0191ce0db21e999bfbbb8ad3fcaadc0cd784a64a743493d90d8ea02a66f92c40c81adac62d3a
6
+ metadata.gz: 15033fffadf3a1b0d9f53b51cb06085a55af0a4e395362b63e93a7be12557ac52f9fedf47faf259ccaaaccb829baccb3c5aa1264f25f13086a5a9f42a550329c
7
+ data.tar.gz: 39ecbf8d16c0cda53559b2a103a59e0611d92805807bb62a755291e1e7b72d8d486474e198ee9f202850cce3e7357abf67a4e2e79e3d2be0e60ae243b0fe9f26
@@ -71,7 +71,7 @@ module Kitchen
71
71
  default_config :use_instance_principals, false
72
72
  default_config :use_token_auth, false
73
73
  default_config :shape_config, {}
74
- default_config :nsg_ids, []
74
+ default_config :nsg_ids, nil
75
75
  default_config :all_plugins_disabled, false
76
76
  default_config :management_disabled, false
77
77
  default_config :monitoring_disabled, false
@@ -94,7 +94,9 @@ module Kitchen
94
94
  end
95
95
 
96
96
  validations[:nsg_ids] = lambda do |attr, val, driver|
97
- validation_error("[:#{attr}] list cannot be longer than 5 items", driver) if val.length > 5
97
+ unless val.nil?
98
+ validation_error("[:#{attr}] list cannot be longer than 5 items", driver) if val.length > 5
99
+ end
98
100
  end
99
101
 
100
102
  validations[:volumes] = lambda do |attr, val, driver|
@@ -20,6 +20,6 @@
20
20
  module Kitchen
21
21
  module Driver
22
22
  # Version string for Oracle OCI Kitchen driver
23
- OCI_VERSION = "1.20.1"
23
+ OCI_VERSION = "1.20.2"
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-oci
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.1
4
+ version: 1.20.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Pearson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-05-17 00:00:00.000000000 Z
12
+ date: 2024-05-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: oci