fog-core 2.1.0 → 2.2.3

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