parity 0.5.0 → 0.5.1

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: c7c1049857702263e307ef2d3373b55675e3818d
4
- data.tar.gz: bbea30205de851f9e3777fa0a7d0b475448d4223
3
+ metadata.gz: cd5fecb7e4a3afe1866fc24cd00319a2403b066e
4
+ data.tar.gz: 4f6a16bf359303f90c2324f9987a2b43bed10380
5
5
  SHA512:
6
- metadata.gz: bad024844dd58f0c4a61bbe35fb5bf8212abfba920df228190180772755a43e8c883115d9f8f3d7f10eab2429f7a4ee86013d194dfc718f58c1d9a8a7377893b
7
- data.tar.gz: c68c3a72b47db97e43061d30f1b3b089b6d5c06ffaaa3d2c558ef12e962c0e376c2eb05b3c3a04bee2339c0532f6a36cdf484870a50564a847632e1f2a30998e
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
- page][releases]
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
@@ -35,7 +35,7 @@ module Parity
35
35
 
36
36
  def restore_to_pass_through
37
37
  Kernel.system(
38
- "heroku pg:backups restore #{backup_from} --remote #{to} "\
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 pg:backups public-url --remote #{from}"
48
+ "heroku pgbackups: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 pg:backups capture --expire --remote #{environment}"
34
+ Kernel.system "heroku pgbackups:capture --expire --remote #{environment}"
35
35
  end
36
36
 
37
37
  def restore
@@ -1,3 +1,3 @@
1
1
  module Parity
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
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.0
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-15 00:00:00.000000000 Z
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