pg_s3_dumper 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pg_s3_dumper/dumper.rb +1 -1
- data/lib/pg_s3_dumper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f564c8efd9450424137db818b44d942dfa896e82
|
4
|
+
data.tar.gz: 8a981f6b32ef0a4b10ade57882053261e4b8b268
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8731418664c764292c76b34134c89a17b86ced133c2b0d349dbb623012a77258e49679b146e2dd60ab9014077087eca87113e621c47524a9fbb3a11315415fea
|
7
|
+
data.tar.gz: 65d6f1593e3168c5498e06f32e3a79e5ead55bf5c4d0a18d71d2360067940da8a9dd5cf92e4ea1ab8907a4a794b04110b5e2ce21488fcc7107a867b8bf44d233
|
data/lib/pg_s3_dumper/dumper.rb
CHANGED
@@ -33,7 +33,7 @@ module PgS3Dumper
|
|
33
33
|
|
34
34
|
database_url =~ %r{postgres://[^/]*/(.+)\??.*$} or raise Error, "Invalid database URL"
|
35
35
|
@database_name = $1
|
36
|
-
@prefix = File.join(prefix, database_name)
|
36
|
+
@prefix = File.join(prefix, "#{database_name}/")
|
37
37
|
|
38
38
|
aws_key && aws_secret or raise Error, "AWS key and secret required"
|
39
39
|
|
data/lib/pg_s3_dumper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_s3_dumper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Goy
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.6.8
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Simple tool to dump postgresql database to an S3 bucket.
|