wat_catcher 0.3.2 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wat_catcher/report.rb +3 -8
- data/lib/wat_catcher/version.rb +1 -1
- data/vendor/assets/javascripts/wat_catcher.coffee +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a98dcd8593b93f989a5f8686266db64d14a7733
|
4
|
+
data.tar.gz: d11e2cd413ce7e365dfa6d3994ab25955702e7b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58c066097d7efbbbe13c1cf5e5e1629d83b6dbfee80535b009a9d56a8a660575c715f55b2dabb7d9cbeb553c37e998a86090524e35b30f72fbcc189637a77e0b
|
7
|
+
data.tar.gz: 7ce2a8c84ab3ae5768ce1f6c1bf9fe2906bd1b665a542ed87f1700c23fe4e2a51761d86cab0a9878601a64053aee82bd5617702cc4cc8998ea102b40063c8fb4
|
data/lib/wat_catcher/report.rb
CHANGED
@@ -19,19 +19,14 @@ module WatCatcher
|
|
19
19
|
|
20
20
|
def param_exception_description
|
21
21
|
return {} if exception || request.blank?
|
22
|
-
|
23
|
-
{
|
24
|
-
message: wat_params[:message],
|
25
|
-
backtrace: wat_params[:backtrace],
|
26
|
-
page_url: wat_params[:page_url],
|
27
|
-
request_params: nil
|
28
|
-
}
|
22
|
+
request.params[:wat].merge(request_params: nil)
|
29
23
|
end
|
30
24
|
|
31
25
|
def base_description
|
32
26
|
{
|
33
27
|
app_env: ::Rails.env.to_s,
|
34
|
-
app_name: ::Rails.application.class.parent_name
|
28
|
+
app_name: ::Rails.application.class.parent_name,
|
29
|
+
language: "ruby"
|
35
30
|
}
|
36
31
|
end
|
37
32
|
|
data/lib/wat_catcher/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wat_catcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Constantine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|