oj_serializers 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/oj_serializers/serializer.rb +1 -1
- data/lib/oj_serializers/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a03657fa651d7b3309e4d182dc2a8446733190cd92833ebcfd20a3bc24efeb9b
|
|
4
|
+
data.tar.gz: fa3169a06d80fbc73324eda88866a3f549f59ccf5d75085ac988a6e571d7d8a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3b1fe6d00cec3052d51bb4f508731a458d52b23645e936e83992f144d638d381abaa95cbb0adbb8280bf41f2f13e2fcdbe6916556a9d5ecbac8135ceffc37f00
|
|
7
|
+
data.tar.gz: 77372418c201970662770f7ab1bbfeeca7a9260bf155ff2431cae7003dbd6dbed5d1dafaf9e149347ec452015d1656b2430089688316e41b1d837d0b5e971cfc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
## Oj Serializers 1.0.2 (2023-03-01) ##
|
|
2
|
+
|
|
3
|
+
* [fix: avoid freezing `ALLOWED_INSTANCE_VARIABLES`](https://github.com/ElMassimo/oj_serializers/commit/ade0302)
|
|
4
|
+
|
|
5
|
+
|
|
1
6
|
## Oj Serializers 1.0.1 (2023-03-01) ##
|
|
2
7
|
|
|
3
|
-
* [
|
|
8
|
+
* [fix: avoid caching instances of reloaded classes in development](https://github.com/ElMassimo/oj_serializers/commit/0bd928d64d159926acf6b4d57e3f08b12f6931ce)
|
|
4
9
|
|
|
5
10
|
|
|
6
11
|
## Oj Serializers 1.0.0 (2020-11-05) ##
|
|
@@ -19,7 +19,7 @@ require 'oj_serializers/json_value'
|
|
|
19
19
|
class OjSerializers::Serializer
|
|
20
20
|
# Public: Used to validate incorrect memoization during development. Users of
|
|
21
21
|
# this library might add additional options as needed.
|
|
22
|
-
ALLOWED_INSTANCE_VARIABLES = %w[memo object]
|
|
22
|
+
ALLOWED_INSTANCE_VARIABLES = %w[memo object]
|
|
23
23
|
|
|
24
24
|
CACHE = (defined?(Rails) && Rails.cache) ||
|
|
25
25
|
(defined?(ActiveSupport::Cache::MemoryStore) ? ActiveSupport::Cache::MemoryStore.new : OjSerializers::Memo.new)
|