heroku_rails_deploy 0.4.1 → 0.4.2.rc0

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: 5388150cdc34b72f352999a51c99276a277cd373
4
- data.tar.gz: 876cba93797fdc75d2dd0fe2051f2d0a88298076
3
+ metadata.gz: 1cecdd125a6779407d208e8980bd5cd33fd0bdb7
4
+ data.tar.gz: c3d871c5430e56f9da704362b9fe103778e04b2e
5
5
  SHA512:
6
- metadata.gz: a10e01f2be30379fc1aad66c3e4b670fc04d7b03895bda1a32666593c576ee52d7a593666718a2e8f23c9ec35b566fd676cdd0c5dfa05b9832d8771c8dac8e76
7
- data.tar.gz: 0d373e88a64ef7619a052fdd8bf30282035e225ca277f4728088048a0a2d07cfa9ee882dd2af11856e5d2481170796b364c984494160db27668f46abcd8d0a10
6
+ metadata.gz: 2db5bbc903c31d3f85c9a84ec45d6c4dc08564d4185a31dbb3116d1753bdfc17fc674f0260fae33d59847558901ec363391e2c6b7e967880e273b53b00f6b8af
7
+ data.tar.gz: 5f09b2d556a60e326d6de21f13cebba28bb6f5863a7c66bac41a2152402bfc86f3dbf8688fd9c44c2c27c4318b73f57745738e4abf910898212d93a7c9a117b2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # heroku_rails_deploy
2
2
 
3
+ ## v0.4.2
4
+ - Fix test for pending migrations.
5
+
3
6
  ## v0.4.1
4
7
  - Fix bug checking environment.
5
8
 
@@ -135,7 +135,10 @@ 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
+ false
140
+ rescue
141
+ true
139
142
  end
140
143
 
141
144
  def run_heroku_command!(app_name, command)
@@ -1,3 +1,3 @@
1
1
  module HerokuRailsDeploy
2
- VERSION = '0.4.1'.freeze
2
+ VERSION = '0.4.2.rc0'.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.1
4
+ version: 0.4.2.rc0
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-04 00:00:00.000000000 Z
11
+ date: 2017-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -165,9 +165,9 @@ 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: '0'
170
+ version: 1.3.1
171
171
  requirements: []
172
172
  rubyforge_project:
173
173
  rubygems_version: 2.6.11