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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a837802c2f2d926d2673ad6ff09f3e803bb141a
4
- data.tar.gz: f0bccfbce6115d8834755ece91f40af1148a87d6
3
+ metadata.gz: f564c8efd9450424137db818b44d942dfa896e82
4
+ data.tar.gz: 8a981f6b32ef0a4b10ade57882053261e4b8b268
5
5
  SHA512:
6
- metadata.gz: 2adb27f14f6861fc1f182ac28da7a1c85bc2a7964bf1bd5943da93ea7ae8bd2ca2889a1a0e5daa7369df01a5127da16ab600fcc6ca8aef701cdcf1d72d5e8963
7
- data.tar.gz: d157714a3d23441a2622b825c2c0171a89bc4d69869ff3a3be91e738660a3aa48d02bfbcee30744344f8992e73a0c64f9f87e5a667b7dc3fffb97956055f8d25
6
+ metadata.gz: 8731418664c764292c76b34134c89a17b86ced133c2b0d349dbb623012a77258e49679b146e2dd60ab9014077087eca87113e621c47524a9fbb3a11315415fea
7
+ data.tar.gz: 65d6f1593e3168c5498e06f32e3a79e5ead55bf5c4d0a18d71d2360067940da8a9dd5cf92e4ea1ab8907a4a794b04110b5e2ce21488fcc7107a867b8bf44d233
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module PgS3Dumper
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
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.5
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: 2015-10-20 00:00:00.000000000 Z
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.4.5.1
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.