paperclip-azure 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paperclip/storage/azure.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3779f4f60817b1699d5a883b5842157170c9a37
|
4
|
+
data.tar.gz: a4710e685c993a311b89bcab0be1bcad4abb5413
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebea8410732432c7c3aec100509844be2e466e1793042ac1d795d3c0caa585ff80b9a94c014b1a1ff8a9ccf886ca7e7e8e72a72c20d0e1eaecfa24bcd2a612ff
|
7
|
+
data.tar.gz: 1ffa0c416248fd6f2f79bfcded3d227e13dd434974b63f5c16f2dccd11f1b8bd166de5e393f1bad6103618f13341f86637213b99ae2e4f9b66ea4b90317b811d
|
@@ -140,7 +140,8 @@ module Paperclip
|
|
140
140
|
status_code = 500 if status_code == 0
|
141
141
|
retry_data[:count] ||= 0
|
142
142
|
|
143
|
-
if
|
143
|
+
if (!response.nil? && response.success? && retry_data[:error].nil?) ||
|
144
|
+
(status_code >= 300 && status_code < 500 && status_code != 408) ||
|
144
145
|
status_code == 501 ||
|
145
146
|
status_code == 505 ||
|
146
147
|
(!retry_data[:error].nil? && retry_data[:error].description == 'Blob type of the blob reference doesn\'t match blob type of the blob.') ||
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclip-azure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jordan Yaker
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-02-
|
12
|
+
date: 2015-02-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: azure
|