parity 0.6.0 → 0.7.0

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: 5820afa0155fd39efe340fd444c85408e7f30fe0
4
- data.tar.gz: 89373918858509d80851610345f9864386ad1236
3
+ metadata.gz: 6234f6e4b0de3c9522d680873f0656eadc2eb9e1
4
+ data.tar.gz: 8eb26ea4a4baaa7d1725c77ba189f4e37b6dcc68
5
5
  SHA512:
6
- metadata.gz: e808de518351dd5268cf3a899139224b9e1a83a04c95df6821df25a8f0f9927db5ffb8bd3b2689c54cf54ddbdc5fa0257460f06db4dc9c43d0a5856b6cad7b00
7
- data.tar.gz: b87bed8804a48c0ae81ccb92bcb4453a8fef7a50d18c0976f2118d6bb4ff66994746f82ceb25ccc2d46c1aa3f1b8ad59455fdb37dbe92711a5b60a86bf4ad14d
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/croaky/parity/releases
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
- Credits
162
+ License
160
163
  -------
161
164
 
162
- Parity is maintained by Dan Croak. It is free software and may be redistributed
163
- under the terms specified in the LICENSE file.
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
- [1]: https://blog.heroku.com/archives/2013/3/19/log2viz
166
- [2]: http://redis.io/commands
169
+ [LICENSE]: LICENSE
170
+
171
+ About thoughtbot
172
+ ----------------
173
+
174
+ ![thoughtbot](https://thoughtbot.com/logo.png)
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
@@ -35,17 +35,17 @@ module Parity
35
35
 
36
36
  def restore_to_pass_through
37
37
  Kernel.system(
38
- "heroku pgbackups:restore #{backup_from} --remote #{to} "\
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
- "DATABASE `#{db_backup_url}`"
44
+ "`#{db_backup_url}` DATABASE"
45
45
  end
46
46
 
47
47
  def db_backup_url
48
- "heroku pgbackups:url --remote #{from}"
48
+ "heroku pg:backups public-url --remote #{from}"
49
49
  end
50
50
 
51
51
  def development_db
@@ -31,7 +31,7 @@ module Parity
31
31
  end
32
32
 
33
33
  def backup
34
- Kernel.system "heroku pgbackups:capture --expire --remote #{environment}"
34
+ Kernel.system "heroku pg:backups capture --remote #{environment}"
35
35
  end
36
36
 
37
37
  def deploy
@@ -1,7 +1,7 @@
1
1
  module Parity
2
2
  class Usage
3
3
  def to_s
4
- File.read(readme).match(/Usage\n-----\n([^\/.]*)Convention/)[1]
4
+ File.read(readme).match(/Usage\n-----\n([^\/.]*)staging open/)[1]
5
5
  end
6
6
 
7
7
  private
@@ -1,3 +1,3 @@
1
1
  module Parity
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
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.6.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/croaky/parity
35
+ homepage: https://github.com/thoughtbot/parity
36
36
  licenses:
37
37
  - MIT
38
38
  metadata: {}