httpimagestore 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "httpimagestore"
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jakub Pastuszek"]
@@ -22,7 +22,7 @@ class S3Service
22
22
  RetryThis.retry_this(
23
23
  :times => (@options[:upload_retry_times] or 1),
24
24
  :sleep => (@options[:upload_retry_delay] or 0.0),
25
- :error_types => [Errno::ECONNRESET, S3::Error::RequestTimeout]
25
+ :error_types => [Errno::ECONNRESET, Timeout::Error, S3::Error::RequestTimeout]
26
26
  ) do |attempt|
27
27
  @logger.warn "Retrying S3 save operation" if attempt > 1
28
28
  file.save
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: httpimagestore
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jakub Pastuszek