ey_cloud_server 1.4.44 → 1.4.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/ey_backup/backend.rb +2 -0
- data/lib/ey_backup/database.rb +1 -1
- data/lib/ey_cloud_server/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
SHA1:
|
3
|
-
data.tar.gz: 27d5fc1a389e13ab538b2b06784d6d5677ed7628
|
4
|
-
metadata.gz: fa093fd7b0681adf5613e12caf5f554c5af54cb8
|
5
2
|
SHA512:
|
6
|
-
|
7
|
-
|
3
|
+
metadata.gz: 004376d1d7ead4395225b9bbb753b92af85c976b4ae2ad75d0ab2570af11c15fcb0a7a6b6383e0e78f7c57b79f3bbee1276084f56cc926da941df742c496e29e
|
4
|
+
data.tar.gz: 19aadc16a91a5791168b0abd13e0b3ccc6b69f8ac3f369b60bbe4132da06b44948d966e501aee6ecb1d8c0f4ddc456cb72bfca18c0e3c2b3a2b89b2edf263c26
|
5
|
+
SHA1:
|
6
|
+
metadata.gz: 3fd10d18083cf1a1e16e5478bf4a219cfa6f9cd7
|
7
|
+
data.tar.gz: e55c449b543dad3315089d43f93e303c45c71341
|
data/lib/ey_backup/backend.rb
CHANGED
@@ -22,6 +22,8 @@ module EY
|
|
22
22
|
rescue => e
|
23
23
|
retries ||= 5
|
24
24
|
retries -= 1
|
25
|
+
# remove partial or failed uploads
|
26
|
+
@s3.delete_object(@bucket_minder.bucket_name, object_name) rescue nil)
|
25
27
|
raise e if retries == 0
|
26
28
|
warn "retrying upload of #{filename}. Got: #{e.inspect}"
|
27
29
|
retry
|
data/lib/ey_backup/database.rb
CHANGED
@@ -19,7 +19,7 @@ module EY
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def backups
|
22
|
-
s3_objects = bucket_minder.list("#{@environment}.#{@name}").select { |o| o[:name] =~ @engine.suffix }
|
22
|
+
s3_objects = bucket_minder.list("#{@environment}.#{@name}/").select { |o| o[:name] =~ @engine.suffix }
|
23
23
|
s3_objects.map {|o| BackupSet.new(self, o[:name], nil, o[:keys]) }.sort
|
24
24
|
end
|
25
25
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_cloud_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.45
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- EngineYard
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2015-01-20 00:00:00 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|