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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e672cac2c1f48149a9137a73ed6de23524007a0166450dab83c4bd5298bb961d
4
- data.tar.gz: b87d05c0319e8e5f7c27008c414019991b22f2ad5d8df87c5710e23c69185798
3
+ metadata.gz: a00c3b08307bfd2a2688b83a56fe7fdacf5c3ff1000a42f3818814435a4a65b7
4
+ data.tar.gz: 9be45127836cf309ce0ce33c0d1bb3aa0c46a2707203cbcd90d2064c317f37d1
5
5
  SHA512:
6
- metadata.gz: de30257dd64980a1066e3a24ce2e6ff33819948cd6e969da3653a97bef81854835a4611238234af18b5c818f5cafb1dab0e16d487248d0651497b8334e27e217
7
- data.tar.gz: 6fb5d6cb238690e9863c67de3c8ef6bfd4c54809b4ea1086f20e2bf0c92c0aec34dfb96df94f03c8f2b5f35d78baff68960f107d120e660cfd02d401df5b49f1
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.0"
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.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: 2021-10-01 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
@@ -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.1.0
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.1.0
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.5'
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.2.22
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