praxis 2.0.pre.37 → 2.0.pre.38
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/praxis/handlers/json.rb +0 -6
- data/lib/praxis/version.rb +1 -1
- data/spec/spec_helper.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2f139dbbe5f48ceddf013eb18a84dc43fcdf41af033b19a40f565f8606b961f
|
4
|
+
data.tar.gz: 69b0200fd2ead2d713af52b7a0c56ca60a19bc4cb118ff0284017e7f1d19cda2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdcaed25ce9a8735f76a77e8f805432579eb4afa8893d0abf39b8054cd09053dc9a0103c1ea64d2330baa4280dc9d8b9a522022afce009c90814f367e3295920
|
7
|
+
data.tar.gz: 6a146584703308be70f70a54e3ebb53b10ff038578a5851e333cad95392729576e133c5079a85052487f3af023c831888e7cc2a8dd075b93b7aa8c7c30b5dc24
|
data/CHANGELOG.md
CHANGED
data/lib/praxis/handlers/json.rb
CHANGED
@@ -8,12 +8,6 @@ module Praxis
|
|
8
8
|
# @raise [Praxis::Exceptions::InvalidConfiguration] if the handler is unsupported
|
9
9
|
def initialize
|
10
10
|
require 'oj'
|
11
|
-
begin
|
12
|
-
require 'json'
|
13
|
-
rescue LoadError # rubocop:disable Lint/SuppressedException
|
14
|
-
end
|
15
|
-
# Enable mimicing needs to be done after loading the JSON gem (if there)
|
16
|
-
::Oj.mimic_JSON
|
17
11
|
rescue LoadError
|
18
12
|
# Should never happen since JSON is a default gem; might as well be cautious!
|
19
13
|
raise Praxis::Exceptions::InvalidConfiguration,
|
data/lib/praxis/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: praxis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.pre.
|
4
|
+
version: 2.0.pre.38
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josep M. Blanquer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-09-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|