wrangler 0.1.23 → 0.1.24

Sign up to get free protection for your applications and to get access to all the features.
data/TODO CHANGED
@@ -13,6 +13,10 @@ the backtrace before stuffing it into email...from what i could tell from a
13
13
  quick look, it seemed like it was just cleaning up the stack trace, substituting
14
14
  [RAILS ROOT] for the path to the rails app (which should make it shorter, but
15
15
  maybe also to hide the location of the app?)
16
+ * resolve the dependency on action mailer so it doesn't install lots of extra
17
+ gems every time. also use more up-to-date method of specifying dependencies as
18
+ add_dependency appears to be deprecated in rubygems 1.3.6 or 1.3.7 (but remain
19
+ backwards compatible with 1.3.5)
16
20
 
17
21
  == Configuration/flexibility:
18
22
  * allow for a hash to map status_codes to arbitrary templates explicitly instead
@@ -309,7 +309,7 @@ module Wrangler
309
309
  log_error backtrace
310
310
  log_error "Request params were:"
311
311
  log_error request_data.to_yaml
312
- error_string = error_messages.first
312
+ error_string = error_messages.shift
313
313
  else
314
314
  status_code =
315
315
  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.23"
8
+ s.version = "0.1.24"
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-08-01}
12
+ s.date = %q{2010-09-03}
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
@@ -51,20 +51,17 @@ get started and what configuration options are available.
51
51
  s.homepage = %q{http://github.com/bmpercy/wrangler}
52
52
  s.rdoc_options = ["--charset=UTF-8"]
53
53
  s.require_paths = ["lib"]
54
- s.rubygems_version = %q{1.3.5}
54
+ s.rubygems_version = %q{1.3.7}
55
55
  s.summary = %q{Handles exceptions in rails apps, rendering error pages and emailing when exceptions occur. Spun off from some work at discovereads.com}
56
56
 
57
57
  if s.respond_to? :specification_version then
58
58
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
59
59
  s.specification_version = 3
60
60
 
61
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
62
- s.add_runtime_dependency(%q<actionmailer>, [">= 2.1.0"])
61
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
63
62
  else
64
- s.add_dependency(%q<actionmailer>, [">= 2.1.0"])
65
63
  end
66
64
  else
67
- s.add_dependency(%q<actionmailer>, [">= 2.1.0"])
68
65
  end
69
66
  end
70
67
 
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrangler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ hash: 43
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 24
10
+ version: 0.1.24
5
11
  platform: ruby
6
12
  authors:
7
13
  - Brian Percival
@@ -9,19 +15,10 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-08-01 00:00:00 -07:00
18
+ date: 2010-09-03 00:00:00 -07:00
13
19
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: actionmailer
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
20
- requirements:
21
- - - ">="
22
- - !ruby/object:Gem::Version
23
- version: 2.1.0
24
- version:
20
+ dependencies: []
21
+
25
22
  description: |
26
23
  A gem for handling exceptions thrown inside your Rails app. If you include the
27
24
  gem in your application controller, wrangler will render the error pages you
@@ -75,21 +72,27 @@ rdoc_options:
75
72
  require_paths:
76
73
  - lib
77
74
  required_ruby_version: !ruby/object:Gem::Requirement
75
+ none: false
78
76
  requirements:
79
77
  - - ">="
80
78
  - !ruby/object:Gem::Version
79
+ hash: 3
80
+ segments:
81
+ - 0
81
82
  version: "0"
82
- version:
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
+ none: false
84
85
  requirements:
85
86
  - - ">="
86
87
  - !ruby/object:Gem::Version
88
+ hash: 3
89
+ segments:
90
+ - 0
87
91
  version: "0"
88
- version:
89
92
  requirements: []
90
93
 
91
94
  rubyforge_project:
92
- rubygems_version: 1.3.5
95
+ rubygems_version: 1.3.7
93
96
  signing_key:
94
97
  specification_version: 3
95
98
  summary: Handles exceptions in rails apps, rendering error pages and emailing when exceptions occur. Spun off from some work at discovereads.com