whoops_rails_logger 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,8 +30,8 @@ module WhoopsRailsLogger
30
30
 
31
31
  details[:http_host] = rack_env["HTTP_HOST"]
32
32
  details[:params] = rack_env["action_dispatch.request.parameters"]
33
- details[:controller] = details[:params][:controller]
34
- details[:action] = details[:params][:action]
33
+ details[:controller] = details[:params][:controller] if details[:params]
34
+ details[:action] = details[:params][:action] if details[:params]
35
35
  details[:query_string] = rack_env["QUERY_STRING"]
36
36
  details[:remote_addr] = rack_env["REMOTE_ADDR"]
37
37
  details[:request_method] = rack_env["REQUEST_METHOD"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whoops_rails_logger
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
5
- prerelease: false
4
+ hash: 11
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 8
10
+ version: 0.1.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Higginbotham
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-07 00:00:00 -04:00
18
+ date: 2011-10-27 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  requirements: []
185
185
 
186
186
  rubyforge_project:
187
- rubygems_version: 1.3.7
187
+ rubygems_version: 1.6.2
188
188
  signing_key:
189
189
  specification_version: 3
190
190
  summary: A Whoops Logger for Rails 3 apps.