gitlab-fog-azure-rm 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +1 -1
  3. data/.rubocop.yml +3 -0
  4. data/CHANGELOG.md +4 -0
  5. data/Gemfile +0 -3
  6. data/gitlab-fog-azure-rm.gemspec +7 -1
  7. data/lib/fog/azurerm/version.rb +1 -1
  8. metadata +146 -93
  9. data/vendor/azure-storage-ruby/.env_sample +0 -8
  10. data/vendor/azure-storage-ruby/.gitignore +0 -35
  11. data/vendor/azure-storage-ruby/.rubocop.yml +0 -132
  12. data/vendor/azure-storage-ruby/.travis.yml +0 -23
  13. data/vendor/azure-storage-ruby/BreakingChanges.md +0 -34
  14. data/vendor/azure-storage-ruby/CONTRIBUTING.md +0 -74
  15. data/vendor/azure-storage-ruby/ChangeLog.md +0 -198
  16. data/vendor/azure-storage-ruby/Gemfile +0 -41
  17. data/vendor/azure-storage-ruby/README.md +0 -48
  18. data/vendor/azure-storage-ruby/Rakefile +0 -216
  19. data/vendor/azure-storage-ruby/SECURITY.md +0 -41
  20. data/vendor/azure-storage-ruby/blob/BreakingChanges.md +0 -10
  21. data/vendor/azure-storage-ruby/blob/ChangeLog.md +0 -33
  22. data/vendor/azure-storage-ruby/blob/Gemfile +0 -30
  23. data/vendor/azure-storage-ruby/blob/LICENSE.txt +0 -21
  24. data/vendor/azure-storage-ruby/blob/README.md +0 -188
  25. data/vendor/azure-storage-ruby/blob/azure-storage-blob.gemspec +0 -52
  26. data/vendor/azure-storage-ruby/common/BreakingChanges.md +0 -8
  27. data/vendor/azure-storage-ruby/common/ChangeLog.md +0 -41
  28. data/vendor/azure-storage-ruby/common/Gemfile +0 -30
  29. data/vendor/azure-storage-ruby/common/LICENSE.txt +0 -21
  30. data/vendor/azure-storage-ruby/common/README.md +0 -146
  31. data/vendor/azure-storage-ruby/common/azure-storage-common.gemspec +0 -57
  32. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/authorizer.rb +0 -0
  33. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/shared_key.rb +0 -0
  34. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/shared_key_lite.rb +0 -0
  35. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/signer.rb +0 -0
  36. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/default.rb +0 -0
  37. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/error.rb +0 -0
  38. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/filtered_service.rb +0 -0
  39. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/debug_filter.rb +0 -0
  40. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_error.rb +0 -0
  41. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_filter.rb +0 -0
  42. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_request.rb +0 -0
  43. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_response.rb +0 -0
  44. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/retry_policy.rb +0 -0
  45. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/signer_filter.rb +0 -0
  46. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/service.rb +0 -0
  47. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/signed_service.rb +0 -0
  48. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/utility.rb +0 -0
  49. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/version.rb +0 -0
  50. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core.rb +0 -0
  51. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/http_response_helper.rb +0 -0
  52. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/append.rb +0 -0
  53. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/autoload.rb +0 -0
  54. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/blob.rb +0 -0
  55. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/blob_service.rb +0 -0
  56. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/block.rb +0 -0
  57. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/container.rb +0 -0
  58. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/default.rb +0 -0
  59. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/page.rb +0 -0
  60. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/serialization.rb +0 -0
  61. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/version.rb +0 -0
  62. /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob.rb +0 -0
  63. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/autoload.rb +0 -0
  64. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/client.rb +0 -0
  65. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/client_options.rb +0 -0
  66. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/client_options_error.rb +0 -0
  67. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/configurable.rb +0 -0
  68. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/anonymous_signer.rb +0 -0
  69. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_access_signature.rb +0 -0
  70. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_access_signature_generator.rb +0 -0
  71. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_access_signature_signer.rb +0 -0
  72. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_key.rb +0 -0
  73. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/token_signer.rb +0 -0
  74. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/autoload.rb +0 -0
  75. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/error.rb +0 -0
  76. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/filter/exponential_retry_filter.rb +0 -0
  77. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/filter/linear_retry_filter.rb +0 -0
  78. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/filter/retry_filter.rb +0 -0
  79. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/http_client.rb +0 -0
  80. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/sr.rb +0 -0
  81. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/token_credential.rb +0 -0
  82. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/utility.rb +0 -0
  83. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core.rb +0 -0
  84. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/default.rb +0 -0
  85. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/access_policy.rb +0 -0
  86. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/cors.rb +0 -0
  87. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/cors_rule.rb +0 -0
  88. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/enumeration_results.rb +0 -0
  89. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/geo_replication.rb +0 -0
  90. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/logging.rb +0 -0
  91. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/metrics.rb +0 -0
  92. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/retention_policy.rb +0 -0
  93. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/serialization.rb +0 -0
  94. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/signed_identifier.rb +0 -0
  95. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/storage_service.rb +0 -0
  96. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/storage_service_properties.rb +0 -0
  97. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/storage_service_stats.rb +0 -0
  98. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/user_delegation_key.rb +0 -0
  99. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/version.rb +0 -0
  100. /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be3af782a97d6f71bb996b358490a17db4af7b3f6a05d275027bb587229a0f22
4
- data.tar.gz: 3438d03dda366b13f4cc9775a62b2af1e053966ec6e4a648cee277e34f996a6a
3
+ metadata.gz: 210f48fcb786a9f8f7c58ddc46cb903cfd66a75756705485a99f28f8ffd53201
4
+ data.tar.gz: 2e97f3af92d4caf1999c89c86247945f7085d247dcc5f8728ccba1b64aea955b
5
5
  SHA512:
6
- metadata.gz: eddaf33568eccebc8ec529cf00628b15aff960a0e2c751df77263c8508e98d7eb865fb55bca4498d1073a7564f6244dbf471f2b62cf2918d99740b4f8753e4db
7
- data.tar.gz: 96209210b3ebe213f5d70e0e1cf3dd3a5d278d3659dc5c9de9b53cec8731631979711d2658b34cf99a489944388b60a5827a6877f26e5105f0a00247a84b2cc2
6
+ metadata.gz: 8e078581d9658e16ac11c8204cc4818217c6c405b68bc0f60394d1f86df179b14312d52ef1918e4a611bd9dd6c1300eae72d84dd36cd43e9857d208fdfcb3521
7
+ data.tar.gz: f279152168a8ee526141d726fe4b2c7d2ecb4b6df2a11b3d632fbad6b048c6dcff6c0fb9ceb9196ea3d52e452805ba08117c7cedc11e46e6e1bd3eeb33020c3e
data/.gitlab-ci.yml CHANGED
@@ -23,7 +23,7 @@ rubocop:
23
23
  script:
24
24
  - bundle exec rubocop
25
25
  variables:
26
- RUBY_VERSION: "2.7"
26
+ RUBY_VERSION: "3.1"
27
27
 
28
28
  integration:
29
29
  services:
data/.rubocop.yml CHANGED
@@ -3,3 +3,6 @@ inherit_from: .rubocop_todo.yml
3
3
  AllCops:
4
4
  NewCops: enable
5
5
  TargetRubyVersion: 2.7
6
+ Exclude:
7
+ - 'lib/azure/**/*'
8
+ - 'vendor/**/*'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## Unreleased
2
2
 
3
+ ## 2.0.1
4
+
5
+ - Remove vendor directory and copy files into lib/azure !50
6
+
3
7
  ## 2.0.0
4
8
 
5
9
  - Vendor Microsoft Azure gems and upgrade to Faraday 2 !48
data/Gemfile CHANGED
@@ -1,6 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
  # Specify your gem's dependencies in fog-azure-rm.gemspec
3
3
  gemspec
4
-
5
- gem 'azure-storage-blob', path: 'vendor/azure-storage-ruby/blob'
6
- gem 'azure-storage-common', path: 'vendor/azure-storage-ruby/common'
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ['Shaffan Chaudhry', 'Samawia Moin', 'Adnan Khalil', 'Zeeshan Arshad', 'Haider Ali', 'Waqar Haider', 'Bilal Naeem', 'Muhammad Asad', 'Azeem Sajid', 'Maham Nazir', 'Abbas Sheikh']
9
9
  spec.summary = "Module for the 'fog' gem to support Azure Blob Storage with CarrierWave and Fog."
10
10
  spec.description = "This is a stripped-down fork of fog-azure-rm that enables Azure Blob Storage to be used with CarrierWave and Fog."
11
- spec.files = `git ls-files ':!vendor/azure-storage-ruby/file' ':!vendor/azure-storage-ruby/queue' ':!vendor/azure-storage-ruby/table' ':!vendor/azure-storage-ruby/test'`.split("\n")
11
+ spec.files = `git ls-files`.split("\n")
12
12
  spec.test_files = `git ls-files -- {spec,tests}/*`.split("\n")
13
13
  spec.require_paths = %w[lib]
14
14
  spec.license = 'MIT'
@@ -23,7 +23,13 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency 'rubocop', '~> 0.89.1'
24
24
  spec.add_development_dependency 'simplecov'
25
25
  spec.add_development_dependency 'webrick', '~> 1.8'
26
+
27
+ spec.add_dependency 'faraday', "~> 2.0"
28
+ spec.add_dependency "faraday-follow_redirects", "~> 0.3.0"
29
+ spec.add_dependency "faraday-net_http_persistent", "~> 2.0"
26
30
  spec.add_dependency 'fog-core', '~> 2.1'
27
31
  spec.add_dependency 'fog-json', '~> 1.2'
28
32
  spec.add_dependency 'mime-types'
33
+ spec.add_dependency "net-http-persistent", "~> 4.0"
34
+ spec.add_dependency 'nokogiri', "~> 1", ">= 1.10.8"
29
35
  end
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module AzureRM
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.0.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-fog-azure-rm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaffan Chaudhry
@@ -104,6 +104,48 @@ dependencies:
104
104
  - - "~>"
105
105
  - !ruby/object:Gem::Version
106
106
  version: '1.8'
107
+ - !ruby/object:Gem::Dependency
108
+ name: faraday
109
+ requirement: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '2.0'
114
+ type: :runtime
115
+ prerelease: false
116
+ version_requirements: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - "~>"
119
+ - !ruby/object:Gem::Version
120
+ version: '2.0'
121
+ - !ruby/object:Gem::Dependency
122
+ name: faraday-follow_redirects
123
+ requirement: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - "~>"
126
+ - !ruby/object:Gem::Version
127
+ version: 0.3.0
128
+ type: :runtime
129
+ prerelease: false
130
+ version_requirements: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - "~>"
133
+ - !ruby/object:Gem::Version
134
+ version: 0.3.0
135
+ - !ruby/object:Gem::Dependency
136
+ name: faraday-net_http_persistent
137
+ requirement: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - "~>"
140
+ - !ruby/object:Gem::Version
141
+ version: '2.0'
142
+ type: :runtime
143
+ prerelease: false
144
+ version_requirements: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - "~>"
147
+ - !ruby/object:Gem::Version
148
+ version: '2.0'
107
149
  - !ruby/object:Gem::Dependency
108
150
  name: fog-core
109
151
  requirement: !ruby/object:Gem::Requirement
@@ -146,6 +188,40 @@ dependencies:
146
188
  - - ">="
147
189
  - !ruby/object:Gem::Version
148
190
  version: '0'
191
+ - !ruby/object:Gem::Dependency
192
+ name: net-http-persistent
193
+ requirement: !ruby/object:Gem::Requirement
194
+ requirements:
195
+ - - "~>"
196
+ - !ruby/object:Gem::Version
197
+ version: '4.0'
198
+ type: :runtime
199
+ prerelease: false
200
+ version_requirements: !ruby/object:Gem::Requirement
201
+ requirements:
202
+ - - "~>"
203
+ - !ruby/object:Gem::Version
204
+ version: '4.0'
205
+ - !ruby/object:Gem::Dependency
206
+ name: nokogiri
207
+ requirement: !ruby/object:Gem::Requirement
208
+ requirements:
209
+ - - "~>"
210
+ - !ruby/object:Gem::Version
211
+ version: '1'
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: 1.10.8
215
+ type: :runtime
216
+ prerelease: false
217
+ version_requirements: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - "~>"
220
+ - !ruby/object:Gem::Version
221
+ version: '1'
222
+ - - ">="
223
+ - !ruby/object:Gem::Version
224
+ version: 1.10.8
149
225
  description: This is a stripped-down fork of fog-azure-rm that enables Azure Blob
150
226
  Storage to be used with CarrierWave and Fog.
151
227
  email:
@@ -169,6 +245,75 @@ files:
169
245
  - LICENSE.md
170
246
  - README.md
171
247
  - gitlab-fog-azure-rm.gemspec
248
+ - lib/azure/core.rb
249
+ - lib/azure/core/auth/authorizer.rb
250
+ - lib/azure/core/auth/shared_key.rb
251
+ - lib/azure/core/auth/shared_key_lite.rb
252
+ - lib/azure/core/auth/signer.rb
253
+ - lib/azure/core/default.rb
254
+ - lib/azure/core/error.rb
255
+ - lib/azure/core/filtered_service.rb
256
+ - lib/azure/core/http/debug_filter.rb
257
+ - lib/azure/core/http/http_error.rb
258
+ - lib/azure/core/http/http_filter.rb
259
+ - lib/azure/core/http/http_request.rb
260
+ - lib/azure/core/http/http_response.rb
261
+ - lib/azure/core/http/retry_policy.rb
262
+ - lib/azure/core/http/signer_filter.rb
263
+ - lib/azure/core/service.rb
264
+ - lib/azure/core/signed_service.rb
265
+ - lib/azure/core/utility.rb
266
+ - lib/azure/core/version.rb
267
+ - lib/azure/http_response_helper.rb
268
+ - lib/azure/storage/blob.rb
269
+ - lib/azure/storage/blob/append.rb
270
+ - lib/azure/storage/blob/autoload.rb
271
+ - lib/azure/storage/blob/blob.rb
272
+ - lib/azure/storage/blob/blob_service.rb
273
+ - lib/azure/storage/blob/block.rb
274
+ - lib/azure/storage/blob/container.rb
275
+ - lib/azure/storage/blob/default.rb
276
+ - lib/azure/storage/blob/page.rb
277
+ - lib/azure/storage/blob/serialization.rb
278
+ - lib/azure/storage/blob/version.rb
279
+ - lib/azure/storage/common.rb
280
+ - lib/azure/storage/common/autoload.rb
281
+ - lib/azure/storage/common/client.rb
282
+ - lib/azure/storage/common/client_options.rb
283
+ - lib/azure/storage/common/client_options_error.rb
284
+ - lib/azure/storage/common/configurable.rb
285
+ - lib/azure/storage/common/core.rb
286
+ - lib/azure/storage/common/core/auth/anonymous_signer.rb
287
+ - lib/azure/storage/common/core/auth/shared_access_signature.rb
288
+ - lib/azure/storage/common/core/auth/shared_access_signature_generator.rb
289
+ - lib/azure/storage/common/core/auth/shared_access_signature_signer.rb
290
+ - lib/azure/storage/common/core/auth/shared_key.rb
291
+ - lib/azure/storage/common/core/auth/token_signer.rb
292
+ - lib/azure/storage/common/core/autoload.rb
293
+ - lib/azure/storage/common/core/error.rb
294
+ - lib/azure/storage/common/core/filter/exponential_retry_filter.rb
295
+ - lib/azure/storage/common/core/filter/linear_retry_filter.rb
296
+ - lib/azure/storage/common/core/filter/retry_filter.rb
297
+ - lib/azure/storage/common/core/http_client.rb
298
+ - lib/azure/storage/common/core/sr.rb
299
+ - lib/azure/storage/common/core/token_credential.rb
300
+ - lib/azure/storage/common/core/utility.rb
301
+ - lib/azure/storage/common/default.rb
302
+ - lib/azure/storage/common/service/access_policy.rb
303
+ - lib/azure/storage/common/service/cors.rb
304
+ - lib/azure/storage/common/service/cors_rule.rb
305
+ - lib/azure/storage/common/service/enumeration_results.rb
306
+ - lib/azure/storage/common/service/geo_replication.rb
307
+ - lib/azure/storage/common/service/logging.rb
308
+ - lib/azure/storage/common/service/metrics.rb
309
+ - lib/azure/storage/common/service/retention_policy.rb
310
+ - lib/azure/storage/common/service/serialization.rb
311
+ - lib/azure/storage/common/service/signed_identifier.rb
312
+ - lib/azure/storage/common/service/storage_service.rb
313
+ - lib/azure/storage/common/service/storage_service_properties.rb
314
+ - lib/azure/storage/common/service/storage_service_stats.rb
315
+ - lib/azure/storage/common/service/user_delegation_key.rb
316
+ - lib/azure/storage/common/version.rb
172
317
  - lib/fog/azurerm.rb
173
318
  - lib/fog/azurerm/async_response.rb
174
319
  - lib/fog/azurerm/config.rb
@@ -285,98 +430,6 @@ files:
285
430
  - test/requests/storage/test_save_page_blob.rb
286
431
  - test/requests/storage/test_wait_blob_copy_operation_to_finish.rb
287
432
  - test/test_helper.rb
288
- - vendor/azure-storage-ruby/.env_sample
289
- - vendor/azure-storage-ruby/.gitignore
290
- - vendor/azure-storage-ruby/.rubocop.yml
291
- - vendor/azure-storage-ruby/.travis.yml
292
- - vendor/azure-storage-ruby/BreakingChanges.md
293
- - vendor/azure-storage-ruby/CONTRIBUTING.md
294
- - vendor/azure-storage-ruby/ChangeLog.md
295
- - vendor/azure-storage-ruby/Gemfile
296
- - vendor/azure-storage-ruby/README.md
297
- - vendor/azure-storage-ruby/Rakefile
298
- - vendor/azure-storage-ruby/SECURITY.md
299
- - vendor/azure-storage-ruby/blob/BreakingChanges.md
300
- - vendor/azure-storage-ruby/blob/ChangeLog.md
301
- - vendor/azure-storage-ruby/blob/Gemfile
302
- - vendor/azure-storage-ruby/blob/LICENSE.txt
303
- - vendor/azure-storage-ruby/blob/README.md
304
- - vendor/azure-storage-ruby/blob/azure-storage-blob.gemspec
305
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob.rb
306
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/append.rb
307
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/autoload.rb
308
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/blob.rb
309
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/blob_service.rb
310
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/block.rb
311
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/container.rb
312
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/default.rb
313
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/page.rb
314
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/serialization.rb
315
- - vendor/azure-storage-ruby/blob/lib/azure/storage/blob/version.rb
316
- - vendor/azure-storage-ruby/common/BreakingChanges.md
317
- - vendor/azure-storage-ruby/common/ChangeLog.md
318
- - vendor/azure-storage-ruby/common/Gemfile
319
- - vendor/azure-storage-ruby/common/LICENSE.txt
320
- - vendor/azure-storage-ruby/common/README.md
321
- - vendor/azure-storage-ruby/common/azure-storage-common.gemspec
322
- - vendor/azure-storage-ruby/common/lib/azure/core.rb
323
- - vendor/azure-storage-ruby/common/lib/azure/core/auth/authorizer.rb
324
- - vendor/azure-storage-ruby/common/lib/azure/core/auth/shared_key.rb
325
- - vendor/azure-storage-ruby/common/lib/azure/core/auth/shared_key_lite.rb
326
- - vendor/azure-storage-ruby/common/lib/azure/core/auth/signer.rb
327
- - vendor/azure-storage-ruby/common/lib/azure/core/default.rb
328
- - vendor/azure-storage-ruby/common/lib/azure/core/error.rb
329
- - vendor/azure-storage-ruby/common/lib/azure/core/filtered_service.rb
330
- - vendor/azure-storage-ruby/common/lib/azure/core/http/debug_filter.rb
331
- - vendor/azure-storage-ruby/common/lib/azure/core/http/http_error.rb
332
- - vendor/azure-storage-ruby/common/lib/azure/core/http/http_filter.rb
333
- - vendor/azure-storage-ruby/common/lib/azure/core/http/http_request.rb
334
- - vendor/azure-storage-ruby/common/lib/azure/core/http/http_response.rb
335
- - vendor/azure-storage-ruby/common/lib/azure/core/http/retry_policy.rb
336
- - vendor/azure-storage-ruby/common/lib/azure/core/http/signer_filter.rb
337
- - vendor/azure-storage-ruby/common/lib/azure/core/service.rb
338
- - vendor/azure-storage-ruby/common/lib/azure/core/signed_service.rb
339
- - vendor/azure-storage-ruby/common/lib/azure/core/utility.rb
340
- - vendor/azure-storage-ruby/common/lib/azure/core/version.rb
341
- - vendor/azure-storage-ruby/common/lib/azure/http_response_helper.rb
342
- - vendor/azure-storage-ruby/common/lib/azure/storage/common.rb
343
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/autoload.rb
344
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/client.rb
345
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/client_options.rb
346
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/client_options_error.rb
347
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/configurable.rb
348
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core.rb
349
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/auth/anonymous_signer.rb
350
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/auth/shared_access_signature.rb
351
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/auth/shared_access_signature_generator.rb
352
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/auth/shared_access_signature_signer.rb
353
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/auth/shared_key.rb
354
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/auth/token_signer.rb
355
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/autoload.rb
356
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/error.rb
357
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/filter/exponential_retry_filter.rb
358
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/filter/linear_retry_filter.rb
359
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/filter/retry_filter.rb
360
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/http_client.rb
361
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/sr.rb
362
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/token_credential.rb
363
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/core/utility.rb
364
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/default.rb
365
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/access_policy.rb
366
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/cors.rb
367
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/cors_rule.rb
368
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/enumeration_results.rb
369
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/geo_replication.rb
370
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/logging.rb
371
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/metrics.rb
372
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/retention_policy.rb
373
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/serialization.rb
374
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/signed_identifier.rb
375
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/storage_service.rb
376
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/storage_service_properties.rb
377
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/storage_service_stats.rb
378
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/service/user_delegation_key.rb
379
- - vendor/azure-storage-ruby/common/lib/azure/storage/common/version.rb
380
433
  homepage: https://gitlab.com/gitlab-org/gitlab-fog-azure-rm
381
434
  licenses:
382
435
  - MIT
@@ -1,8 +0,0 @@
1
- # This is a sample of what your .env file should look like if you wanted to run integration tests.
2
- # If you move this file to the .env and replace the environment variables with your own values, then the environment
3
- # will be included when the rake test tasks are executed. Otherwise, you could just export the environment vars
4
- # yourself.
5
-
6
- AZURE_STORAGE_ACCOUNT="your storage account"
7
- AZURE_STORAGE_ACCESS_KEY="your storage access key"
8
- AZURE_STORAGE_CONNECTION_STRING="your storage connection string"
@@ -1,35 +0,0 @@
1
- .rvmrc
2
- debug.rb
3
- debug.old.rb
4
- *.gem
5
- *.rbc
6
- *.swp
7
- *.tmproj
8
- *~
9
- .\#*
10
- tags
11
- /pkg
12
- /doc
13
- Gemfile.lock
14
- nbproject/*
15
- *.gem
16
- .idea/*
17
- .project
18
- .bundle
19
- .config
20
- .yardoc
21
- _yardoc
22
- coverage
23
- doc/
24
- lib/bundler/man
25
- pkg
26
- rdoc
27
- .vscode/
28
-
29
- .DS_Store
30
- .ruby-version
31
- .env
32
- *.pem
33
-
34
- # pkg path for sub gems
35
- pkg_*
@@ -1,132 +0,0 @@
1
- AllCops:
2
- TargetRubyVersion: 1.9.3
3
- # Turns off the default Rubocop rules.
4
- DisabledByDefault: true
5
- Exclude:
6
- - 'coverage/**/*'
7
- - 'vendor/**/*'
8
- - 'test/fixtures/**/*'
9
-
10
- # Prefer &&/|| over and/or.
11
- Style/AndOr:
12
- Enabled: true
13
-
14
- # Do not use braces for hash literals when they are the last argument of a
15
- # method call.
16
- Style/BracesAroundHashParameters:
17
- Enabled: true
18
- EnforcedStyle: context_dependent
19
-
20
- # Align `when` with `case`.
21
- Layout/CaseIndentation:
22
- Enabled: true
23
-
24
- # Align comments with method definitions.
25
- Layout/CommentIndentation:
26
- Enabled: true
27
-
28
- Layout/EmptyLineAfterMagicComment:
29
- Enabled: true
30
-
31
- # In a regular class definition, no empty lines around the body.
32
- Layout/EmptyLinesAroundClassBody:
33
- Enabled: true
34
-
35
- # In a regular method definition, no empty lines around the body.
36
- Layout/EmptyLinesAroundMethodBody:
37
- Enabled: true
38
-
39
- # In a regular module definition, no empty lines around the body.
40
- Layout/EmptyLinesAroundModuleBody:
41
- Enabled: true
42
-
43
- Layout/FirstParameterIndentation:
44
- Enabled: true
45
-
46
- # Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
47
- Style/HashSyntax:
48
- Enabled: true
49
-
50
- # Method definitions after `private` or `protected` isolated calls need one
51
- # extra level of indentation.
52
- Layout/IndentationConsistency:
53
- Enabled: true
54
- EnforcedStyle: rails
55
-
56
- # Two spaces, no tabs (for indentation).
57
- Layout/IndentationWidth:
58
- Enabled: true
59
-
60
- Layout/SpaceAfterColon:
61
- Enabled: true
62
-
63
- Layout/SpaceAfterComma:
64
- Enabled: true
65
-
66
- Layout/SpaceAroundEqualsInParameterDefault:
67
- Enabled: true
68
-
69
- Layout/SpaceAroundKeyword:
70
- Enabled: true
71
-
72
- Layout/SpaceAroundOperators:
73
- Enabled: true
74
-
75
- Layout/SpaceBeforeFirstArg:
76
- Enabled: true
77
-
78
- # Defining a method with parameters needs parentheses.
79
- Style/MethodDefParentheses:
80
- Enabled: true
81
-
82
- Style/FrozenStringLiteralComment:
83
- Enabled: true
84
- EnforcedStyle: always
85
- Exclude:
86
- - 'test/**/*.rb'
87
-
88
- # Use `foo {}` not `foo{}`.
89
- Layout/SpaceBeforeBlockBraces:
90
- Enabled: true
91
-
92
- # Use `foo { bar }` not `foo {bar}`.
93
- Layout/SpaceInsideBlockBraces:
94
- Enabled: true
95
-
96
- # Use `{ a: 1 }` not `{a:1}`.
97
- Layout/SpaceInsideHashLiteralBraces:
98
- Enabled: true
99
-
100
- Layout/SpaceInsideParens:
101
- Enabled: true
102
-
103
- # Check quotes usage according to lint rule below.
104
- Style/StringLiterals:
105
- Enabled: true
106
- EnforcedStyle: double_quotes
107
-
108
- # Detect hard tabs, no hard tabs.
109
- Layout/Tab:
110
- Enabled: true
111
-
112
- # Blank lines should not have any spaces.
113
- Layout/TrailingBlankLines:
114
- Enabled: true
115
-
116
- # No trailing whitespace.
117
- Layout/TrailingWhitespace:
118
- Enabled: true
119
-
120
- # Use quotes for string literals when they are enough.
121
- Style/UnneededPercentQ:
122
- Enabled: true
123
-
124
- # Align `end` with the matching keyword or starting expression except for
125
- # assignments, where it should be aligned with the LHS.
126
- Lint/EndAlignment:
127
- Enabled: true
128
- EnforcedStyleAlignWith: variable
129
-
130
- # Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
131
- Lint/RequireParentheses:
132
- Enabled: true
@@ -1,23 +0,0 @@
1
- ---
2
- language: ruby
3
-
4
- rvm:
5
- - 2.3.0
6
- - 2.4.1
7
- - 2.5.0
8
- - 2.6.0
9
-
10
- before_install:
11
- - |
12
- if [[ $RUBY_VERSION == ruby-2.0* ]] || [[ $RUBY_VERSION == ruby-2.1* ]] || [[ $RUBY_VERSION == ruby-2.2* ]] ; then
13
- gem install bundler -v '< 2';
14
- else
15
- gem install bundler
16
- fi
17
-
18
- script:
19
- - bundle exec rake test:unit
20
- - if [ "$TRAVIS_SECURE_ENV_VARS" == "true" ] ; then rake test:integration ; fi
21
- - rake sanity_check
22
-
23
- sudo: false
@@ -1,34 +0,0 @@
1
- **Note: This BreakingChanges.md file is deprecated after version 0.15.0-preview, please refer to the BreakingChange.md in each package for future change logs.**
2
-
3
- Tracking Breaking Changes in 0.14.0-preview
4
-
5
- QUEUE
6
- * The return type of `Azure::Storage::Queue::create_message` is changed from `nil` to an `Azure::Storage::Queue::Message` object.
7
-
8
- Tracking Breaking Changes in 0.13.0-preview
9
-
10
- TABLE
11
- * The return type `Azure::Service::EnumerationResult` of `query_tables` has a changed structure. Now the `'updated'` will not be contained, and is flattened to a structure in the form of `{ {"TableName" => "tableone"}, {"TableName" => "tabletwo"}, {"TableName" => "tablethree"}}`.
12
- * The `Azure::Storage::Table::Entity` does not contain `:table` and `updated` anymore. The updated time can be found in `:properties`.
13
- * The return type of `get_table` is changed to a Hash that contains full metadata returned from the server when query the table.
14
- * The method `Azure::Storage::Table::EdmType::unserialize_query_value` is renamed to `deserialize_value`.
15
-
16
- Tracking Breaking Changes in 0.11.0-preview
17
-
18
- ALL
19
- * `Azure::Storage::Core::Auth::SharedAccessSignature.generate` is renamed to `generate_service_sas_token`.
20
- * `Azure::Storage::Core::Auth::SharedAccessSignature.signed_uri` requires `use_account_sas` as the second parameter.
21
- * Removed the support for the Shared Key Lite.
22
-
23
- Tracking Breaking Changes in 0.10.0-preview
24
-
25
- ALL
26
- * Require "azure-storage" instead of "azure_storage".
27
-
28
- BLOB
29
- * The `create_blob_pages` method is renamed to `put_blob_pages`.
30
- * The `create_blob_block` method is renamed to `put_blob_block`.
31
- * The `acquire_lease` method is renamed to `acquire_blob_lease`.
32
- * The `renew_lease` method is renamed to `renew_blob_lease`.
33
- * The `release_lease` method is renamed to `release_blob_lease`.
34
- * The `break_lease` method is renamed to `break_blob_lease`.
@@ -1,74 +0,0 @@
1
- If you intend to contribute to the project, please make sure you've followed the instructions provided in the [Azure Projects Contribution Guidelines](http://azure.github.io/guidelines/).
2
- ## Project Setup
3
- The Azure Storage development team uses Visual Studio Code so instructions will be tailored to that preference. However, any preferred IDE or other toolset should be usable.
4
-
5
- ### Install
6
- * Ruby 1.9.3 to 2.5.0.
7
- * [Visual Studio Code](https://code.visualstudio.com/)
8
-
9
- ### Development Environment Setup
10
- To get the source code of the SDK via **git** just type:
11
-
12
- ```bash
13
- git clone https://github.com/Azure/azure-storage-ruby.git
14
- cd ./azure-storage-ruby
15
- ```
16
-
17
- Then, install Bundler and run bundler to install all the gem dependencies:
18
-
19
- ```bash
20
- gem install bundler
21
- bundle install
22
- ```
23
-
24
- ## Tests
25
-
26
- ### Configuration
27
- If you would like to run the integration test suite, you will need to setup environment variables which will be used
28
- during the integration tests. These tests will use these credentials to run live tests against Azure with the provided
29
- credentials (you will be charged for usage, so verify the clean up scripts did their job at the end of a test run).
30
-
31
- The root of the project contains a [.env_sample](.env_sample) file. This dot file is a sample of the actual environment vars needed to
32
- run the integration tests.
33
-
34
- Unit tests don't require real credentials and don't require to provide the .env file.
35
-
36
- Do the following to prepare your environment for integration tests:
37
-
38
- * Copy [.env_sample](.env_sample) to .env **relative to root of the project dir**
39
- * Update .env with your credentials **.env is in the .gitignore, so should only reside locally**
40
-
41
- ### Running
42
- You can use the following commands to run:
43
-
44
- * All the tests: ``rake test``. **This will run integration tests if you have .env file or env vars setup**
45
- * Run storage suite of tests: ``rake test:unit``, ``rake test:integration``
46
- * One particular test file: ``ruby -I".\blob\lib;.\common\lib;.\table\lib;.\queue\lib;.\file\lib;test" "<path of the test file>"``
47
-
48
- ### Testing Features
49
- As you develop a feature, you'll need to write tests to ensure quality. Your changes should be covered by both unit tests and integration tests. You should also run existing tests related to your change to address any unexpected breaks.
50
-
51
- ## Pull Requests
52
-
53
- ### Guidelines
54
- The following are the minimum requirements for any pull request that must be met before contributions can be accepted.
55
- * Make sure you've signed the CLA before you start working on any change.
56
- * Discuss any proposed contribution with the team via a GitHub issue **before** starting development.
57
- * Code must be professional quality
58
- * No style issues
59
- * You should strive to mimic the style with which we have written the library
60
- * Clean, well-commented, well-designed code
61
- * Try to limit the number of commits for a feature to 1-2. If you end up having too many we may ask you to squash your changes into fewer commits.
62
- * ChangeLog.md in service module folders needs to be updated describing the new change
63
- * Thoroughly test your feature
64
-
65
- ### Branching Policy
66
- Changes should be based on the **dev** branch, not master as master is considered publicly released code. Each breaking change should be recorded in the corresponding BreakingChanges.md in service module folders. Note that [BreakingChanges.md](BreakingChanges.md) is deprecated after GA release.
67
-
68
- ### Adding Features for All Platforms
69
- We strive to release each new feature for each of our environments at the same time. Therefore, we ask that all contributions be written for Ruby 1.9.3 and later.
70
-
71
- ### Review Process
72
- We expect all guidelines to be met before accepting a pull request. As such, we will work with you to address issues we find by leaving comments in your code. Please understand that it may take a few iterations before the code is accepted as we maintain high standards on code quality. Once we feel comfortable with a contribution, we will validate the change and accept the pull request.
73
-
74
- Thank you for any contributions! Please let the team know if you have any questions or concerns about our contribution policy.