kitchen-digitalocean 0.14.2 → 0.15.0

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: 971c9c6063640da2c135033bdd3a08cf63770a15add5d26456ea8884d77c075b
4
- data.tar.gz: 10937bda614920bf1112179fd7ebbfe898b4bfaf24da52ca1e5b638e471a6f10
3
+ metadata.gz: a00c3b08307bfd2a2688b83a56fe7fdacf5c3ff1000a42f3818814435a4a65b7
4
+ data.tar.gz: 9be45127836cf309ce0ce33c0d1bb3aa0c46a2707203cbcd90d2064c317f37d1
5
5
  SHA512:
6
- metadata.gz: 753b0aa43ba8967748196fd20b1475e44472de1414ba1d240aefea358319b69c5b4d8eabf38c5745673f50258ec9ba487627a17fac63859f47aa031578b97c82
7
- data.tar.gz: 27a51874be192bbe6d642c47996a4c3792b1ac5ea5aefcbc4700c809af723ccceb1f212298274ef71a311dd8d6ad7a08e806dca3916aaec54eed221021dfd47a
6
+ metadata.gz: 7fe9401c98be4dd7e4c2df5b2c836e1c07072b9fdb8fec42d851105453f4a726a3da4030008c70d55b6e20a4263a9355af792b86fa982d9c3c6657f594ac3ee8
7
+ data.tar.gz: aba269e62178235b1cf4545839eeddf34c27efbaf81b32eb5b777b6fa54696ab2b78757c59403b99143692200c131a496302108dca6546d7cd8cf2c440ca6165
@@ -44,6 +44,10 @@ module Kitchen
44
44
  default_config :firewalls, nil
45
45
  default_config :vpcs, nil
46
46
 
47
+ default_config :api_url do
48
+ ENV["DIGITALOCEAN_API_URL"] || "https://api.digitalocean.com"
49
+ end
50
+
47
51
  default_config :region do
48
52
  ENV["DIGITALOCEAN_REGION"] || "nyc1"
49
53
  end
@@ -175,7 +179,7 @@ module Kitchen
175
179
  def client
176
180
  debug_client_config
177
181
 
178
- DropletKit::Client.new(access_token: config[:digitalocean_access_token])
182
+ DropletKit::Client.new(access_token: config[:digitalocean_access_token], api_url: config[:api_url])
179
183
  end
180
184
 
181
185
  def create_server
@@ -20,7 +20,7 @@
20
20
  module Kitchen
21
21
  module Driver
22
22
  # Version string for Digital Ocean Kitchen driver
23
- DIGITALOCEAN_VERSION = "0.14.2"
23
+ DIGITALOCEAN_VERSION = "0.15.0"
24
24
  end
25
25
  end
26
26
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-digitalocean
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.2
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Fitzgerald
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2023-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: droplet_kit
@@ -112,14 +112,14 @@ dependencies:
112
112
  requirements:
113
113
  - - '='
114
114
  - !ruby/object:Gem::Version
115
- version: 2.2.2
115
+ version: 2.2.3
116
116
  type: :development
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - '='
121
121
  - !ruby/object:Gem::Version
122
- version: 2.2.2
122
+ version: 2.2.3
123
123
  - !ruby/object:Gem::Dependency
124
124
  name: simplecov
125
125
  requirement: !ruby/object:Gem::Requirement
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  requirements: []
194
- rubygems_version: 3.2.3
194
+ rubygems_version: 3.4.10
195
195
  signing_key:
196
196
  specification_version: 4
197
197
  summary: A Test Kitchen Driver for Digital Ocean