biola_deploy 0.5.5 → 0.5.6

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: e63bbd880902265ffdfee4073b1b8a13386af99c
4
- data.tar.gz: 0f98b697c2ab6a8663176950890c04c1bed4912b
3
+ metadata.gz: 2d8ef01105ecc063a76292ced72d0658ae19fb5d
4
+ data.tar.gz: 6a90a7dcbe72a9e27bc142ef4824f2bc93c148e3
5
5
  SHA512:
6
- metadata.gz: 20a38143337c3c2f393cf141fc39d82c9008100d2fd53c2201dcc474477544b9973a98e1d3e00b64530368a1c6155edcd69e8a1d352fca8324ca6a67d1e60735
7
- data.tar.gz: 3908fd22e77a3263ad8e5b0cd3b0e18ae92b3de5ea1dcacbbdc077024733715e155c711cec206881fa68554029981c3e9a60194af62485fa80191ced2d0fb30c
6
+ metadata.gz: 2ca6b2489f207508becac1e7965e650fff35b52727c313f3d0d75f504a150e1c800853969be24b9bf17ac941b97239ac0e4d3feda1b4d584187f2519baa70933
7
+ data.tar.gz: da76a9136e05cdf05cccf59e8bd289ca0e9efb5b3467f0e9972a43fe4931e9681d90a8f9235b261f8c04b7c88038dcf2f826d90246dac8f0a06b97ca7556f262
@@ -1,3 +1,3 @@
1
1
  module BiolaDeploy
2
- VERSION = '0.5.5'
2
+ VERSION = '0.5.6'
3
3
  end
@@ -61,12 +61,12 @@ namespace :deploy do
61
61
  def if_rails_loads(task_description, &block)
62
62
  error = nil
63
63
 
64
- unless (defined?(Rails) && Rails.initialized? rescue false)
65
- begin
64
+ begin
65
+ unless Rails.initialized?
66
66
  Rake::Task['environment'].invoke
67
- rescue LoadError, RuntimeError, SystemCallError => e
68
- error = e.message
69
67
  end
68
+ rescue Exception => e
69
+ error = e.message
70
70
  end
71
71
 
72
72
  if error
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: biola_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Crownoble