canistor 0.2.1 → 0.2.2
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 +4 -4
- data/lib/canistor.rb +2 -0
- data/lib/canistor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47caaa613e610dd8bd59f3c1c99b981685ac3b929af938f6271faf7dd8ff3322
|
|
4
|
+
data.tar.gz: 0e9c27f45292b9d5b66115c480fc31c162584476c863b9aca3a8ac52485f7fbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abedffede07257f8ed3f848b9e1b0b0eddc0dc3b2857319908b550edfe19540af4a19f453ff39df380043464f350270bc992134ae65e313766d3b852fad79656
|
|
7
|
+
data.tar.gz: 804a089155f29442ae21d82ee0014bd5968af337e64bd48c25d0ff73386dba0d42b9de749edc1800ed466d149671b44f413a958d8da2b443139e66c013f585d7
|
data/lib/canistor.rb
CHANGED
|
@@ -130,6 +130,7 @@ module Canistor
|
|
|
130
130
|
SUPPORTED_FAILURES = [
|
|
131
131
|
:internal_server_error,
|
|
132
132
|
:reset_connection,
|
|
133
|
+
:bad_request,
|
|
133
134
|
:fatal,
|
|
134
135
|
:store
|
|
135
136
|
]
|
|
@@ -151,6 +152,7 @@ module Canistor
|
|
|
151
152
|
# * reset_connection: Signals the library to handle a connection error
|
|
152
153
|
# (retryable)
|
|
153
154
|
# * internal_server_error: Returns a 500 internal server error (retryable)
|
|
155
|
+
# * bad_request: Returns a 400 bad request (not retryable)
|
|
154
156
|
# * fatal: Signals the library to handle a fatal error (fatal)
|
|
155
157
|
#
|
|
156
158
|
# A less common problem is when S3 reports a successful write but fails to
|
data/lib/canistor/version.rb
CHANGED