parity 0.2.0 → 0.2.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
- !binary "U0hBMQ==":
3
- metadata.gz: 3d5038776c07559517e0de8f9278754215aa74f4
4
- data.tar.gz: 129527e531a784012fd1f695bbc6580418a7ec02
5
- !binary "U0hBNTEy":
6
- metadata.gz: 2557b6005704ac2890b37180c4f294d4e6d22ed77e29cd4b995c09c25380a8b0e4164a7711fb27a00cf479547a0a0108cdd9b415f1d982ef93a766b76bf84f12
7
- data.tar.gz: ffed63bebbd526f76373b9295abf6587f568bc57c29c44fe3db999f39f5f97a0caf227ac28544e579345ad07a03a4052d9611cddb17361281c6d72fd06e7dd61
2
+ SHA1:
3
+ metadata.gz: 144ca0937253621df58687c414829082856bca29
4
+ data.tar.gz: ac74e8487bfc859501d52b67858957cb2b7d25e4
5
+ SHA512:
6
+ metadata.gz: 7273199617ff4cc35942c752570899730ab118dd00828d9fbf214db343814dc8edbad2648c617e4568beeac3dd0fbff830677ed590aac607b2c3275565f44625
7
+ data.tar.gz: 36c8c4b80d50b9ed634032eb46bf7b91c5b4aae6e93636d7a39d544e27aba50e83dc326d9d6ee4a1364781c459d205dc63e19ad2bbedb35ea967927ff4f47521
@@ -31,7 +31,7 @@ module Parity
31
31
  end
32
32
 
33
33
  def console
34
- Kernel.system "heroku run console --remote #{environment}"
34
+ Kernel.system "heroku run rails console --remote #{environment}"
35
35
  end
36
36
 
37
37
  def log2viz
@@ -10,7 +10,7 @@ module Parity
10
10
  private
11
11
 
12
12
  def restore
13
- Backup.new(from: arguments.last, to: 'staging').restore
13
+ Backup.new(from: arguments.first, to: 'staging').restore
14
14
  end
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,19 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parity
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.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: 2013-10-04 00:00:00.000000000 Z
11
+ date: 2014-01-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: ! " Devevelopment/staging/production parity is intended to decrease
14
- the time\n between a developer writing code and having it deployed, make it possible\n
15
- \ for the same people who wrote the code to deploy it and watch its behavior\n
16
- \ in production, and reduce the number of tools necessary to manage.\n"
13
+ description: |2
14
+ Devevelopment/staging/production parity is intended to decrease the time
15
+ between a developer writing code and having it deployed, make it possible
16
+ for the same people who wrote the code to deploy it and watch its behavior
17
+ in production, and reduce the number of tools necessary to manage.
17
18
  email:
18
19
  - dan@thoughtbot.com
19
20
  executables:
@@ -24,6 +25,9 @@ extensions: []
24
25
  extra_rdoc_files: []
25
26
  files:
26
27
  - README.md
28
+ - bin/development
29
+ - bin/production
30
+ - bin/staging
27
31
  - lib/parity.rb
28
32
  - lib/parity/backup.rb
29
33
  - lib/parity/configuration.rb
@@ -32,9 +36,6 @@ files:
32
36
  - lib/parity/production.rb
33
37
  - lib/parity/staging.rb
34
38
  - lib/parity/usage.rb
35
- - bin/development
36
- - bin/staging
37
- - bin/production
38
39
  homepage: https://github.com/croaky/parity
39
40
  licenses:
40
41
  - MIT
@@ -45,17 +46,17 @@ require_paths:
45
46
  - lib
46
47
  required_ruby_version: !ruby/object:Gem::Requirement
47
48
  requirements:
48
- - - ! '>='
49
+ - - ">="
49
50
  - !ruby/object:Gem::Version
50
51
  version: '0'
51
52
  required_rubygems_version: !ruby/object:Gem::Requirement
52
53
  requirements:
53
- - - ! '>='
54
+ - - ">="
54
55
  - !ruby/object:Gem::Version
55
56
  version: '0'
56
57
  requirements: []
57
58
  rubyforge_project:
58
- rubygems_version: 2.0.5
59
+ rubygems_version: 2.2.0
59
60
  signing_key:
60
61
  specification_version: 4
61
62
  summary: Shell commands for development, staging, and production parity.