wrangler 0.1.18 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -269,7 +269,11 @@ module Wrangler
269
269
  log_error backtrace
270
270
  log_error "Request params were:"
271
271
  log_error request_data.to_yaml
272
- error_string = ''
272
+ if error_messages.is_a?(Array)
273
+ error_string = error_messages.first
274
+ else
275
+ error_string = error_messages
276
+ end
273
277
  else
274
278
  status_code =
275
279
  Wrangler::ExceptionHandler.status_code_for_exception(exception)
data/wrangler.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wrangler}
8
- s.version = "0.1.18"
8
+ s.version = "0.1.19"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brian Percival"]
12
- s.date = %q{2010-04-09}
12
+ s.date = %q{2010-04-12}
13
13
  s.description = %q{A gem for handling exceptions thrown inside your Rails app. If you include the
14
14
  gem in your application controller, wrangler will render the error pages you
15
15
  configure for each exception or HTTP error code. It will also handle notifying
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrangler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Percival
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-04-09 00:00:00 -07:00
12
+ date: 2010-04-12 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency