errornot_notifier 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG
CHANGED
@@ -79,7 +79,7 @@ module ErrornotNotifier
|
|
79
79
|
self.ignore = args[:ignore] || []
|
80
80
|
self.ignore_by_filters = args[:ignore_by_filters] || []
|
81
81
|
self.backtrace_filters = args[:backtrace_filters] || []
|
82
|
-
|
82
|
+
@params_filters = args[:params_filters] || []
|
83
83
|
self.parameters = args[:parameters] ||
|
84
84
|
action_dispatch_params ||
|
85
85
|
rack_env(:params) ||
|
@@ -308,7 +308,7 @@ module ErrornotNotifier
|
|
308
308
|
|
309
309
|
def also_use_rack_params_filters
|
310
310
|
if args[:rack_env]
|
311
|
-
|
311
|
+
@params_filters += rack_request.env["action_dispatch.parameter_filter"] || []
|
312
312
|
end
|
313
313
|
end
|
314
314
|
|
@@ -14,7 +14,7 @@ namespace :errornot do
|
|
14
14
|
config.logger = Rails.logger
|
15
15
|
end
|
16
16
|
|
17
|
-
require 'app/controllers/application_controller'
|
17
|
+
require Rails.root.join('app/controllers/application_controller.rb')
|
18
18
|
|
19
19
|
class ErrornotTestingException < RuntimeError; end
|
20
20
|
|
@@ -23,6 +23,11 @@ namespace :errornot do
|
|
23
23
|
exit
|
24
24
|
end
|
25
25
|
|
26
|
+
unless ErrornotNotifier.configuration.host
|
27
|
+
puts "Errornot needs a host configured! Check the README to see how to add it."
|
28
|
+
exit
|
29
|
+
end
|
30
|
+
|
26
31
|
ErrornotNotifier.configuration.development_environments = []
|
27
32
|
|
28
33
|
puts "Configuration:"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: errornot_notifier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- thoughtbot, inc, Cyril Mougel
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-08 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|