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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a929867927762503bc10112f1ba08ecd2908422
4
- data.tar.gz: e9ea97b2051ecf175f4a4ccb39dcb9fb9cf11211
3
+ metadata.gz: 7a98dcd8593b93f989a5f8686266db64d14a7733
4
+ data.tar.gz: d11e2cd413ce7e365dfa6d3994ab25955702e7b2
5
5
  SHA512:
6
- metadata.gz: 367912e36579ed518328568bbcc4326abcf3de90bde319aab46aea5b500afa9236d9b0b61e00770d503701c49f8d68cd224704e8d3f6d51193e5f12ddb424019
7
- data.tar.gz: 04f64dfa2e09f72b97dd8829a5f96cc94b7640fb5b1070380fa9e365f27a44f65fc4a2fb16adb61ddc41a8ce404f0682038de8bd45bdd8e3fbea3cb0def18060
6
+ metadata.gz: 58c066097d7efbbbe13c1cf5e5e1629d83b6dbfee80535b009a9d56a8a660575c715f55b2dabb7d9cbeb553c37e998a86090524e35b30f72fbcc189637a77e0b
7
+ data.tar.gz: 7ce2a8c84ab3ae5768ce1f6c1bf9fe2906bd1b665a542ed87f1700c23fe4e2a51761d86cab0a9878601a64053aee82bd5617702cc4cc8998ea102b40063c8fb4
@@ -19,19 +19,14 @@ module WatCatcher
19
19
 
20
20
  def param_exception_description
21
21
  return {} if exception || request.blank?
22
- wat_params = request.params[:wat]
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
 
@@ -1,3 +1,3 @@
1
1
  module WatCatcher
2
- VERSION = "0.3.2"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -39,6 +39,7 @@ class @WatCatcher
39
39
  backtrace: [url+":"+line]
40
40
  app_env: @attrs.appEnv
41
41
  app_name: @attrs.appName
42
+ language: "javascript"
42
43
  }
43
44
  }
44
45
 
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.3.2
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-07-21 00:00:00.000000000 Z
11
+ date: 2013-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler