heroku_rails_deploy 0.4.3.rc1 → 0.4.3

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
  SHA1:
3
- metadata.gz: 15c77a06edbb4bf06cab25b08d18c307409f5bea
4
- data.tar.gz: d2ebeab630153fc562ecd706f4b585c82f465945
3
+ metadata.gz: e7d7d42c97d43434047cc29b7379ef9f832cb742
4
+ data.tar.gz: 3bfc14cce5a258cd73ed8d5fe9e2e383fff6dc99
5
5
  SHA512:
6
- metadata.gz: 23946d72f6461356f9d0e68c0791ffb7b01be49bfc148a8086fa0e4a296a67207ad382049ddb61a847366ccfd748123366bb70bbbfb14e072600298b92d425f4
7
- data.tar.gz: ed6e9cb19789d688b0853644daba6cacf56cee58cc6e0ffdf8bda2f1f087324258eacdd24fe9618e6cef9d3046d3fdb85ae7b4e47609ef0e46dd1aa488518c72
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
@@ -1,3 +1,3 @@
1
1
  module HerokuRailsDeploy
2
- VERSION = '0.4.3.rc1'.freeze
2
+ VERSION = '0.4.3'.freeze
3
3
  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.rc1
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-15 00:00:00.000000000 Z
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: 1.3.1
170
+ version: '0'
171
171
  requirements: []
172
172
  rubyforge_project:
173
- rubygems_version: 2.6.12
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