backup 3.3.1 → 3.3.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
  SHA1:
3
- metadata.gz: 2a6fdf395aa40c4164ac6c1d5e1d10f3aa54e0b0
4
- data.tar.gz: 06a681ec27b68e776f94f5a90425c227a3747d52
3
+ metadata.gz: e889097f40e239697f1c8b2d7cec1e2783674c15
4
+ data.tar.gz: f70369a752f7fb511ad3e0de69b98ef0d0959a15
5
5
  SHA512:
6
- metadata.gz: 0afede59332bc2f40795a3eb680ee49a10537e57771323248eb15a2e45abc6656fdfa65c02b282fa7118adc343b691ece2957d55362e8a1578e8f0251b5ba496
7
- data.tar.gz: f5e6b8bc6b47620916caeb578dc45a90622e42ba7137e870e6f7bd291adc79d3ea08f89947a66ec33e174c142fc57de25f149130f7fbaefd613a0721f6a95e25
6
+ metadata.gz: 5f38d5b86b108d53afdbffc33c120672364960abcc54bdf3f4ccbb12d85793ef118931b30091d5774cb8516b16aedaf9eaf84fc7b220551606cb44f5ab596c53
7
+ data.tar.gz: 108266c5088cabe8ec5d125626daed7af0260055a11d4ea35afb7d29edf5f89666e0068415fbe936b8206263f24c0c1438078eb872a9a1af92b7e02871f158c4
@@ -117,7 +117,8 @@ module Backup
117
117
  begin
118
118
  uploader.upload(1024**2 * chunk_size)
119
119
  retries = 0
120
- rescue => err
120
+ # Timeout::Error is not a StandardError under ruby-1.8.7
121
+ rescue StandardError, Timeout::Error => err
121
122
  retries += 1
122
123
  if retries <= chunk_retries
123
124
  Logger.info "Chunk retry #{ retries } of #{ chunk_retries }."
@@ -13,7 +13,7 @@ module Backup
13
13
  # Defines the minor version
14
14
  # PATCH:
15
15
  # Defines the patch version
16
- MAJOR, MINOR, PATCH = 3, 3, 1
16
+ MAJOR, MINOR, PATCH = 3, 3, 2
17
17
 
18
18
  ##
19
19
  # Returns the major version ( big release based off of multiple minor releases )
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael van Rooijen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-15 00:00:00.000000000 Z
11
+ date: 2013-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor