fast_serializer 1.1.3 → 1.1.4
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 -0
- data/README.md +2 -0
- data/VERSION +1 -1
- data/fast_serializer.gemspec +0 -2
- metadata +3 -17
- /data/{MIT_LICENSE → MIT_LICENSE.txt} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a466a168d1e4a3e346fca8549c08eef80b4f524d5db975197129f23ce8614b16
|
|
4
|
+
data.tar.gz: 07113eca188e090a2ab948fc9740ac71de8af3d74e76748a368a4e3acc9d3da1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dce0f676f3cb5dc3591b9f28ef09ad662b8203839b96a27f30043fd000399fff0c03799ee642a085afecaba60d7221bc97ae5bc3dc044bdcca21d95bba3cbc97
|
|
7
|
+
data.tar.gz: c4486052e66f392022e8524cb3fa201087248c82ed6444b9b08ff4ee3d1292795a9f6657324213e32791f572751745a05f58b7c896aba8550f0212a1589debd4
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## 1.1.4
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Removed unneeded dependency from gemspec.
|
|
12
|
+
|
|
7
13
|
## 1.1.3
|
|
8
14
|
|
|
9
15
|
### Added
|
data/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
[](https://github.com/bdurand/fast_serializer/actions/workflows/continuous_integration.yml)
|
|
2
2
|
[](https://github.com/bdurand/fast_serializer/actions/workflows/regression_test.yml)
|
|
3
3
|
[](https://github.com/testdouble/standard)
|
|
4
|
+
[](https://badge.fury.io/rb/fast_serializer)
|
|
4
5
|
|
|
5
6
|
This gem provides a highly optimized framework for serializing Ruby objects into hashes suitable for serialization to some other format (i.e. JSON). It provides many of the same features as other serialization frameworks like active_model_serializers, but it is designed to emphasize code efficiency over feature set and syntactic surgar.
|
|
6
7
|
|
|
@@ -236,6 +237,7 @@ PersonSerializer.array([a, b, c, d])
|
|
|
236
237
|
## Performance
|
|
237
238
|
|
|
238
239
|
Your mileage may vary. In many cases the performance of the serialization code doesn't particularly matter and this gem performs just about as well as other solutions. However, if you do have high throughput API or can utilize the caching features or have heavily nested models in your JSON responses, then the performance increase may be noticeable.
|
|
240
|
+
|
|
239
241
|
## Installation
|
|
240
242
|
|
|
241
243
|
Add this line to your application's Gemfile:
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.4
|
data/fast_serializer.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,29 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fast_serializer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brian Durand
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-11-
|
|
11
|
+
date: 2023-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: redis
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - ">="
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '0'
|
|
20
|
-
type: :runtime
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - ">="
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '0'
|
|
27
13
|
- !ruby/object:Gem::Dependency
|
|
28
14
|
name: bundler
|
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -46,7 +32,7 @@ extensions: []
|
|
|
46
32
|
extra_rdoc_files: []
|
|
47
33
|
files:
|
|
48
34
|
- CHANGELOG.md
|
|
49
|
-
- MIT_LICENSE
|
|
35
|
+
- MIT_LICENSE.txt
|
|
50
36
|
- README.md
|
|
51
37
|
- VERSION
|
|
52
38
|
- fast_serializer.gemspec
|
|
File without changes
|