azure-storage 0.11.2.preview → 0.11.3.preview
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/azure/storage/core/filter/retry_filter.rb +4 -1
- data/lib/azure/storage/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2ed85c534cdfc271dfcaa7b69dd6b888e10ef89
|
4
|
+
data.tar.gz: f73cd29bd83a2e082193f06dc0523c8b78bf4d46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77a3ca483ca962f589a050ac5636c7cfaca3d9d46154c7e290da1b9eb24d4eafeb1653c917d38045f32da6c96277bd1c9c5d36e71e7a95bdc04dfe203611cb5a
|
7
|
+
data.tar.gz: 84e4c71f6b81de7a00118325733a3270b97149fa3d198d0b40d6da895b6a8a1fd5e330c62b512f594c18722f183edb6253aeade414f0e58e3d8bc8ea5af73a5c
|
@@ -136,8 +136,11 @@ module Azure::Storage::Core::Filter
|
|
136
136
|
end
|
137
137
|
end
|
138
138
|
|
139
|
+
if (retry_data[:status_code] < 400)
|
140
|
+
retry_data[:retryable] = false;
|
141
|
+
return false;
|
139
142
|
# Non-timeout Cases
|
140
|
-
|
143
|
+
elsif (retry_data[:status_code] != 408)
|
141
144
|
# Always no retry on "not implemented" and "version not supported"
|
142
145
|
if (retry_data[:status_code] == 501 || retry_data[:status_code] == 505)
|
143
146
|
retry_data[:retryable] = false;
|
@@ -28,7 +28,7 @@ module Azure
|
|
28
28
|
# Fields represent the parts defined in http://semver.org/
|
29
29
|
MAJOR = 0 unless defined? MAJOR
|
30
30
|
MINOR = 11 unless defined? MINOR
|
31
|
-
UPDATE =
|
31
|
+
UPDATE = 3 unless defined? UPDATE
|
32
32
|
PRE = 'preview' unless defined? PRE
|
33
33
|
|
34
34
|
class << self
|