parity 0.5.0 → 0.5.1
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/README.md +2 -4
- data/lib/parity/backup.rb +2 -2
- data/lib/parity/environment.rb +1 -1
- data/lib/parity/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd5fecb7e4a3afe1866fc24cd00319a2403b066e
|
4
|
+
data.tar.gz: 4f6a16bf359303f90c2324f9987a2b43bed10380
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 368680903a8174045536d55b244f65ae9b8c452dad14eda953d9645904f028ba3bfe6d927ca856469d7bacd814c91c602146160d833a5607586876343ced728b
|
7
|
+
data.tar.gz: b1383bcd3a6dc081c8ca5af9028ac136389b68923a44158b9e32dd6cf9c5fa14ce8598a3c8b9eaff9732fdc8284e3c15093625b947c19671e74448d6d1e7f7bd
|
data/README.md
CHANGED
@@ -29,9 +29,8 @@ OSX:
|
|
29
29
|
|
30
30
|
On other systems you can:
|
31
31
|
|
32
|
-
1. Download the package for your system from the [releases
|
33
|
-
|
34
|
-
2. Extract the tarball and place it so that `/bin` is in your `PATH`
|
32
|
+
1. Download the package for your system from the [releases page][releases]
|
33
|
+
1. Extract the tarball and place it so that `/bin` is in your `PATH`
|
35
34
|
|
36
35
|
Alternatively, you can do the following on all systems
|
37
36
|
(requires a Ruby installation):
|
@@ -44,7 +43,6 @@ All these methods install the following three shell commands:
|
|
44
43
|
staging
|
45
44
|
production
|
46
45
|
|
47
|
-
|
48
46
|
[releases]: https://github.com/croaky/parity/releases
|
49
47
|
|
50
48
|
Usage
|
data/lib/parity/backup.rb
CHANGED
@@ -35,7 +35,7 @@ module Parity
|
|
35
35
|
|
36
36
|
def restore_to_pass_through
|
37
37
|
Kernel.system(
|
38
|
-
"heroku
|
38
|
+
"heroku pgbackups:restore #{backup_from} --remote #{to} "\
|
39
39
|
"#{additional_args}"
|
40
40
|
)
|
41
41
|
end
|
@@ -45,7 +45,7 @@ module Parity
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def db_backup_url
|
48
|
-
"heroku
|
48
|
+
"heroku pgbackups:url --remote #{from}"
|
49
49
|
end
|
50
50
|
|
51
51
|
def development_db
|
data/lib/parity/environment.rb
CHANGED
data/lib/parity/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parity
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Croak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |2
|
14
14
|
Development/staging/production parity makes it easier for
|