gitlab-fog-azure-rm 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +1 -1
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +8 -0
- data/Gemfile +0 -3
- data/gitlab-fog-azure-rm.gemspec +7 -1
- data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/utility.rb +0 -51
- data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/utility.rb +0 -50
- data/lib/fog/azurerm/version.rb +1 -1
- metadata +147 -94
- data/vendor/azure-storage-ruby/.env_sample +0 -8
- data/vendor/azure-storage-ruby/.gitignore +0 -35
- data/vendor/azure-storage-ruby/.rubocop.yml +0 -132
- data/vendor/azure-storage-ruby/.travis.yml +0 -23
- data/vendor/azure-storage-ruby/BreakingChanges.md +0 -34
- data/vendor/azure-storage-ruby/CONTRIBUTING.md +0 -74
- data/vendor/azure-storage-ruby/ChangeLog.md +0 -198
- data/vendor/azure-storage-ruby/Gemfile +0 -41
- data/vendor/azure-storage-ruby/README.md +0 -48
- data/vendor/azure-storage-ruby/Rakefile +0 -216
- data/vendor/azure-storage-ruby/SECURITY.md +0 -41
- data/vendor/azure-storage-ruby/blob/BreakingChanges.md +0 -10
- data/vendor/azure-storage-ruby/blob/ChangeLog.md +0 -33
- data/vendor/azure-storage-ruby/blob/Gemfile +0 -30
- data/vendor/azure-storage-ruby/blob/LICENSE.txt +0 -21
- data/vendor/azure-storage-ruby/blob/README.md +0 -188
- data/vendor/azure-storage-ruby/blob/azure-storage-blob.gemspec +0 -52
- data/vendor/azure-storage-ruby/common/BreakingChanges.md +0 -8
- data/vendor/azure-storage-ruby/common/ChangeLog.md +0 -41
- data/vendor/azure-storage-ruby/common/Gemfile +0 -30
- data/vendor/azure-storage-ruby/common/LICENSE.txt +0 -21
- data/vendor/azure-storage-ruby/common/README.md +0 -146
- data/vendor/azure-storage-ruby/common/azure-storage-common.gemspec +0 -57
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/authorizer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/shared_key.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/shared_key_lite.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/signer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/default.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/error.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/filtered_service.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/debug_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_error.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_request.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_response.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/retry_policy.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/signer_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/service.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/signed_service.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/version.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/http_response_helper.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/append.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/autoload.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/blob.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/blob_service.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/block.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/container.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/default.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/page.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/serialization.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/version.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/autoload.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/client.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/client_options.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/client_options_error.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/configurable.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/anonymous_signer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_access_signature.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_access_signature_generator.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_access_signature_signer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_key.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/token_signer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/autoload.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/error.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/filter/exponential_retry_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/filter/linear_retry_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/filter/retry_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/http_client.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/sr.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/token_credential.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/default.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/access_policy.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/cors.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/cors_rule.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/enumeration_results.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/geo_replication.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/logging.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/metrics.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/retention_policy.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/serialization.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/signed_identifier.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/storage_service.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/storage_service_properties.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/storage_service_stats.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/user_delegation_key.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/version.rb +0 -0
- /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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d92167cf3193f73d9c97ae76465057206f076c4f2a14e1f8a12c677d77ca2f0
|
4
|
+
data.tar.gz: 04fce79fa98d5f6dbb512dc974678be18ccb45cc84921c6914e61a60f4a6a62c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4eca952fa0daa27b5149654960ae75b4b875d128114388f2cc539b3a3e1bdd2874e03456f60b8da7a2b05f5d994cdcd58962940e2abc1c328bdddfec2f86960
|
7
|
+
data.tar.gz: b503003e15965b9076b1ad75b25fd1282dfae71f4eacd806be13c6bc004a9bad5843c491c568fe4ff7cc42e09f9d6ac367c4fc7db9b27efa62288badb5f3477b
|
data/.gitlab-ci.yml
CHANGED
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/gitlab-fog-azure-rm.gemspec
CHANGED
@@ -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
|
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
|
@@ -13,8 +13,6 @@
|
|
13
13
|
# limitations under the License.
|
14
14
|
#--------------------------------------------------------------------------
|
15
15
|
|
16
|
-
require 'ipaddr'
|
17
|
-
|
18
16
|
if RUBY_VERSION.to_f < 2.0
|
19
17
|
begin
|
20
18
|
require 'Win32/Console/ANSI' if RUBY_PLATFORM =~ /win32|mingw32/
|
@@ -192,53 +190,4 @@ class String
|
|
192
190
|
end
|
193
191
|
end
|
194
192
|
|
195
|
-
# Code validate private/public IP acceptable ranges.
|
196
|
-
class IPAddr
|
197
|
-
PRIVATE_RANGES = [
|
198
|
-
IPAddr.new('10.0.0.0/8'),
|
199
|
-
IPAddr.new('172.16.0.0/12'),
|
200
|
-
IPAddr.new('192.168.0.0/16')
|
201
|
-
]
|
202
|
-
|
203
|
-
def private?
|
204
|
-
return false unless self.ipv4?
|
205
|
-
PRIVATE_RANGES.each do |ipr|
|
206
|
-
return true if ipr.include?(self)
|
207
|
-
end
|
208
|
-
false
|
209
|
-
end
|
210
|
-
|
211
|
-
def public?
|
212
|
-
!private?
|
213
|
-
end
|
214
|
-
|
215
|
-
class << self
|
216
|
-
def validate_ip_and_prefix(ip, cidr)
|
217
|
-
if cidr.to_s.empty?
|
218
|
-
raise "Cidr is missing for IP '#{ip}'."
|
219
|
-
elsif valid?(ip)
|
220
|
-
raise "Ip address '#{ip}' is invalid."
|
221
|
-
elsif !IPAddr.new(ip).private?
|
222
|
-
raise "Ip Address #{ip} must be private."
|
223
|
-
end
|
224
|
-
end
|
225
|
-
|
226
|
-
def validate_address_space(ip)
|
227
|
-
if ip.split('/').size != 2
|
228
|
-
raise "Cidr is invalid for IP #{ip}."
|
229
|
-
elsif valid?(ip)
|
230
|
-
raise "Address space '#{ip}' is invalid."
|
231
|
-
end
|
232
|
-
end
|
233
|
-
|
234
|
-
def address_prefix(ip, cidr)
|
235
|
-
ip + '/' + cidr.to_s
|
236
|
-
end
|
237
|
-
|
238
|
-
def valid?(ip)
|
239
|
-
(IPAddr.new(ip) rescue nil).nil?
|
240
|
-
end
|
241
|
-
end
|
242
|
-
end
|
243
|
-
|
244
193
|
Azure::Loggerx = Azure::Core::Logger
|
@@ -24,7 +24,6 @@
|
|
24
24
|
# THE SOFTWARE.
|
25
25
|
#--------------------------------------------------------------------------
|
26
26
|
|
27
|
-
require "ipaddr"
|
28
27
|
require "azure/storage/common/core/error"
|
29
28
|
|
30
29
|
if RUBY_VERSION.to_f < 2.0
|
@@ -210,52 +209,3 @@ class String
|
|
210
209
|
end
|
211
210
|
end
|
212
211
|
end
|
213
|
-
|
214
|
-
# Code validate private/public IP acceptable ranges.
|
215
|
-
class IPAddr
|
216
|
-
PRIVATE_RANGES = [
|
217
|
-
IPAddr.new('10.0.0.0/8'),
|
218
|
-
IPAddr.new('172.16.0.0/12'),
|
219
|
-
IPAddr.new('192.168.0.0/16')
|
220
|
-
]
|
221
|
-
|
222
|
-
def private?
|
223
|
-
return false unless self.ipv4?
|
224
|
-
PRIVATE_RANGES.each do |ipr|
|
225
|
-
return true if ipr.include?(self)
|
226
|
-
end
|
227
|
-
false
|
228
|
-
end
|
229
|
-
|
230
|
-
def public?
|
231
|
-
!private?
|
232
|
-
end
|
233
|
-
|
234
|
-
class << self
|
235
|
-
def validate_ip_and_prefix(ip, cidr)
|
236
|
-
if cidr.to_s.empty?
|
237
|
-
raise "Cidr is missing for IP '#{ip}'."
|
238
|
-
elsif valid?(ip)
|
239
|
-
raise "Ip address '#{ip}' is invalid."
|
240
|
-
elsif !IPAddr.new(ip).private?
|
241
|
-
raise "Ip Address #{ip} must be private."
|
242
|
-
end
|
243
|
-
end
|
244
|
-
|
245
|
-
def validate_address_space(ip)
|
246
|
-
if ip.split("/").size != 2
|
247
|
-
raise "Cidr is invalid for IP #{ip}."
|
248
|
-
elsif valid?(ip)
|
249
|
-
raise "Address space '#{ip}' is invalid."
|
250
|
-
end
|
251
|
-
end
|
252
|
-
|
253
|
-
def address_prefix(ip, cidr)
|
254
|
-
ip + "/" + cidr.to_s
|
255
|
-
end
|
256
|
-
|
257
|
-
def valid?(ip)
|
258
|
-
(IPAddr.new(ip) rescue nil).nil?
|
259
|
-
end
|
260
|
-
end
|
261
|
-
end
|
data/lib/fog/azurerm/version.rb
CHANGED
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.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shaffan Chaudhry
|
@@ -18,7 +18,7 @@ authors:
|
|
18
18
|
autorequire:
|
19
19
|
bindir: bin
|
20
20
|
cert_chain: []
|
21
|
-
date: 2024-
|
21
|
+
date: 2024-08-17 00:00:00.000000000 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
24
|
name: codeclimate-test-reporter
|
@@ -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
|