parity 3.0.0 → 3.0.1.beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +2 -0
  3. data/bin/pr_app +19 -0
  4. data/lib/parity/version.rb +1 -1
  5. metadata +7 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d6fa8142578f3d2b4c6a4dab469c55966fe0895a
4
- data.tar.gz: 989d26cc4b18eca3557d355fe81fab0a06f9823b
2
+ SHA256:
3
+ metadata.gz: c6487d859e68a76de90b512a5c33ba8447a27829836f3c3ef9eb1c153d64d7d8
4
+ data.tar.gz: 3b182e1402a1030bfcd992131a59ed025597fd5f57c38ffb467ad2d6c11a4ba4
5
5
  SHA512:
6
- metadata.gz: e0ac6ae5564a44d9bba30f6b30c471a20d8756df009a74ece422e5971557c12d3bf0bce783537a8c1b35bfe0b5b814287ec86d699feee678e9a6c48468fb2e0b
7
- data.tar.gz: a1d1e85cf8d406f09f80e03419f561b546f316e7f963e619084a74a2312de345c8b1314cb16a61d2793503171be2b956376ab4f67a55ed01674d45aa563a944e
6
+ metadata.gz: 81fd62a14198ead8f3e2246e82ac3d91ce466992c6c25d9e0209d720ee789992b68b3c1d703ea66b9fb3d25b8a48fdc6a40b193e923ca3adebfd03b311824d73
7
+ data.tar.gz: f3527632e325614db7e0f381bb3bcf93a1213e90c6b48d85216d132c03dc6d3274e5951e46fab4a39db6274a74fa9eb7ce38f36f60128cc9dbf94e606de8b826
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  Parity
2
2
  ======
3
3
 
4
+ [![Reviewed by Hound](https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg)](https://houndci.com)
5
+
4
6
  Shell commands for development, staging, and production parity for Heroku apps.
5
7
 
6
8
  Install
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $LOAD_PATH.unshift File.expand_path(File.join("..", "..", "lib"), __FILE__)
4
+ require "open3"
5
+ require "parity"
6
+
7
+ if ARGV.empty?
8
+ puts Parity::Usage.new
9
+ else
10
+ review_app_number = ARGV.first
11
+ staging_git_remote = Open3.capture3("git remote get-url staging")[0].strip
12
+ review_app_prefix = staging_git_remote.split("/").last.gsub(/\.git\Z/, "")
13
+
14
+ exit Parity::Environment.new(
15
+ "#{review_app_prefix}-pr-#{review_app_number}",
16
+ ARGV.drop(1),
17
+ app_argument: "--app",
18
+ ).run
19
+ end
@@ -1,3 +1,3 @@
1
1
  module Parity
2
- VERSION = "3.0.0".freeze
2
+ VERSION = "3.0.1.beta".freeze
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: 3.0.0
4
+ version: 3.0.1.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Croak
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-10-02 00:00:00.000000000 Z
12
+ date: 2018-10-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: |2
15
15
  Development/staging/production parity makes it easier for
@@ -20,11 +20,13 @@ executables:
20
20
  - development
21
21
  - staging
22
22
  - production
23
+ - pr_app
23
24
  extensions: []
24
25
  extra_rdoc_files: []
25
26
  files:
26
27
  - README.md
27
28
  - bin/development
29
+ - bin/pr_app
28
30
  - bin/production
29
31
  - bin/staging
30
32
  - lib/parity.rb
@@ -48,12 +50,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
48
50
  version: 2.2.0
49
51
  required_rubygems_version: !ruby/object:Gem::Requirement
50
52
  requirements:
51
- - - ">="
53
+ - - ">"
52
54
  - !ruby/object:Gem::Version
53
- version: '0'
55
+ version: 1.3.1
54
56
  requirements: []
55
57
  rubyforge_project:
56
- rubygems_version: 2.6.11
58
+ rubygems_version: 2.7.6
57
59
  signing_key:
58
60
  specification_version: 4
59
61
  summary: Shell commands for development, staging, and production parity.