pgsync 0.3.5 → 0.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +5 -1
- data/lib/pgsync.rb +2 -2
- data/lib/pgsync/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d1c5a725040f7f317495776e4a7e8b7d9940c27c
|
|
4
|
+
data.tar.gz: 02319b35c1c94acbeee08a5ae644d397c63d3fab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f99fd4c76bdbde44ee5998a8dccb54c55edc67d61b3e9764617077f2d368b1bbecc29a80e06d876827312a2e573d35aef71cffc9dcd1c9d7df532656e420cb37
|
|
7
|
+
data.tar.gz: dc25dd88ab0192228b78b9667b9b5cafc2260fffa0a3f4ee3b4271c8e9aab1c6ac6e160119fd1102f96cf8213b897dfb87f0a8076e056967b5fd5842fceb1944
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -10,11 +10,15 @@ Sync Postgres data to your local machine. Designed for:
|
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
13
|
+
pgsync is a command line tool. To install, run:
|
|
14
|
+
|
|
13
15
|
```sh
|
|
14
16
|
gem install pgsync
|
|
15
17
|
```
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
This will give you the `pgsync` command.
|
|
20
|
+
|
|
21
|
+
In your project directory, run:
|
|
18
22
|
|
|
19
23
|
```sh
|
|
20
24
|
pgsync --setup
|
data/lib/pgsync.rb
CHANGED
|
@@ -502,8 +502,8 @@ Options:}
|
|
|
502
502
|
uri.host ||= "localhost"
|
|
503
503
|
uri.port ||= 5432
|
|
504
504
|
uri.path = "/#{uri.path}" if uri.path && uri.path[0] != "/"
|
|
505
|
-
schema = ((uri.query && CGI::parse(uri.query)["schema"]) || [
|
|
506
|
-
[uri, schema]
|
|
505
|
+
schema = ((uri.query && CGI::parse(uri.query)["schema"]) || [])[0]
|
|
506
|
+
[uri, schema || "public"]
|
|
507
507
|
end
|
|
508
508
|
|
|
509
509
|
def print_uri(prefix, uri)
|
data/lib/pgsync/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pgsync
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Kane
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: slop
|
|
@@ -147,9 +147,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
147
147
|
version: '0'
|
|
148
148
|
requirements: []
|
|
149
149
|
rubyforge_project:
|
|
150
|
-
rubygems_version: 2.
|
|
150
|
+
rubygems_version: 2.5.1
|
|
151
151
|
signing_key:
|
|
152
152
|
specification_version: 4
|
|
153
153
|
summary: Quickly and securely sync data between environments
|
|
154
154
|
test_files: []
|
|
155
|
-
has_rdoc:
|