pg_s3_dumper 0.1.3 → 0.1.4

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: d9db3b5d529c5b8887a46d5d50a9d91936311eec
4
- data.tar.gz: a131f45040b365ddb69e4fe7a45f8f2372c59da8
3
+ metadata.gz: c33d69433cb0de8e56d6dcb827b37127056e47a7
4
+ data.tar.gz: 93a1e084a246a5e2e4cbd21b9471512e61018622
5
5
  SHA512:
6
- metadata.gz: 797916be2afbfc012dd4dcbb98d691457b5e93f5e870f0aaa7686bb922cd6ff80247bd1d1315a72dd29ea5dff902b2f75d4e16c5b9e346036bfa821cf4f09627
7
- data.tar.gz: 79ec84a0a56f7172db8713b384e86cfe470a2fb7fd34254d42bb13e50edd734b9250e3a69604f5daa4a34ab53de985b2f2fd450f7cc5c181d3d7df2dedf0eb3c
6
+ metadata.gz: 2d7ca920a30ad0acbf6894daa1d5bfe9e5cdbf247130053c88da345fe2630036fa21186b4f6b7a361b74809890d0bf9621e38cf8a8be5dcb086aa2e737f12825
7
+ data.tar.gz: 80ce6b71c72e8bd1c4e2abe46fb557b705a88fd374c35940a6b752e49c05e78b81df75c573ac518d2462884ab0d3cad2e10d5646f8c60cd673bf9ecf18d24c95
@@ -31,7 +31,7 @@ module PgS3Dumper
31
31
  bucket_name = $1
32
32
  @prefix = "#{$2}/"
33
33
 
34
- database_url =~ %r{postgres://[^/]+/(.+)} or raise Error, "Invalid database URL"
34
+ database_url =~ %r{postgres://[^/]*/(.+)\??.*$} or raise Error, "Invalid database URL"
35
35
  @database_name = $1
36
36
  @prefix = File.join(prefix, database_name)
37
37
 
@@ -1,3 +1,3 @@
1
1
  module PgS3Dumper
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_s3_dumper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolas Goy