whoops_rails_logger 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ module WhoopsRailsLogger
|
|
31
31
|
details[:http_host] = rack_env["HTTP_HOST"]
|
32
32
|
details[:params] = rack_env["action_dispatch.request.parameters"]
|
33
33
|
details[:controller] = details[:params][:controller]
|
34
|
-
details[:action]
|
34
|
+
details[:action] = details[:params][:action]
|
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"]
|
@@ -42,7 +42,7 @@ module WhoopsRailsLogger
|
|
42
42
|
end
|
43
43
|
|
44
44
|
self.add_message_builder(:create_event_group_identifier) do |message, raw_data|
|
45
|
-
identifier = "#{details[:controller]}##{details[:action]}"
|
45
|
+
identifier = "#{message.details[:controller]}##{message.details[:action]}"
|
46
46
|
identifier << raw_data[:exception].backtrace.collect{|b| b.gsub(/:in.*/, "")}.join("\n")
|
47
47
|
message.event_group_identifier = Digest::MD5.hexdigest(identifier)
|
48
48
|
end
|
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:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 7
|
10
|
+
version: 0.1.7
|
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-
|
18
|
+
date: 2011-10-07 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|