airbrake 9.0.1 → 9.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/airbrake/rack.rb +0 -21
- data/lib/airbrake/rack/middleware.rb +11 -0
- data/lib/airbrake/rails.rb +0 -4
- data/lib/airbrake/version.rb +1 -1
- data/spec/apps/rack/dummy_app.rb +0 -2
- data/spec/apps/sinatra/sinatra_test_app.rb +0 -2
- 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: b651c574c9a432d01a65a47063a6be586faae974
|
4
|
+
data.tar.gz: f4382963b76821ff6db3e05eab098e3fb7756af4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b66c6fe884156be351dd53466827ca313f9cd28fb05ace4a2011e9ef8cd4af9f402c06b7583fc6f730bc5e5b980c1f44d78986702e85c05387406ebb71970204
|
7
|
+
data.tar.gz: bb96cbdd5636c853f56e153c14c503c53a12cd8c7c7cb337d2ca07d41ef5a8ea3dcbc8d7f45a6a37d97ba760875784067b505f6a150a38877afb42999701f9bd
|
data/lib/airbrake/rack.rb
CHANGED
@@ -8,24 +8,3 @@ require 'airbrake/rack/request_body_filter'
|
|
8
8
|
require 'airbrake/rack/route_filter'
|
9
9
|
require 'airbrake/rack/middleware'
|
10
10
|
require 'airbrake/rack/request_store'
|
11
|
-
|
12
|
-
module Airbrake
|
13
|
-
# Rack is a namespace for all Rack-related features.
|
14
|
-
module Rack
|
15
|
-
# Adds the list of default Rack filters that read Rack request information
|
16
|
-
# and append it to notices.
|
17
|
-
# @since 9.0.0
|
18
|
-
def self.add_default_filters
|
19
|
-
[
|
20
|
-
Airbrake::Rack::ContextFilter,
|
21
|
-
Airbrake::Rack::UserFilter,
|
22
|
-
Airbrake::Rack::SessionFilter,
|
23
|
-
Airbrake::Rack::HttpParamsFilter,
|
24
|
-
Airbrake::Rack::HttpHeadersFilter,
|
25
|
-
Airbrake::Rack::RouteFilter
|
26
|
-
].each do |filter|
|
27
|
-
Airbrake.add_filter(filter.new)
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
@@ -79,3 +79,14 @@ module Airbrake
|
|
79
79
|
end
|
80
80
|
end
|
81
81
|
end
|
82
|
+
|
83
|
+
[
|
84
|
+
Airbrake::Rack::ContextFilter,
|
85
|
+
Airbrake::Rack::UserFilter,
|
86
|
+
Airbrake::Rack::SessionFilter,
|
87
|
+
Airbrake::Rack::HttpParamsFilter,
|
88
|
+
Airbrake::Rack::HttpHeadersFilter,
|
89
|
+
Airbrake::Rack::RouteFilter
|
90
|
+
].each do |filter|
|
91
|
+
Airbrake.add_filter(filter.new)
|
92
|
+
end
|
data/lib/airbrake/rails.rb
CHANGED
data/lib/airbrake/version.rb
CHANGED
data/spec/apps/rack/dummy_app.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.0.
|
4
|
+
version: 9.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Airbrake Technologies, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: airbrake-ruby
|