kitchen-digitalocean 0.14.0 → 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 +6 -20
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
|
@@ -50,20 +50,6 @@ dependencies:
|
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '4'
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: cane
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '3.0'
|
60
|
-
type: :development
|
61
|
-
prerelease: false
|
62
|
-
version_requirements: !ruby/object:Gem::Requirement
|
63
|
-
requirements:
|
64
|
-
- - "~>"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '3.0'
|
67
53
|
- !ruby/object:Gem::Dependency
|
68
54
|
name: countloc
|
69
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,14 +112,14 @@ dependencies:
|
|
126
112
|
requirements:
|
127
113
|
- - '='
|
128
114
|
- !ruby/object:Gem::Version
|
129
|
-
version: 2.
|
115
|
+
version: 2.2.3
|
130
116
|
type: :development
|
131
117
|
prerelease: false
|
132
118
|
version_requirements: !ruby/object:Gem::Requirement
|
133
119
|
requirements:
|
134
120
|
- - '='
|
135
121
|
- !ruby/object:Gem::Version
|
136
|
-
version: 2.
|
122
|
+
version: 2.2.3
|
137
123
|
- !ruby/object:Gem::Dependency
|
138
124
|
name: simplecov
|
139
125
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,14 +184,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
198
184
|
requirements:
|
199
185
|
- - ">="
|
200
186
|
- !ruby/object:Gem::Version
|
201
|
-
version: '2.
|
187
|
+
version: '2.7'
|
202
188
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
189
|
requirements:
|
204
190
|
- - ">="
|
205
191
|
- !ruby/object:Gem::Version
|
206
192
|
version: '0'
|
207
193
|
requirements: []
|
208
|
-
rubygems_version: 3.
|
194
|
+
rubygems_version: 3.4.10
|
209
195
|
signing_key:
|
210
196
|
specification_version: 4
|
211
197
|
summary: A Test Kitchen Driver for Digital Ocean
|