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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2a92e4f0938ce4c7f74f4f52afeb6d3c59ccf79e31f8b8c6bfab7b6b471c6bf
4
- data.tar.gz: 154055e1a6a6db7fc4a890f000540d58cae02f4f358857fe514a4e6326e58c7e
3
+ metadata.gz: ba1c7c909a88df38b73db95b8b1b3a759491c055e2446663d5db20a9af8d8ae6
4
+ data.tar.gz: bbb135606b8f05a8fc110244343755bc8b910c6dd4e0924c6d67b705b86d9b0c
5
5
  SHA512:
6
- metadata.gz: debbfc6ed9668bc19f3267f62b8f15c4d2eda7e892f3c15a128ca11e4639d13db4bdfdad9d3558bb5a0fab3a32741b79cd6f0b7d3e95c7505c16fd62e6b5bc8e
7
- data.tar.gz: 5a7272c52c64b6dfced6ce8f5a80867fece96bdb9c5d366439fd8714970439fe5e6d42991c54e8778b81779f099ac72feccc0b07694ddbe320ab57d14f8c6f41
6
+ metadata.gz: d50d1d914c77d037f46b288b801e0f25667c2f93cd418a0df3f074004f08b01db2588b452379af0cbcc601d997c5f812fbb4555c7b271e9fd178bce171b09af3
7
+ data.tar.gz: ec35da96178d510ccd80b634eccd8bed538c9d1bdb67a88b63a7aa560c95dcc0d64f000c206aee94cef26967265d1556ed8b1ceab2acb77fbcab1f0e0d14d340
data/README.md CHANGED
@@ -152,7 +152,7 @@ See [changelog](https://github.com/neilgupta/exceptionally/blob/master/CHANGELOG
152
152
 
153
153
  ## Author
154
154
 
155
- Neil Gupta [http://metamorphium.com](http://metamorphium.com)
155
+ Neil Gupta [https://neil.gg](https://neil.gg)
156
156
 
157
157
  ## License
158
158
 
@@ -6,7 +6,9 @@ module Exceptionally
6
6
  @error = e
7
7
  @params = params || {}
8
8
 
9
- f = ActionDispatch::Http::ParameterFilter.new(Rails.application.config.filter_parameters)
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)
@@ -1,3 +1,3 @@
1
1
  module Exceptionally
2
- VERSION = '1.4.3'.freeze
2
+ VERSION = '1.4.4'.freeze
3
3
  end
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.3
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: 2020-08-28 00:00:00.000000000 Z
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.0.8
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/bin/rake
125
+ - spec/dummy/app/views/layouts/application.html.erb
128
126
  - spec/dummy/bin/bundle
129
127
  - spec/dummy/bin/rails
130
- - spec/dummy/config/secrets.yml
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/mime_types.rb
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/initializers/assets.rb
145
- - spec/dummy/config/initializers/cookies_serializer.rb
146
- - spec/dummy/config/initializers/inflections.rb
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/favicon.ico
147
+ - spec/dummy/public/404.html
149
148
  - spec/dummy/public/422.html
150
149
  - spec/dummy/public/500.html
151
- - spec/dummy/public/404.html
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