elastic-beanstalk 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,19 +53,21 @@ module Elastic
53
53
 
54
54
  def received_fatal_error?(response)
55
55
  fatal_error = false
56
- ['Bundler::PathError'].each do |code|
56
+ #['Bundler::PathError'].each do |code|
57
57
  # fail right away on known terminal cases.
58
- if (!response.nil? && response.code.to_i == 500 && response.body.include?(code))
58
+ #if (!response.nil? && response.code.to_i == 500 && response.body.include?(code))
59
+ if (!response.nil? && response.code.to_i == 500 && response.body.include?('rror'))
59
60
 
60
61
  doc = Nokogiri::HTML(response.body)
61
62
 
63
+ # By default, let's grab the info from the Passenger error page...
62
64
  $stderr.puts "\t\t[#{response.code}] #{code}"
63
65
  $stderr.puts "\t\t\t#{get_content(doc, '//h1')}"
64
66
  $stderr.puts "\t\t\t#{get_content(doc, '//dl/dd')}"
65
67
  fatal_error = true
66
- break
68
+ # break
67
69
  end
68
- end
70
+ #end
69
71
 
70
72
  fatal_error
71
73
  end
@@ -1,5 +1,5 @@
1
1
  module Elastic
2
2
  module Beanstalk
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-beanstalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: