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 +4 -4
- data/lib/kitchen/driver/digitalocean.rb +5 -1
- data/lib/kitchen/driver/digitalocean_version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a00c3b08307bfd2a2688b83a56fe7fdacf5c3ff1000a42f3818814435a4a65b7
|
4
|
+
data.tar.gz: 9be45127836cf309ce0ce33c0d1bb3aa0c46a2707203cbcd90d2064c317f37d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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:
|
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.
|
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.
|
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.
|
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
|