heroku_super_backup 0.0.2.rc → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/heroku_super_backup.rb +1 -1
- data/lib/heroku_super_backup/version.rb +1 -1
- metadata +8 -8
data/lib/heroku_super_backup.rb
CHANGED
@@ -94,7 +94,7 @@ module HerokuSuperBackup
|
|
94
94
|
begin
|
95
95
|
log "creating #{@backup_path}/#{b["from_name"]}/#{name}"
|
96
96
|
file = directory.files.new(:key => "#{@backup_path}/#{b["from_name"]}/#{name}", :body => open(public_url))
|
97
|
-
if @provider
|
97
|
+
if @provider == "aws" and @encrypted
|
98
98
|
options = {"x-amz-server-side-encryption"=>"AES256"}
|
99
99
|
else
|
100
100
|
options = {}
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_super_backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.2
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- RedGuava
|
@@ -14,7 +14,7 @@ date: 2012-02-13 00:00:00.000000000Z
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: fog
|
17
|
-
requirement: &
|
17
|
+
requirement: &70302123085960 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: 0.7.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70302123085960
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: heroku
|
28
|
-
requirement: &
|
28
|
+
requirement: &70302123085300 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: 2.1.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70302123085300
|
37
37
|
description: PG backups into the cloud with fog
|
38
38
|
email:
|
39
39
|
- info@redguava.com.au
|
@@ -68,9 +68,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
69
|
none: false
|
70
70
|
requirements:
|
71
|
-
- - ! '
|
71
|
+
- - ! '>='
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
73
|
+
version: '0'
|
74
74
|
requirements: []
|
75
75
|
rubyforge_project: heroku_super_backup
|
76
76
|
rubygems_version: 1.8.10
|