sorbet-schema 0.9.1 → 0.9.3
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 +17 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +4 -1
- data/benchmarks/helpers.rb +239 -0
- data/benchmarks/many_fields_deserialization.rb +23 -0
- data/benchmarks/many_fields_serialization.rb +27 -0
- data/benchmarks/simple_deserialization.rb +23 -0
- data/benchmarks/simple_serialization.rb +27 -0
- data/lib/sorbet-schema/version.rb +1 -1
- data/lib/typed/coercion/boolean_coercer.rb +2 -2
- data/lib/typed/coercion/coercer.rb +1 -1
- data/lib/typed/coercion/coercer_registry.rb +1 -1
- data/lib/typed/coercion/date_coercer.rb +2 -2
- data/lib/typed/coercion/date_time_coercer.rb +2 -2
- data/lib/typed/coercion/enum_coercer.rb +2 -2
- data/lib/typed/coercion/float_coercer.rb +2 -2
- data/lib/typed/coercion/integer_coercer.rb +2 -2
- data/lib/typed/coercion/string_coercer.rb +2 -2
- data/lib/typed/coercion/struct_coercer.rb +2 -2
- data/lib/typed/coercion/symbol_coercer.rb +2 -2
- data/lib/typed/coercion/typed_array_coercer.rb +2 -2
- data/lib/typed/coercion/typed_hash_coercer.rb +2 -2
- data/lib/typed/schema.rb +16 -2
- data/lib/typed/serializer.rb +39 -20
- data/sorbet/rbi/gems/benchmark-ips@2.14.0.rbi +981 -0
- metadata +12 -6
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sorbet-schema
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Max VelDink
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-12-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sorbet-result
|
|
@@ -66,7 +66,7 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '2.6'
|
|
69
|
-
description:
|
|
69
|
+
description:
|
|
70
70
|
email:
|
|
71
71
|
- maxveldink@gmail.com
|
|
72
72
|
executables: []
|
|
@@ -82,6 +82,11 @@ files:
|
|
|
82
82
|
- LICENSE.txt
|
|
83
83
|
- README.md
|
|
84
84
|
- Rakefile
|
|
85
|
+
- benchmarks/helpers.rb
|
|
86
|
+
- benchmarks/many_fields_deserialization.rb
|
|
87
|
+
- benchmarks/many_fields_serialization.rb
|
|
88
|
+
- benchmarks/simple_deserialization.rb
|
|
89
|
+
- benchmarks/simple_serialization.rb
|
|
85
90
|
- lib/sorbet-schema.rb
|
|
86
91
|
- lib/sorbet-schema/hash_transformer.rb
|
|
87
92
|
- lib/sorbet-schema/serialize_value.rb
|
|
@@ -129,6 +134,7 @@ files:
|
|
|
129
134
|
- sorbet/rbi/gems/.gitattributes
|
|
130
135
|
- sorbet/rbi/gems/ansi@1.5.0.rbi
|
|
131
136
|
- sorbet/rbi/gems/ast@2.4.2.rbi
|
|
137
|
+
- sorbet/rbi/gems/benchmark-ips@2.14.0.rbi
|
|
132
138
|
- sorbet/rbi/gems/bigdecimal@3.1.8.rbi
|
|
133
139
|
- sorbet/rbi/gems/builder@3.3.0.rbi
|
|
134
140
|
- sorbet/rbi/gems/erubi@1.13.0.rbi
|
|
@@ -179,7 +185,7 @@ metadata:
|
|
|
179
185
|
homepage_uri: https://github.com/maxveldink/sorbet-schema
|
|
180
186
|
source_code_uri: https://github.com/maxveldink/sorbet-schema
|
|
181
187
|
changelog_uri: https://github.com/maxveldink/sorbet-schema/blob/main/CHANGELOG.md
|
|
182
|
-
post_install_message:
|
|
188
|
+
post_install_message:
|
|
183
189
|
rdoc_options: []
|
|
184
190
|
require_paths:
|
|
185
191
|
- lib
|
|
@@ -196,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
196
202
|
version: '0'
|
|
197
203
|
requirements: []
|
|
198
204
|
rubygems_version: 3.5.11
|
|
199
|
-
signing_key:
|
|
205
|
+
signing_key:
|
|
200
206
|
specification_version: 4
|
|
201
207
|
summary: Serialization and deserialization library into Sorbet structs.
|
|
202
208
|
test_files: []
|