azure-storage 0.11.2.preview → 0.11.3.preview

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
2
  SHA1:
3
- metadata.gz: 92ecd94693e7588079b928351edc1b8f8f9befc9
4
- data.tar.gz: 504fedfb82e16dee909bba757984f8e788faa7b3
3
+ metadata.gz: e2ed85c534cdfc271dfcaa7b69dd6b888e10ef89
4
+ data.tar.gz: f73cd29bd83a2e082193f06dc0523c8b78bf4d46
5
5
  SHA512:
6
- metadata.gz: a9c473917d6af7d6055b7b7ebb0d2f8339dd3cf99cd5e4a205cbc43edc18325c5e3697d6b452622eb60b993066ccc48b4f5d1c501ebb2dd18cc7f0a22ee71f19
7
- data.tar.gz: 098c8642665754bbf630e83f5fcaf0132a90d15017575e3e3cb305b4e6ab1c2575d5a6c4e2a1c9dc5faa9305a9756f63bf332c6109870176e29cef8c81f4d130
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
- if (retry_data[:status_code] >= 300 && retry_data[:status_code] != 408)
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 = 2 unless defined? UPDATE
31
+ UPDATE = 3 unless defined? UPDATE
32
32
  PRE = 'preview' unless defined? PRE
33
33
 
34
34
  class << self
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2.preview
4
+ version: 0.11.3.preview
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation