panko_serializer 0.8.4 → 0.8.5
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/README.md +3 -3
- data/ext/panko_serializer/attributes_writer/type_cast/type_cast.c +23 -12
- data/lib/panko/version.rb +1 -1
- metadata +1 -65
- data/.clang-format +0 -3
- data/.github/dependabot.yml +0 -6
- data/.github/workflows/database_matrix.yml +0 -85
- data/.github/workflows/docs.yml +0 -39
- data/.github/workflows/lint.yml +0 -30
- data/.github/workflows/tests.yml +0 -34
- data/.gitignore +0 -20
- data/.rspec +0 -2
- data/.rubocop.yml +0 -37
- data/Appraisals +0 -28
- data/Gemfile +0 -37
- data/Rakefile +0 -93
- data/benchmarks/BENCHMARKS.md +0 -48
- data/benchmarks/allocs.rb +0 -23
- data/benchmarks/app.rb +0 -11
- data/benchmarks/benchmarking_support.rb +0 -44
- data/benchmarks/bm_ams_0_10.rb +0 -43
- data/benchmarks/bm_object_writer.rb +0 -65
- data/benchmarks/bm_panko_json.rb +0 -60
- data/benchmarks/bm_panko_object.rb +0 -46
- data/benchmarks/bm_plain_object.rb +0 -99
- data/benchmarks/bm_serialization_descriptor.rb +0 -76
- data/benchmarks/bm_serializer_resolver.rb +0 -22
- data/benchmarks/bm_to_object.rb +0 -81
- data/benchmarks/profile.rb +0 -86
- data/benchmarks/sanity.rb +0 -83
- data/benchmarks/setup.rb +0 -56
- data/benchmarks/type_casts/bm_active_record.rb +0 -58
- data/benchmarks/type_casts/bm_panko.rb +0 -65
- data/benchmarks/type_casts/support.rb +0 -27
- data/docs/docs/associations.md +0 -107
- data/docs/docs/attributes.md +0 -150
- data/docs/docs/design-choices.md +0 -127
- data/docs/docs/getting-started.md +0 -70
- data/docs/docs/introduction.md +0 -13
- data/docs/docs/performance.md +0 -32
- data/docs/docs/response-bag.md +0 -83
- data/docs/docusaurus.config.js +0 -86
- data/docs/package-lock.json +0 -17872
- data/docs/package.json +0 -18
- data/docs/sidebars.json +0 -15
- data/docs/src/css/customTheme.css +0 -9
- data/docs/static/.DS_Store +0 -0
- data/docs/static/CNAME +0 -1
- data/docs/static/css/custom.css +0 -51
- data/docs/static/img/favicon.ico +0 -0
- data/docs/static/img/oss_logo.png +0 -0
- data/docs/static/img/undraw_code_review.svg +0 -1
- data/docs/static/img/undraw_monitor.svg +0 -1
- data/docs/static/img/undraw_note_list.svg +0 -1
- data/docs/static/img/undraw_online.svg +0 -1
- data/docs/static/img/undraw_open_source.svg +0 -1
- data/docs/static/img/undraw_operating_system.svg +0 -1
- data/docs/static/img/undraw_react.svg +0 -1
- data/docs/static/img/undraw_tweetstorm.svg +0 -1
- data/docs/static/img/undraw_youtube_tutorial.svg +0 -1
- data/docs/static/index.html +0 -14
- data/gemfiles/7.2.0.gemfile +0 -41
- data/gemfiles/7.2.0.gemfile.lock +0 -221
- data/gemfiles/8.0.0.gemfile +0 -41
- data/gemfiles/8.0.0.gemfile.lock +0 -239
- data/gemfiles/8.1.0.gemfile +0 -41
- data/gemfiles/8.1.0.gemfile.lock +0 -248
- data/panko_serializer.gemspec +0 -36
data/gemfiles/8.1.0.gemfile
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# This file was generated by Appraisal
|
|
2
|
-
|
|
3
|
-
source "https://rubygems.org"
|
|
4
|
-
|
|
5
|
-
gem "activesupport", "~> 8.1.0"
|
|
6
|
-
gem "activemodel", "~> 8.1.0"
|
|
7
|
-
gem "activerecord", "~> 8.1.0", group: :test
|
|
8
|
-
gem "trilogy"
|
|
9
|
-
gem "sqlite3", ">= 2.1"
|
|
10
|
-
|
|
11
|
-
group :benchmarks do
|
|
12
|
-
gem "vernier"
|
|
13
|
-
gem "stackprof"
|
|
14
|
-
gem "pg"
|
|
15
|
-
gem "benchmark-ips"
|
|
16
|
-
gem "active_model_serializers", "~> 0.10"
|
|
17
|
-
gem "terminal-table"
|
|
18
|
-
gem "memory_profiler"
|
|
19
|
-
end
|
|
20
|
-
|
|
21
|
-
group :test do
|
|
22
|
-
gem "faker"
|
|
23
|
-
gem "temping"
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
group :development do
|
|
27
|
-
gem "byebug"
|
|
28
|
-
gem "rake"
|
|
29
|
-
gem "rspec", "~> 3.0"
|
|
30
|
-
gem "rake-compiler"
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
group :development, :test do
|
|
34
|
-
gem "rubocop"
|
|
35
|
-
gem "standard"
|
|
36
|
-
gem "standard-performance"
|
|
37
|
-
gem "rubocop-performance"
|
|
38
|
-
gem "rubocop-rspec"
|
|
39
|
-
end
|
|
40
|
-
|
|
41
|
-
gemspec path: "../"
|
data/gemfiles/8.1.0.gemfile.lock
DELETED
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: ..
|
|
3
|
-
specs:
|
|
4
|
-
panko_serializer (0.8.3)
|
|
5
|
-
activesupport
|
|
6
|
-
oj (> 3.11.0, < 4.0.0)
|
|
7
|
-
|
|
8
|
-
GEM
|
|
9
|
-
remote: https://rubygems.org/
|
|
10
|
-
specs:
|
|
11
|
-
actionpack (8.1.1)
|
|
12
|
-
actionview (= 8.1.1)
|
|
13
|
-
activesupport (= 8.1.1)
|
|
14
|
-
nokogiri (>= 1.8.5)
|
|
15
|
-
rack (>= 2.2.4)
|
|
16
|
-
rack-session (>= 1.0.1)
|
|
17
|
-
rack-test (>= 0.6.3)
|
|
18
|
-
rails-dom-testing (~> 2.2)
|
|
19
|
-
rails-html-sanitizer (~> 1.6)
|
|
20
|
-
useragent (~> 0.16)
|
|
21
|
-
actionview (8.1.1)
|
|
22
|
-
activesupport (= 8.1.1)
|
|
23
|
-
builder (~> 3.1)
|
|
24
|
-
erubi (~> 1.11)
|
|
25
|
-
rails-dom-testing (~> 2.2)
|
|
26
|
-
rails-html-sanitizer (~> 1.6)
|
|
27
|
-
active_model_serializers (0.10.15)
|
|
28
|
-
actionpack (>= 4.1)
|
|
29
|
-
activemodel (>= 4.1)
|
|
30
|
-
case_transform (>= 0.2)
|
|
31
|
-
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
|
|
32
|
-
activemodel (8.1.1)
|
|
33
|
-
activesupport (= 8.1.1)
|
|
34
|
-
activerecord (8.1.1)
|
|
35
|
-
activemodel (= 8.1.1)
|
|
36
|
-
activesupport (= 8.1.1)
|
|
37
|
-
timeout (>= 0.4.0)
|
|
38
|
-
activesupport (8.1.1)
|
|
39
|
-
base64
|
|
40
|
-
bigdecimal
|
|
41
|
-
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
42
|
-
connection_pool (>= 2.2.5)
|
|
43
|
-
drb
|
|
44
|
-
i18n (>= 1.6, < 2)
|
|
45
|
-
json
|
|
46
|
-
logger (>= 1.4.2)
|
|
47
|
-
minitest (>= 5.1)
|
|
48
|
-
securerandom (>= 0.3)
|
|
49
|
-
tzinfo (~> 2.0, >= 2.0.5)
|
|
50
|
-
uri (>= 0.13.1)
|
|
51
|
-
appraisal (2.5.0)
|
|
52
|
-
bundler
|
|
53
|
-
rake
|
|
54
|
-
thor (>= 0.14.0)
|
|
55
|
-
ast (2.4.3)
|
|
56
|
-
base64 (0.3.0)
|
|
57
|
-
benchmark-ips (2.14.0)
|
|
58
|
-
bigdecimal (3.3.1)
|
|
59
|
-
builder (3.3.0)
|
|
60
|
-
byebug (12.0.0)
|
|
61
|
-
case_transform (0.2)
|
|
62
|
-
activesupport
|
|
63
|
-
concurrent-ruby (1.3.5)
|
|
64
|
-
connection_pool (2.5.4)
|
|
65
|
-
crass (1.0.6)
|
|
66
|
-
diff-lcs (1.6.2)
|
|
67
|
-
drb (2.2.3)
|
|
68
|
-
erubi (1.13.1)
|
|
69
|
-
faker (3.5.2)
|
|
70
|
-
i18n (>= 1.8.11, < 2)
|
|
71
|
-
i18n (1.14.7)
|
|
72
|
-
concurrent-ruby (~> 1.0)
|
|
73
|
-
json (2.16.0)
|
|
74
|
-
jsonapi-renderer (0.2.2)
|
|
75
|
-
language_server-protocol (3.17.0.5)
|
|
76
|
-
lint_roller (1.1.0)
|
|
77
|
-
logger (1.7.0)
|
|
78
|
-
loofah (2.24.1)
|
|
79
|
-
crass (~> 1.0.2)
|
|
80
|
-
nokogiri (>= 1.12.0)
|
|
81
|
-
memory_profiler (1.1.0)
|
|
82
|
-
minitest (5.26.2)
|
|
83
|
-
nokogiri (1.18.10-aarch64-linux-gnu)
|
|
84
|
-
racc (~> 1.4)
|
|
85
|
-
nokogiri (1.18.10-aarch64-linux-musl)
|
|
86
|
-
racc (~> 1.4)
|
|
87
|
-
nokogiri (1.18.10-arm-linux-gnu)
|
|
88
|
-
racc (~> 1.4)
|
|
89
|
-
nokogiri (1.18.10-arm-linux-musl)
|
|
90
|
-
racc (~> 1.4)
|
|
91
|
-
nokogiri (1.18.10-arm64-darwin)
|
|
92
|
-
racc (~> 1.4)
|
|
93
|
-
nokogiri (1.18.10-x86_64-darwin)
|
|
94
|
-
racc (~> 1.4)
|
|
95
|
-
nokogiri (1.18.10-x86_64-linux-gnu)
|
|
96
|
-
racc (~> 1.4)
|
|
97
|
-
nokogiri (1.18.10-x86_64-linux-musl)
|
|
98
|
-
racc (~> 1.4)
|
|
99
|
-
oj (3.16.12)
|
|
100
|
-
bigdecimal (>= 3.0)
|
|
101
|
-
ostruct (>= 0.2)
|
|
102
|
-
ostruct (0.6.3)
|
|
103
|
-
parallel (1.27.0)
|
|
104
|
-
parser (3.3.10.0)
|
|
105
|
-
ast (~> 2.4.1)
|
|
106
|
-
racc
|
|
107
|
-
pg (1.6.2)
|
|
108
|
-
pg (1.6.2-aarch64-linux)
|
|
109
|
-
pg (1.6.2-aarch64-linux-musl)
|
|
110
|
-
pg (1.6.2-arm64-darwin)
|
|
111
|
-
pg (1.6.2-x86_64-darwin)
|
|
112
|
-
pg (1.6.2-x86_64-linux)
|
|
113
|
-
pg (1.6.2-x86_64-linux-musl)
|
|
114
|
-
prism (1.6.0)
|
|
115
|
-
racc (1.8.1)
|
|
116
|
-
rack (3.2.4)
|
|
117
|
-
rack-session (2.1.1)
|
|
118
|
-
base64 (>= 0.1.0)
|
|
119
|
-
rack (>= 3.0.0)
|
|
120
|
-
rack-test (2.2.0)
|
|
121
|
-
rack (>= 1.3)
|
|
122
|
-
rails-dom-testing (2.3.0)
|
|
123
|
-
activesupport (>= 5.0.0)
|
|
124
|
-
minitest
|
|
125
|
-
nokogiri (>= 1.6)
|
|
126
|
-
rails-html-sanitizer (1.6.2)
|
|
127
|
-
loofah (~> 2.21)
|
|
128
|
-
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
129
|
-
rainbow (3.1.1)
|
|
130
|
-
rake (13.3.1)
|
|
131
|
-
rake-compiler (1.3.0)
|
|
132
|
-
rake
|
|
133
|
-
regexp_parser (2.11.3)
|
|
134
|
-
rspec (3.13.2)
|
|
135
|
-
rspec-core (~> 3.13.0)
|
|
136
|
-
rspec-expectations (~> 3.13.0)
|
|
137
|
-
rspec-mocks (~> 3.13.0)
|
|
138
|
-
rspec-core (3.13.6)
|
|
139
|
-
rspec-support (~> 3.13.0)
|
|
140
|
-
rspec-expectations (3.13.5)
|
|
141
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
142
|
-
rspec-support (~> 3.13.0)
|
|
143
|
-
rspec-mocks (3.13.7)
|
|
144
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
145
|
-
rspec-support (~> 3.13.0)
|
|
146
|
-
rspec-support (3.13.6)
|
|
147
|
-
rubocop (1.81.7)
|
|
148
|
-
json (~> 2.3)
|
|
149
|
-
language_server-protocol (~> 3.17.0.2)
|
|
150
|
-
lint_roller (~> 1.1.0)
|
|
151
|
-
parallel (~> 1.10)
|
|
152
|
-
parser (>= 3.3.0.2)
|
|
153
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
154
|
-
regexp_parser (>= 2.9.3, < 3.0)
|
|
155
|
-
rubocop-ast (>= 1.47.1, < 2.0)
|
|
156
|
-
ruby-progressbar (~> 1.7)
|
|
157
|
-
unicode-display_width (>= 2.4.0, < 4.0)
|
|
158
|
-
rubocop-ast (1.48.0)
|
|
159
|
-
parser (>= 3.3.7.2)
|
|
160
|
-
prism (~> 1.4)
|
|
161
|
-
rubocop-performance (1.25.0)
|
|
162
|
-
lint_roller (~> 1.1)
|
|
163
|
-
rubocop (>= 1.75.0, < 2.0)
|
|
164
|
-
rubocop-ast (>= 1.38.0, < 2.0)
|
|
165
|
-
rubocop-rspec (3.8.0)
|
|
166
|
-
lint_roller (~> 1.1)
|
|
167
|
-
rubocop (~> 1.81)
|
|
168
|
-
ruby-progressbar (1.13.0)
|
|
169
|
-
securerandom (0.4.1)
|
|
170
|
-
sqlite3 (2.8.0-aarch64-linux-gnu)
|
|
171
|
-
sqlite3 (2.8.0-aarch64-linux-musl)
|
|
172
|
-
sqlite3 (2.8.0-arm-linux-gnu)
|
|
173
|
-
sqlite3 (2.8.0-arm-linux-musl)
|
|
174
|
-
sqlite3 (2.8.0-arm64-darwin)
|
|
175
|
-
sqlite3 (2.8.0-x86_64-darwin)
|
|
176
|
-
sqlite3 (2.8.0-x86_64-linux-gnu)
|
|
177
|
-
sqlite3 (2.8.0-x86_64-linux-musl)
|
|
178
|
-
stackprof (0.2.27)
|
|
179
|
-
standard (1.52.0)
|
|
180
|
-
language_server-protocol (~> 3.17.0.2)
|
|
181
|
-
lint_roller (~> 1.0)
|
|
182
|
-
rubocop (~> 1.81.7)
|
|
183
|
-
standard-custom (~> 1.0.0)
|
|
184
|
-
standard-performance (~> 1.8)
|
|
185
|
-
standard-custom (1.0.2)
|
|
186
|
-
lint_roller (~> 1.0)
|
|
187
|
-
rubocop (~> 1.50)
|
|
188
|
-
standard-performance (1.8.0)
|
|
189
|
-
lint_roller (~> 1.1)
|
|
190
|
-
rubocop-performance (~> 1.25.0)
|
|
191
|
-
temping (4.4.0)
|
|
192
|
-
activerecord (>= 6.0, < 8.2)
|
|
193
|
-
activesupport (>= 6.0, < 8.2)
|
|
194
|
-
terminal-table (4.0.0)
|
|
195
|
-
unicode-display_width (>= 1.1.1, < 4)
|
|
196
|
-
thor (1.4.0)
|
|
197
|
-
timeout (0.4.4)
|
|
198
|
-
trilogy (2.9.0)
|
|
199
|
-
tzinfo (2.0.6)
|
|
200
|
-
concurrent-ruby (~> 1.0)
|
|
201
|
-
unicode-display_width (3.2.0)
|
|
202
|
-
unicode-emoji (~> 4.1)
|
|
203
|
-
unicode-emoji (4.1.0)
|
|
204
|
-
uri (1.1.1)
|
|
205
|
-
useragent (0.16.11)
|
|
206
|
-
vernier (1.8.1)
|
|
207
|
-
|
|
208
|
-
PLATFORMS
|
|
209
|
-
aarch64-linux
|
|
210
|
-
aarch64-linux-gnu
|
|
211
|
-
aarch64-linux-musl
|
|
212
|
-
arm-linux-gnu
|
|
213
|
-
arm-linux-musl
|
|
214
|
-
arm64-darwin
|
|
215
|
-
x86_64-darwin
|
|
216
|
-
x86_64-linux
|
|
217
|
-
x86_64-linux-gnu
|
|
218
|
-
x86_64-linux-musl
|
|
219
|
-
|
|
220
|
-
DEPENDENCIES
|
|
221
|
-
active_model_serializers (~> 0.10)
|
|
222
|
-
activemodel (~> 8.1.0)
|
|
223
|
-
activerecord (~> 8.1.0)
|
|
224
|
-
activesupport (~> 8.1.0)
|
|
225
|
-
appraisal
|
|
226
|
-
benchmark-ips
|
|
227
|
-
byebug
|
|
228
|
-
faker
|
|
229
|
-
memory_profiler
|
|
230
|
-
panko_serializer!
|
|
231
|
-
pg
|
|
232
|
-
rake
|
|
233
|
-
rake-compiler
|
|
234
|
-
rspec (~> 3.0)
|
|
235
|
-
rubocop
|
|
236
|
-
rubocop-performance
|
|
237
|
-
rubocop-rspec
|
|
238
|
-
sqlite3 (>= 2.1)
|
|
239
|
-
stackprof
|
|
240
|
-
standard
|
|
241
|
-
standard-performance
|
|
242
|
-
temping
|
|
243
|
-
terminal-table
|
|
244
|
-
trilogy
|
|
245
|
-
vernier
|
|
246
|
-
|
|
247
|
-
BUNDLED WITH
|
|
248
|
-
2.7.2
|
data/panko_serializer.gemspec
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
lib = File.expand_path("lib", __dir__)
|
|
4
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
|
-
require "panko/version"
|
|
6
|
-
|
|
7
|
-
Gem::Specification.new do |spec|
|
|
8
|
-
spec.name = "panko_serializer"
|
|
9
|
-
spec.version = Panko::VERSION
|
|
10
|
-
spec.authors = ["Yosi Attias"]
|
|
11
|
-
spec.email = ["yosy101@gmail.com"]
|
|
12
|
-
|
|
13
|
-
spec.summary = "High Performance JSON Serialization for ActiveRecord & Ruby Objects"
|
|
14
|
-
spec.homepage = "https://panko.dev"
|
|
15
|
-
spec.license = "MIT"
|
|
16
|
-
|
|
17
|
-
spec.metadata = {
|
|
18
|
-
"bug_tracker_uri" => "https://github.com/yosiat/panko_serializer/issues",
|
|
19
|
-
"source_code_uri" => "https://github.com/yosiat/panko_serializer",
|
|
20
|
-
"documentation_uri" => "https://panko.dev",
|
|
21
|
-
"changelog_uri" => "https://github.com/yosiat/panko_serializer/releases"
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
spec.required_ruby_version = ">= 3.1.0"
|
|
25
|
-
|
|
26
|
-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
27
|
-
f.match(%r{^(test|spec|features)/})
|
|
28
|
-
end
|
|
29
|
-
spec.require_paths = ["lib"]
|
|
30
|
-
|
|
31
|
-
spec.extensions << "ext/panko_serializer/extconf.rb"
|
|
32
|
-
|
|
33
|
-
spec.add_dependency "oj", "> 3.11.0", "< 4.0.0"
|
|
34
|
-
spec.add_dependency "activesupport"
|
|
35
|
-
spec.add_development_dependency "appraisal"
|
|
36
|
-
end
|