catch_json_parse_errors 0.0.1 → 0.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/catch_json_parse_errors/rails.rb +1 -1
- data/lib/catch_json_parse_errors/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2764cb2c9567c1c62bb629d9205b05af4da84f65
|
4
|
+
data.tar.gz: 11f1f41c1048bb82ba32d4182c4cabad9a7d2284
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c317dc2691ba3780694bdc8cbc299014f4eba7ab49ebbb24c13504af16144dfffcc5bc0bcad9051831969e34d8856f5d320e9160480a2f37d318a912eddb777
|
7
|
+
data.tar.gz: c3989fbe2340837a6c480d5da81e6c381dcf8468982f2bf9359687fe812fbe363619ef1a7ef1e92027843154710d2e5e1d330356e70e517e51d1ddb7f1fbc12a
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module CatchJsonParseErrors
|
2
|
-
class
|
2
|
+
class Railtie < Rails::Railtie
|
3
3
|
initializer "catch_json_parse_errors.configure_rails_initialization" do |app|
|
4
4
|
app.middleware.insert_before ActionDispatch::ParamsParser, "CatchJsonParseErrors::Middleware"
|
5
5
|
end
|