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