fog-core 2.1.0 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/stale.yml +17 -0
- data/CONTRIBUTING.md +5 -1
- data/Rakefile +2 -2
- data/changelog.md +182 -141
- data/fog-core.gemspec +1 -1
- data/lib/fog/account.rb +0 -16
- data/lib/fog/billing.rb +0 -11
- data/lib/fog/compute.rb +0 -22
- data/lib/fog/core/attributes.rb +14 -2
- data/lib/fog/core/connection.rb +3 -5
- data/lib/fog/core/provider.rb +36 -4
- data/lib/fog/core/scp.rb +2 -1
- data/lib/fog/core/services_mixin.rb +55 -4
- data/lib/fog/core/ssh.rb +47 -24
- data/lib/fog/core/version.rb +1 -1
- data/lib/fog/dns.rb +0 -11
- data/lib/fog/monitoring.rb +0 -11
- data/lib/fog/network.rb +0 -12
- data/lib/fog/storage.rb +0 -14
- data/lib/fog/support.rb +0 -12
- data/lib/fog/vpn.rb +0 -12
- data/spec/compute_spec.rb +13 -13
- data/spec/identity_spec.rb +14 -14
- data/spec/storage_spec.rb +15 -17
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0e12788f1604380c50ec19c246cacdd74d769a04d71ee56660bc3c5bc62238ae
|
4
|
+
data.tar.gz: d0bfdca7690d42db8771d84dd1fdb8b7d013b2d719071ee4165be900f14ae788
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f1e44a5714c271433bc108ba068006b98ab2acbb88319db688a63ef0ed0cb1d567fcb6c254fb96a6df527a4ff3e0e7f0f1d8e258f2eb6a8d43b05552e905c7f
|
7
|
+
data.tar.gz: afcb84b9410a1361aa87a019bdf6934a428780d50713edd5da98c32104d4d3a3c813aef048f2368888b74da2718f6fea6a0c0cdade6ced7b29837ebc515db2a3
|
data/.github/stale.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# Number of days of inactivity before an issue becomes stale
|
2
|
+
daysUntilStale: 60
|
3
|
+
# Number of days of inactivity before a stale issue is closed
|
4
|
+
daysUntilClose: 7
|
5
|
+
# Issues with these labels will never be considered stale
|
6
|
+
exemptLabels:
|
7
|
+
- pinned
|
8
|
+
- security
|
9
|
+
# Label to use when marking an issue as stale
|
10
|
+
staleLabel: wontfix
|
11
|
+
# Comment to post when marking an issue as stale. Set to `false` to disable
|
12
|
+
markComment: >
|
13
|
+
This issue has been automatically marked stale due to inactivity.
|
14
|
+
It will be closed if no further activity occurs.
|
15
|
+
Thank you for your contributions.
|
16
|
+
# Comment to post when closing a stale issue. Set to `false` to disable
|
17
|
+
closeComment: false
|
data/CONTRIBUTING.md
CHANGED
@@ -8,7 +8,11 @@ New contributors are always welcome, when it doubt please ask questions. We stri
|
|
8
8
|
* Offer feedback on open [pull requests](https://github.com/fog/fog-core/pulls).
|
9
9
|
* Review open [issues](https://github.com/fog/fog-core/issues) for things to help on.
|
10
10
|
* [Create an issue](https://github.com/fog/fog-core/issues/new) to start a discussion on additions or features.
|
11
|
-
* Fork the project
|
11
|
+
* Fork the project
|
12
|
+
* Setup
|
13
|
+
* bundle install
|
14
|
+
* bundle exec rake
|
15
|
+
* Add your changes and tests to cover them in a topic branch.
|
12
16
|
* Commit your changes and rebase against `fog/fog-core` to ensure everything is up to date.
|
13
17
|
* [Submit a pull request](https://github.com/fog/fog-core/compare/)
|
14
18
|
|
data/Rakefile
CHANGED
data/changelog.md
CHANGED
@@ -1,295 +1,336 @@
|
|
1
|
+
2.2.2 09/15/2020
|
2
|
+
==========================================================
|
3
|
+
|
4
|
+
Fix #underscore name to be class method (instead of instance method)
|
5
|
+
|
6
|
+
2.2.1 09/15/2020
|
7
|
+
==========================================================
|
8
|
+
|
9
|
+
- Change to verify_host_key never in ssh/scp if supported
|
10
|
+
- Allow either downcased and underscored provider names for broader compatability
|
11
|
+
|
12
|
+
2.2.0 12/17/2019
|
13
|
+
==========================================================
|
14
|
+
|
15
|
+
- Add explanation for service/provider format deprecation.
|
16
|
+
- Fix formatting of changelog
|
17
|
+
- Better logging around required providers for easier debugging.
|
18
|
+
- bump excon version
|
19
|
+
- add bundler gem tasks
|
20
|
+
|
21
|
+
2.1.2 09/04/2018
|
22
|
+
==========================================================
|
23
|
+
|
24
|
+
- fix typo in ssh options handling
|
25
|
+
|
26
|
+
2.1.1 09/04/2018
|
27
|
+
==========================================================
|
28
|
+
|
29
|
+
- deprecate attributes not defined by DSL
|
30
|
+
- fix path_prefix warnings
|
31
|
+
- update to enforce best practices
|
32
|
+
- extract parts of ssh to private methods
|
33
|
+
- deprecate wrong provider names
|
34
|
+
|
35
|
+
|
1
36
|
2.1.0 03/10/2018
|
2
37
|
==========================================================
|
3
38
|
|
4
|
-
remove libvirt_uri duplication
|
5
|
-
fix dnsimple auth variables
|
6
|
-
add kubevirt provider
|
7
|
-
fix net-ssh paranoid deprecation
|
8
|
-
fix nil fetch on object reload
|
39
|
+
- remove libvirt_uri duplication
|
40
|
+
- fix dnsimple auth variables
|
41
|
+
- add kubevirt provider
|
42
|
+
- fix net-ssh paranoid deprecation
|
43
|
+
- fix nil fetch on object reload
|
9
44
|
|
10
45
|
2.0.0 01/03/2018
|
11
46
|
==========================================================
|
12
47
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
48
|
+
- Breaking Changes
|
49
|
+
- Association reload - model#reload now resets the model
|
50
|
+
to the current remote state. See discussion in
|
51
|
+
https://github.com/fog/fog-aws/pull/433,
|
52
|
+
particularly 24ea4675bfd28c93d1344bf666ebafd0f4826b8f
|
53
|
+
- drop ruby <2 support
|
54
|
+
- Added
|
55
|
+
- add mime-type dependency
|
56
|
+
- Fixed
|
57
|
+
- fix deprecation warning from net-ssh
|
17
58
|
|
18
59
|
1.45.0 08/01/2017
|
19
60
|
==========================================================
|
20
61
|
|
21
|
-
remove xmlrpc requirement/usage
|
22
|
-
fix for nested const across ruby versions
|
23
|
-
remove array#sample usage for legacy ruby compatibility
|
24
|
-
simplify uniq for cache and fix for legacy ruby
|
25
|
-
remove debugging puts from cache
|
26
|
-
tweak tins version for 1.9
|
27
|
-
loosen 2.1.x travis config to 2.1
|
28
|
-
add 1.9 compatible term-ansicolor
|
29
|
-
fix rubocop for 1.9.3
|
30
|
-
enable metadata for cache
|
31
|
-
add specs for server#sshable
|
32
|
-
add exponential backoff for server#sshable?
|
33
|
-
add server#ready? to base server for clarity
|
34
|
-
bump excon dependency
|
62
|
+
- remove xmlrpc requirement/usage
|
63
|
+
- fix for nested const across ruby versions
|
64
|
+
- remove array#sample usage for legacy ruby compatibility
|
65
|
+
- simplify uniq for cache and fix for legacy ruby
|
66
|
+
- remove debugging puts from cache
|
67
|
+
- tweak tins version for 1.9
|
68
|
+
- loosen 2.1.x travis config to 2.1
|
69
|
+
- add 1.9 compatible term-ansicolor
|
70
|
+
- fix rubocop for 1.9.3
|
71
|
+
- enable metadata for cache
|
72
|
+
- add specs for server#sshable
|
73
|
+
- add exponential backoff for server#sshable?
|
74
|
+
- add server#ready? to base server for clarity
|
75
|
+
- bump excon dependency
|
35
76
|
|
36
77
|
1.44.3 05/25/2017
|
37
78
|
==========================================================
|
38
79
|
|
39
|
-
fix cache when no home directory defined
|
80
|
+
- fix cache when no home directory defined
|
40
81
|
|
41
82
|
1.44.2 05/18/2017
|
42
83
|
==========================================================
|
43
84
|
|
44
|
-
fix homedirectory usage for caching
|
85
|
+
- fix homedirectory usage for caching
|
45
86
|
|
46
87
|
1.44.1 05/01/2017
|
47
88
|
==========================================================
|
48
89
|
|
49
|
-
remove xml-rpc dependency (as it is causing issues)
|
90
|
+
- remove xml-rpc dependency (as it is causing issues)
|
50
91
|
|
51
92
|
1.44.0 04/28/2017
|
52
93
|
==========================================================
|
53
94
|
|
54
|
-
add basic caching support
|
95
|
+
- add basic caching support
|
55
96
|
|
56
97
|
1.43.0 09/28/2016
|
57
98
|
==========================================================
|
58
99
|
|
59
|
-
fix digitalocean compatibility
|
60
|
-
update README badges
|
100
|
+
- fix digitalocean compatibility
|
101
|
+
- update README badges
|
61
102
|
|
62
103
|
1.42.0 07/05/2016
|
63
104
|
==========================================================
|
64
105
|
|
65
|
-
make namespace detection fix 1.8.x compatible
|
106
|
+
- make namespace detection fix 1.8.x compatible
|
66
107
|
|
67
108
|
1.41.0 07/01/2016
|
68
109
|
==========================================================
|
69
110
|
|
70
|
-
bump as 1.40.1 is not showing up in some cases
|
111
|
+
- bump as 1.40.1 is not showing up in some cases
|
71
112
|
|
72
113
|
1.40.1 06/28/2016
|
73
114
|
==========================================================
|
74
115
|
|
75
|
-
fix namespace constant detection
|
116
|
+
- fix namespace constant detection
|
76
117
|
|
77
118
|
1.40.0 05/19/2016
|
78
119
|
==========================================================
|
79
120
|
|
80
|
-
add minitest helpers for schema (parity to shindo)
|
121
|
+
- add minitest helpers for schema (parity to shindo)
|
81
122
|
|
82
123
|
1.39.0 05/11/2016
|
83
124
|
==========================================================
|
84
125
|
|
85
|
-
cleanup warnings
|
86
|
-
add NFV module
|
87
|
-
only dup frozen strings
|
126
|
+
- cleanup warnings
|
127
|
+
- add NFV module
|
128
|
+
- only dup frozen strings
|
88
129
|
|
89
130
|
1.38.0 04/20/2016
|
90
131
|
==========================================================
|
91
132
|
|
92
|
-
more specific service not found error
|
93
|
-
fix string freeze issue for ruby 2.3
|
94
|
-
bump excon dep
|
133
|
+
- more specific service not found error
|
134
|
+
- fix string freeze issue for ruby 2.3
|
135
|
+
- bump excon dep
|
95
136
|
|
96
137
|
1.37.0 03/31/2016
|
97
138
|
==========================================================
|
98
139
|
|
99
|
-
remove hp from providers
|
100
|
-
re-raise mime-type error, rather than exiting
|
101
|
-
fix tests
|
102
|
-
add introspection module
|
140
|
+
- remove hp from providers
|
141
|
+
- re-raise mime-type error, rather than exiting
|
142
|
+
- fix tests
|
143
|
+
- add introspection module
|
103
144
|
|
104
145
|
1.36.0 02/23/2016
|
105
146
|
==========================================================
|
106
147
|
|
107
|
-
default digitalocean to v2
|
108
|
-
fix eager/auto-loading
|
109
|
-
add cloud-at-cost
|
148
|
+
- default digitalocean to v2
|
149
|
+
- fix eager/auto-loading
|
150
|
+
- add cloud-at-cost
|
110
151
|
|
111
152
|
1.35.0 11/24/2015
|
112
153
|
==========================================================
|
113
154
|
|
114
|
-
make mime/types require optional
|
115
|
-
fix warnings about net-ssh vs net-cp
|
155
|
+
- make mime/types require optional
|
156
|
+
- fix warnings about net-ssh vs net-cp
|
116
157
|
|
117
158
|
1.34.0 11/16/2015
|
118
159
|
==========================================================
|
119
160
|
|
120
|
-
make net/ssh and net/scp requires optional
|
161
|
+
- make net/ssh and net/scp requires optional
|
121
162
|
|
122
163
|
1.33.0 11/15/2015
|
123
164
|
==========================================================
|
124
165
|
|
125
|
-
relax net/ssh and net/scp requirement
|
166
|
+
- relax net/ssh and net/scp requirement
|
126
167
|
|
127
168
|
1.32.1 08/12/2015
|
128
169
|
==========================================================
|
129
170
|
|
130
|
-
expose identities in models
|
171
|
+
- expose identities in models
|
131
172
|
|
132
173
|
1.32.0 07/02/2015
|
133
174
|
==========================================================
|
134
175
|
|
135
|
-
fix/refactor service initializers
|
176
|
+
- fix/refactor service initializers
|
136
177
|
|
137
178
|
1.31.1 06/17/2015
|
138
179
|
==========================================================
|
139
180
|
|
140
|
-
fixes around unknown providers/services
|
181
|
+
- fixes around unknown providers/services
|
141
182
|
|
142
183
|
1.31.0 06/17/2015
|
143
184
|
==========================================================
|
144
185
|
|
145
|
-
use relative paths
|
146
|
-
add digital ocean examples
|
147
|
-
reinstate baremetal
|
148
|
-
add softlayer examples
|
149
|
-
add digital ocean v2 support
|
150
|
-
setup fog model equality to check identities (if available)
|
151
|
-
use Fog.interval in wait_for
|
152
|
-
reduce memory footprint
|
153
|
-
fix account handling
|
186
|
+
- use relative paths
|
187
|
+
- add digital ocean examples
|
188
|
+
- reinstate baremetal
|
189
|
+
- add softlayer examples
|
190
|
+
- add digital ocean v2 support
|
191
|
+
- setup fog model equality to check identities (if available)
|
192
|
+
- use Fog.interval in wait_for
|
193
|
+
- reduce memory footprint
|
194
|
+
- fix account handling
|
154
195
|
|
155
196
|
1.30.0 04/02/2015
|
156
197
|
==========================================================
|
157
198
|
|
158
|
-
bump excon dep
|
159
|
-
use float times, instead of integers for Fog::Time
|
160
|
-
don't raise if final wait_for yield true
|
161
|
-
fix bug around formatador and #map on models
|
162
|
-
fix around `to_time` to avoid conflicts with Rails monkey patches
|
163
|
-
update specs
|
164
|
-
update style
|
165
|
-
fix `WhitelistKeys` for 1.8.7
|
166
|
-
remove unreachable code
|
167
|
-
convert hash helpers to minispec
|
168
|
-
fix require order for coverage
|
169
|
-
fix ruby 2.2 warning
|
170
|
-
bump excon dependency
|
171
|
-
fix readme link
|
199
|
+
- bump excon dep
|
200
|
+
- use float times, instead of integers for Fog::Time
|
201
|
+
- don't raise if final wait_for yield true
|
202
|
+
- fix bug around formatador and #map on models
|
203
|
+
- fix around `to_time` to avoid conflicts with Rails monkey patches
|
204
|
+
- update specs
|
205
|
+
- update style
|
206
|
+
- fix `WhitelistKeys` for 1.8.7
|
207
|
+
- remove unreachable code
|
208
|
+
- convert hash helpers to minispec
|
209
|
+
- fix require order for coverage
|
210
|
+
- fix ruby 2.2 warning
|
211
|
+
- bump excon dependency
|
212
|
+
- fix readme link
|
172
213
|
|
173
214
|
1.29.0 02/19/2015
|
174
215
|
==========================================================
|
175
216
|
|
176
|
-
minor refactoring
|
177
|
-
add ability to add additional user agent info to requests
|
217
|
+
- minor refactoring
|
218
|
+
- add ability to add additional user agent info to requests
|
178
219
|
|
179
220
|
1.28.0 01/30/2015
|
180
221
|
==========================================================
|
181
222
|
|
182
|
-
add Fog::Baremetal
|
223
|
+
- add Fog::Baremetal
|
183
224
|
|
184
225
|
1.27.4 01/26/2015
|
185
226
|
==========================================================
|
186
227
|
|
187
|
-
model fix for new formatador usage
|
188
|
-
fixes around formatador delegation
|
228
|
+
- model fix for new formatador usage
|
229
|
+
- fixes around formatador delegation
|
189
230
|
|
190
231
|
1.27.3 12/01/2014
|
191
232
|
==========================================================
|
192
233
|
|
193
|
-
rubocop fixes for fog collection
|
194
|
-
simpler ruby version checking/skipping
|
195
|
-
fix requires_one
|
234
|
+
- rubocop fixes for fog collection
|
235
|
+
- simpler ruby version checking/skipping
|
236
|
+
- fix requires_one
|
196
237
|
|
197
238
|
1.27.2 18/12/2014
|
198
239
|
==========================================================
|
199
240
|
|
200
|
-
fix several requires in service abstraction code
|
241
|
+
- fix several requires in service abstraction code
|
201
242
|
|
202
243
|
1.27.1 12/12/2014
|
203
244
|
==========================================================
|
204
245
|
|
205
|
-
fix typo in model load paths fix
|
246
|
+
- fix typo in model load paths fix
|
206
247
|
|
207
248
|
1.27.0 12/12/2014
|
208
249
|
==========================================================
|
209
250
|
|
210
|
-
return fog/bin stuff to fog/fog
|
211
|
-
add support for multiple request/model load paths
|
251
|
+
- return fog/bin stuff to fog/fog
|
252
|
+
- add support for multiple request/model load paths
|
212
253
|
|
213
254
|
|
214
255
|
1.26.0 12/02/2014
|
215
256
|
==========================================================
|
216
257
|
|
217
|
-
remove rackspace logic
|
218
|
-
use new travis builds
|
219
|
-
fix error handling around credential fetch
|
220
|
-
move fog/bin stuff to fog-core
|
221
|
-
fix circular reference in collection.rb
|
258
|
+
- remove rackspace logic
|
259
|
+
- use new travis builds
|
260
|
+
- fix error handling around credential fetch
|
261
|
+
- move fog/bin stuff to fog-core
|
262
|
+
- fix circular reference in collection.rb
|
222
263
|
|
223
264
|
|
224
265
|
1.25.0 11/18/2014
|
225
266
|
==========================================================
|
226
267
|
|
227
|
-
add alias options for associations
|
228
|
-
improve spec message
|
229
|
-
add feature to overwrite keys on hash of attributes generation
|
230
|
-
remove method_missing from model
|
231
|
-
add rubocop
|
232
|
-
fix rubocop warnings
|
233
|
-
return collections on association getters
|
234
|
-
fix require bug in service
|
235
|
-
put fog and fog-core versions in user agent
|
236
|
-
don't mutate/destroy encoding in get_body_size
|
237
|
-
fix error output in from const_get usage
|
238
|
-
separate to have distinct version from fog
|
268
|
+
- add alias options for associations
|
269
|
+
- improve spec message
|
270
|
+
- add feature to overwrite keys on hash of attributes generation
|
271
|
+
- remove method_missing from model
|
272
|
+
- add rubocop
|
273
|
+
- fix rubocop warnings
|
274
|
+
- return collections on association getters
|
275
|
+
- fix require bug in service
|
276
|
+
- put fog and fog-core versions in user agent
|
277
|
+
- don't mutate/destroy encoding in get_body_size
|
278
|
+
- fix error output in from const_get usage
|
279
|
+
- separate to have distinct version from fog
|
239
280
|
|
240
281
|
|
241
282
|
1.24.0 08/26/2014
|
242
283
|
==========================================================
|
243
284
|
|
244
|
-
fixes for defaulting attributes
|
245
|
-
add method for getting all attributes
|
246
|
-
add methods for associations
|
247
|
-
add all_attributes, all_associations and all_associations_and_attributes helper methods
|
248
|
-
remove no-longer-needed gem update on travis
|
249
|
-
add all_values
|
250
|
-
fixes to avoid path conflicts with fog/fog
|
285
|
+
- fixes for defaulting attributes
|
286
|
+
- add method for getting all attributes
|
287
|
+
- add methods for associations
|
288
|
+
- add all_attributes, all_associations and all_associations_and_attributes helper methods
|
289
|
+
- remove no-longer-needed gem update on travis
|
290
|
+
- add all_values
|
291
|
+
- fixes to avoid path conflicts with fog/fog
|
251
292
|
|
252
293
|
1.23.0 07/16/2014
|
253
294
|
==========================================================
|
254
295
|
|
255
|
-
attribute whitelisting
|
256
|
-
abstract out stringify for possible reuse
|
257
|
-
more specific naming
|
258
|
-
reorg
|
259
|
-
add path_prefix
|
260
|
-
fix time conversion to work with XMLRPC
|
261
|
-
add more specific per-type attribute tests
|
262
|
-
lock down rest-client for 1.8.7
|
263
|
-
allow namespace flipflop for dns
|
264
|
-
fix identity lookup
|
265
|
-
better default attribute value setting
|
266
|
-
bump excon
|
296
|
+
- attribute whitelisting
|
297
|
+
- abstract out stringify for possible reuse
|
298
|
+
- more specific naming
|
299
|
+
- reorg
|
300
|
+
- add path_prefix
|
301
|
+
- fix time conversion to work with XMLRPC
|
302
|
+
- add more specific per-type attribute tests
|
303
|
+
- lock down rest-client for 1.8.7
|
304
|
+
- allow namespace flipflop for dns
|
305
|
+
- fix identity lookup
|
306
|
+
- better default attribute value setting
|
307
|
+
- bump excon
|
267
308
|
|
268
309
|
1.22.0 04/17/2014 1c086852e40e4c1ad7ed138834e4a1505ddb1416
|
269
310
|
==========================================================
|
270
311
|
|
271
|
-
attribute whitelisting
|
272
|
-
abstract out stringify for possible reuse
|
273
|
-
more specific naming
|
274
|
-
reorg
|
275
|
-
add path_prefix
|
276
|
-
fix time conversion to work with XMLRPC
|
277
|
-
add more specific per-type attribute tests
|
278
|
-
lock down rest-client for 1.8.7
|
279
|
-
allow namespace flipflop for dns
|
280
|
-
fix identity lookup
|
281
|
-
better default attribute value setting
|
282
|
-
bump excon
|
312
|
+
- attribute whitelisting
|
313
|
+
- abstract out stringify for possible reuse
|
314
|
+
- more specific naming
|
315
|
+
- reorg
|
316
|
+
- add path_prefix
|
317
|
+
- fix time conversion to work with XMLRPC
|
318
|
+
- add more specific per-type attribute tests
|
319
|
+
- lock down rest-client for 1.8.7
|
320
|
+
- allow namespace flipflop for dns
|
321
|
+
- fix identity lookup
|
322
|
+
- better default attribute value setting
|
323
|
+
- bump excon
|
283
324
|
|
284
325
|
1.22.0 04/17/2014 1c086852e40e4c1ad7ed138834e4a1505ddb1416
|
285
326
|
==========================================================
|
286
327
|
|
287
|
-
tests/cleanup/fixes
|
328
|
+
- tests/cleanup/fixes
|
288
329
|
|
289
330
|
1.21.1 03/18/2014 3a803405ba60ded421f4bd14677cd3c76cb7e6ab
|
290
331
|
==========================================================
|
291
332
|
|
292
|
-
remove json/xml modules and code
|
293
|
-
add travis/coveralls
|
294
|
-
update from upstream
|
295
|
-
bump/loosen excon dependency
|
333
|
+
- remove json/xml modules and code
|
334
|
+
- add travis/coveralls
|
335
|
+
- update from upstream
|
336
|
+
- bump/loosen excon dependency
|