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.
- checksums.yaml +5 -5
- data/README.md +2 -0
- data/bin/pr_app +19 -0
- data/lib/parity/version.rb +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c6487d859e68a76de90b512a5c33ba8447a27829836f3c3ef9eb1c153d64d7d8
|
4
|
+
data.tar.gz: 3b182e1402a1030bfcd992131a59ed025597fd5f57c38ffb467ad2d6c11a4ba4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81fd62a14198ead8f3e2246e82ac3d91ce466992c6c25d9e0209d720ee789992b68b3c1d703ea66b9fb3d25b8a48fdc6a40b193e923ca3adebfd03b311824d73
|
7
|
+
data.tar.gz: f3527632e325614db7e0f381bb3bcf93a1213e90c6b48d85216d132c03dc6d3274e5951e46fab4a39db6274a74fa9eb7ce38f36f60128cc9dbf94e606de8b826
|
data/README.md
CHANGED
data/bin/pr_app
ADDED
@@ -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
|
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: 3.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-
|
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:
|
55
|
+
version: 1.3.1
|
54
56
|
requirements: []
|
55
57
|
rubyforge_project:
|
56
|
-
rubygems_version: 2.6
|
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.
|