heroku_rails_deploy 0.4.3.rc1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/heroku_rails_deploy/deployer.rb +2 -2
- data/lib/heroku_rails_deploy/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7d7d42c97d43434047cc29b7379ef9f832cb742
|
4
|
+
data.tar.gz: 3bfc14cce5a258cd73ed8d5fe9e2e383fff6dc99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8a8569ade53b1b555ba42f187592232e3f30bfc3ef72eaead196e192f062ca2b77885187c5390bbd06f23994a2036de0edd3e3518e9e8f0c7675e870008ee5f
|
7
|
+
data.tar.gz: 15df3f9118f5a9c6030b2215c1e360a6ca24149e7a8a84b918662db12f1f1e81cfdf0ef4d91da11472a8b88672da13defbae94ae61a5eb251a7789e3104408e3
|
@@ -135,7 +135,7 @@ module HerokuRailsDeploy
|
|
135
135
|
end
|
136
136
|
|
137
137
|
def pending_migrations?(app_name)
|
138
|
-
run_heroku_command(app_name, 'run rake db:abort_if_pending_migrations')
|
138
|
+
!run_heroku_command(app_name, 'run rake db:abort_if_pending_migrations')
|
139
139
|
end
|
140
140
|
|
141
141
|
def run_heroku_command!(app_name, command)
|
@@ -200,7 +200,7 @@ module HerokuRailsDeploy
|
|
200
200
|
output = Bundler.with_clean_env { `#{command}` }
|
201
201
|
end
|
202
202
|
success = $CHILD_STATUS.success?
|
203
|
-
raise "Command '#{printed_command}' failed" if validate && !success
|
203
|
+
raise "Command '#{printed_command}' failed#{output && output.strip != '' ? ", output: #{output}" : ''}" if validate && !success
|
204
204
|
display_output ? success : output
|
205
205
|
end
|
206
206
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroku_rails_deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.3
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salsify, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -165,12 +165,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
165
165
|
version: '0'
|
166
166
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
167
|
requirements:
|
168
|
-
- - "
|
168
|
+
- - ">="
|
169
169
|
- !ruby/object:Gem::Version
|
170
|
-
version:
|
170
|
+
version: '0'
|
171
171
|
requirements: []
|
172
172
|
rubyforge_project:
|
173
|
-
rubygems_version: 2.6.
|
173
|
+
rubygems_version: 2.6.11
|
174
174
|
signing_key:
|
175
175
|
specification_version: 4
|
176
176
|
summary: Simple deployment of Rails app to Heroku
|