exceptionally 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/exceptionally/handler.rb +3 -1
- data/lib/exceptionally/version.rb +1 -1
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba1c7c909a88df38b73db95b8b1b3a759491c055e2446663d5db20a9af8d8ae6
|
4
|
+
data.tar.gz: bbb135606b8f05a8fc110244343755bc8b910c6dd4e0924c6d67b705b86d9b0c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d50d1d914c77d037f46b288b801e0f25667c2f93cd418a0df3f074004f08b01db2588b452379af0cbcc601d997c5f812fbb4555c7b271e9fd178bce171b09af3
|
7
|
+
data.tar.gz: ec35da96178d510ccd80b634eccd8bed538c9d1bdb67a88b63a7aa560c95dcc0d64f000c206aee94cef26967265d1556ed8b1ceab2acb77fbcab1f0e0d14d340
|
data/README.md
CHANGED
@@ -6,7 +6,9 @@ module Exceptionally
|
|
6
6
|
@error = e
|
7
7
|
@params = params || {}
|
8
8
|
|
9
|
-
|
9
|
+
# ParameterFilter moved to ActiveSupport in rails 6
|
10
|
+
filter = defined?(ActiveSupport::ParameterFilter) ? ActiveSupport::ParameterFilter : ActionDispatch::Http::ParameterFilter
|
11
|
+
f = filter.new(Rails.application.config.filter_parameters)
|
10
12
|
@params = f.filter @params
|
11
13
|
|
12
14
|
@@callback.call(@message, @status, @error, @params) if defined?(@@callback) && @@callback.respond_to?(:call)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: exceptionally
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Neil Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -113,43 +113,43 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
116
|
+
rubygems_version: 3.2.3
|
117
117
|
signing_key:
|
118
118
|
specification_version: 4
|
119
119
|
summary: Exceptionally simple Rails Exception library
|
120
120
|
test_files:
|
121
|
-
- spec/spec_helper.rb
|
122
|
-
- spec/dummy/app/controllers/application_controller.rb
|
123
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
124
121
|
- spec/dummy/app/assets/javascripts/application.js
|
125
122
|
- spec/dummy/app/assets/stylesheets/application.css
|
123
|
+
- spec/dummy/app/controllers/application_controller.rb
|
126
124
|
- spec/dummy/app/helpers/application_helper.rb
|
127
|
-
- spec/dummy/
|
125
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
128
126
|
- spec/dummy/bin/bundle
|
129
127
|
- spec/dummy/bin/rails
|
130
|
-
- spec/dummy/
|
131
|
-
- spec/dummy/config/routes.rb
|
132
|
-
- spec/dummy/config/locales/en.yml
|
133
|
-
- spec/dummy/config/environments/production.rb
|
134
|
-
- spec/dummy/config/environments/development.rb
|
135
|
-
- spec/dummy/config/environments/test.rb
|
136
|
-
- spec/dummy/config/environment.rb
|
128
|
+
- spec/dummy/bin/rake
|
137
129
|
- spec/dummy/config/application.rb
|
138
130
|
- spec/dummy/config/boot.rb
|
131
|
+
- spec/dummy/config/environment.rb
|
132
|
+
- spec/dummy/config/environments/development.rb
|
133
|
+
- spec/dummy/config/environments/production.rb
|
134
|
+
- spec/dummy/config/environments/test.rb
|
135
|
+
- spec/dummy/config/initializers/assets.rb
|
139
136
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
140
|
-
- spec/dummy/config/initializers/
|
137
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
141
138
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
139
|
+
- spec/dummy/config/initializers/inflections.rb
|
140
|
+
- spec/dummy/config/initializers/mime_types.rb
|
142
141
|
- spec/dummy/config/initializers/session_store.rb
|
143
142
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
144
|
-
- spec/dummy/config/
|
145
|
-
- spec/dummy/config/
|
146
|
-
- spec/dummy/config/
|
143
|
+
- spec/dummy/config/locales/en.yml
|
144
|
+
- spec/dummy/config/routes.rb
|
145
|
+
- spec/dummy/config/secrets.yml
|
147
146
|
- spec/dummy/config.ru
|
148
|
-
- spec/dummy/public/
|
147
|
+
- spec/dummy/public/404.html
|
149
148
|
- spec/dummy/public/422.html
|
150
149
|
- spec/dummy/public/500.html
|
151
|
-
- spec/dummy/public/
|
150
|
+
- spec/dummy/public/favicon.ico
|
152
151
|
- spec/dummy/version.rb
|
153
|
-
- spec/exceptionally/handler_spec.rb
|
154
152
|
- spec/exceptionally/config_spec.rb
|
155
153
|
- spec/exceptionally/controller_spec.rb
|
154
|
+
- spec/exceptionally/handler_spec.rb
|
155
|
+
- spec/spec_helper.rb
|