parity 3.0.1 → 3.1.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
  SHA256:
3
- metadata.gz: a5976afb279d7823bd916ce3b588be8dc1c5550463e40f88703e6f3d794fd7ea
4
- data.tar.gz: e101b66f02f41abd3d04fbe4bb0f50eb8cc012fd7bcec1f12c0f0a62b433769d
3
+ metadata.gz: da980aed03d14a15088d43f0afa951dc394b7b55e112670614cb500f409eea37
4
+ data.tar.gz: b8538c70980b4148e2880e88ea6824c2289517b470da0cfad3ba346169169482
5
5
  SHA512:
6
- metadata.gz: e7379e09240dcb80ce001e98bdfce846163e4451a610bd4e1e602902c41b1a12b42269e2738886a0ed7d7939de9ae77e55f040dda25f63d5971da3fdd7b1c581
7
- data.tar.gz: 8df44dc16e99c89e5f328b1ceb61fee694e47708719f634b44e20b32ea1ca2508d84e17a15fd092dd833006b0a06997efbfb7f61d57dc374d36ebab748f92066
6
+ metadata.gz: 8cfb1f3df97838ae6dd02490ca8dcd73947472a4fd16cea17f880d4c248ea50318410c83568557082ed2d60517c505aa170502ec07b204caed7dfe31f93da602
7
+ data.tar.gz: c6a6322fe0ff27ae3982af3b8292fa025ff8c518090b1c48aad62f0f40fed3f507f341f947f411068e46b0545152633c7a49ab99e07415a8e4f3080162e6952a
data/bin/pr_app CHANGED
@@ -9,7 +9,7 @@ if ARGV.empty?
9
9
  else
10
10
  review_app_number = ARGV.first
11
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/, "")
12
+ review_app_prefix = staging_git_remote.split("/").last.gsub(/\.git\Z/, "")[0, 22]
13
13
 
14
14
  exit Parity::Environment.new(
15
15
  "#{review_app_prefix}-pr-#{review_app_number}",
@@ -89,7 +89,7 @@ module Parity
89
89
  end
90
90
 
91
91
  def console
92
- Kernel.system(command_for_remote("run rails console"))
92
+ Kernel.system(command_for_remote("run bundle exec rails console"))
93
93
  end
94
94
 
95
95
  def migrate
@@ -1,3 +1,3 @@
1
1
  module Parity
2
- VERSION = "3.0.1".freeze
2
+ VERSION = "3.1.0".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.1
4
+ version: 3.1.0
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-24 00:00:00.000000000 Z
12
+ date: 2019-02-22 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: |2
15
15
  Development/staging/production parity makes it easier for