parity 0.6.0 → 0.7.0
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 +24 -6
- data/lib/parity/backup.rb +3 -3
- data/lib/parity/environment.rb +1 -1
- data/lib/parity/usage.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: 6234f6e4b0de3c9522d680873f0656eadc2eb9e1
|
|
4
|
+
data.tar.gz: 8eb26ea4a4baaa7d1725c77ba189f4e37b6dcc68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51fc15b1ecd873d961a3faae32c56cb7c164f6118ff87b40eb1a708432fabf679687bc43daa54247b6e830a5479d8343e9e0fbaeb0399ce6aebd899d1993d0bf
|
|
7
|
+
data.tar.gz: 26c3c4270ac85ba8d70fc82b62250aafebe61ebce301c673a9b1c97854f91644c027e3132923469234e6814538b3494226ef9fac1adc160b6819d36b06f1bed4
|
data/README.md
CHANGED
|
@@ -44,7 +44,7 @@ All these methods install the following three shell commands:
|
|
|
44
44
|
staging
|
|
45
45
|
production
|
|
46
46
|
|
|
47
|
-
[releases]: https://github.com/
|
|
47
|
+
[releases]: https://github.com/thoughtbot/parity/releases
|
|
48
48
|
|
|
49
49
|
Usage
|
|
50
50
|
-----
|
|
@@ -99,6 +99,9 @@ with `heroku ______ --remote staging` or `heroku ______ --remote production`:
|
|
|
99
99
|
watch production ps
|
|
100
100
|
staging open
|
|
101
101
|
|
|
102
|
+
[1]: https://blog.heroku.com/archives/2013/3/19/log2viz
|
|
103
|
+
[2]: http://redis.io/commands
|
|
104
|
+
|
|
102
105
|
Convention
|
|
103
106
|
----------
|
|
104
107
|
|
|
@@ -156,11 +159,26 @@ Releasing
|
|
|
156
159
|
|
|
157
160
|
See guidelines in RELEASING.md for details
|
|
158
161
|
|
|
159
|
-
|
|
162
|
+
License
|
|
160
163
|
-------
|
|
161
164
|
|
|
162
|
-
Parity is
|
|
163
|
-
|
|
165
|
+
Parity is © 2013-2015 thoughtbot, inc.
|
|
166
|
+
It is free software,
|
|
167
|
+
and may be redistributed under the terms specified in the [LICENSE] file.
|
|
164
168
|
|
|
165
|
-
[
|
|
166
|
-
|
|
169
|
+
[LICENSE]: LICENSE
|
|
170
|
+
|
|
171
|
+
About thoughtbot
|
|
172
|
+
----------------
|
|
173
|
+
|
|
174
|
+

|
|
175
|
+
|
|
176
|
+
Parity is maintained and funded by thoughtbot, inc.
|
|
177
|
+
The names and logos for thoughtbot are trademarks of thoughtbot, inc.
|
|
178
|
+
|
|
179
|
+
We are passionate about open source software.
|
|
180
|
+
See [our other projects][community].
|
|
181
|
+
We are [available for hire][hire].
|
|
182
|
+
|
|
183
|
+
[community]: https://thoughtbot.com/community?utm_source=github
|
|
184
|
+
[hire]: https://thoughtbot.com?utm_source=github
|
data/lib/parity/backup.rb
CHANGED
|
@@ -35,17 +35,17 @@ module Parity
|
|
|
35
35
|
|
|
36
36
|
def restore_to_pass_through
|
|
37
37
|
Kernel.system(
|
|
38
|
-
"heroku
|
|
38
|
+
"heroku pg:backups restore #{backup_from} --remote #{to} "\
|
|
39
39
|
"#{additional_args}"
|
|
40
40
|
)
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
def backup_from
|
|
44
|
-
"
|
|
44
|
+
"`#{db_backup_url}` DATABASE"
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
def db_backup_url
|
|
48
|
-
"heroku
|
|
48
|
+
"heroku pg:backups public-url --remote #{from}"
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
def development_db
|
data/lib/parity/environment.rb
CHANGED
data/lib/parity/usage.rb
CHANGED
data/lib/parity/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parity
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dan Croak
|
|
@@ -32,7 +32,7 @@ files:
|
|
|
32
32
|
- lib/parity/environment.rb
|
|
33
33
|
- lib/parity/usage.rb
|
|
34
34
|
- lib/parity/version.rb
|
|
35
|
-
homepage: https://github.com/
|
|
35
|
+
homepage: https://github.com/thoughtbot/parity
|
|
36
36
|
licenses:
|
|
37
37
|
- MIT
|
|
38
38
|
metadata: {}
|