canistor 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e92222db9e7e2b83ff80a1a5dc698ff01feba5a7205d859bf2c6f0e24908787a
4
- data.tar.gz: 5fd46505fddd81dce697453df8d6872e98cb6bf4ba55ffafc808da8470a35e5a
3
+ metadata.gz: 47caaa613e610dd8bd59f3c1c99b981685ac3b929af938f6271faf7dd8ff3322
4
+ data.tar.gz: 0e9c27f45292b9d5b66115c480fc31c162584476c863b9aca3a8ac52485f7fbf
5
5
  SHA512:
6
- metadata.gz: 6728586850394275d864c8dd214a3f291418c7e08e40d3833e955b10a7e6febe162f9765ef0c2a1c8cefc65c3790420f3cebdee00dbb32c5feea1d8365bc286c
7
- data.tar.gz: 1a73f080ef5c74edaed5ee50138ca98740d2f908817fc5f9df92f0f28e8a26e323a960afbf580a9ebf6ff7592ca3a4e404f71189f7d341a10eddc2f3daad19fe
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Canistor
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canistor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manfred Stienstra