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