kitchen-digitalocean 0.14.2 → 0.16.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 -118
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9de6874922c79e7386ec2da727bc9f955bb3b8e7e13794e7b8e1becff3fc951a
|
4
|
+
data.tar.gz: d6111a90afaa89b9e44546ccb0d1087d747ab322110aa91e47555c557512ec5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bc213c0580a2ce50dde64e7455c08f918d4973264135c8d55fa0beff2af3540915341b1bb6c06aa2ffcd37fbe2bea67d2d5e5e371641b3107b8db120f324c37
|
7
|
+
data.tar.gz: c6b8a47eec6e75dbb1a495a0ff2c5072af7a9c9b093f4ca42fa27469c5eadb2fb591f9fa920ce27ec554908b300124f18f5c79b5abb965709ab3ba51d2260c44
|
@@ -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.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Test Kitchen Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: droplet_kit
|
@@ -50,121 +50,9 @@ dependencies:
|
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '4'
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: countloc
|
55
|
-
requirement: !ruby/object:Gem::Requirement
|
56
|
-
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '0.4'
|
60
|
-
type: :development
|
61
|
-
prerelease: false
|
62
|
-
version_requirements: !ruby/object:Gem::Requirement
|
63
|
-
requirements:
|
64
|
-
- - "~>"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '0.4'
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: coveralls
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: '0.8'
|
74
|
-
type: :development
|
75
|
-
prerelease: false
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - "~>"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '0.8'
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: rake
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - ">="
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: '0'
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
requirements:
|
92
|
-
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: '0'
|
95
|
-
- !ruby/object:Gem::Dependency
|
96
|
-
name: rspec
|
97
|
-
requirement: !ruby/object:Gem::Requirement
|
98
|
-
requirements:
|
99
|
-
- - "~>"
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
version: '3.8'
|
102
|
-
type: :development
|
103
|
-
prerelease: false
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
requirements:
|
106
|
-
- - "~>"
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
version: '3.8'
|
109
|
-
- !ruby/object:Gem::Dependency
|
110
|
-
name: chefstyle
|
111
|
-
requirement: !ruby/object:Gem::Requirement
|
112
|
-
requirements:
|
113
|
-
- - '='
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: 2.2.2
|
116
|
-
type: :development
|
117
|
-
prerelease: false
|
118
|
-
version_requirements: !ruby/object:Gem::Requirement
|
119
|
-
requirements:
|
120
|
-
- - '='
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: 2.2.2
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: simplecov
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '0.9'
|
130
|
-
type: :development
|
131
|
-
prerelease: false
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
requirements:
|
134
|
-
- - "~>"
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '0.9'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: simplecov-console
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - "~>"
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '0.2'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - "~>"
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '0.2'
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: webmock
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '3.5'
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '3.5'
|
165
53
|
description: A Test Kitchen Driver for Digital Ocean
|
166
54
|
email:
|
167
|
-
-
|
55
|
+
- help@sous-chefs.org
|
168
56
|
executables: []
|
169
57
|
extensions: []
|
170
58
|
extra_rdoc_files: []
|
@@ -184,14 +72,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
184
72
|
requirements:
|
185
73
|
- - ">="
|
186
74
|
- !ruby/object:Gem::Version
|
187
|
-
version: '
|
75
|
+
version: '3.0'
|
188
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
189
77
|
requirements:
|
190
78
|
- - ">="
|
191
79
|
- !ruby/object:Gem::Version
|
192
80
|
version: '0'
|
193
81
|
requirements: []
|
194
|
-
rubygems_version: 3.
|
82
|
+
rubygems_version: 3.4.10
|
195
83
|
signing_key:
|
196
84
|
specification_version: 4
|
197
85
|
summary: A Test Kitchen Driver for Digital Ocean
|