panko_serializer 0.8.2 → 0.8.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.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +6 -0
  3. data/.github/workflows/database_matrix.yml +85 -0
  4. data/.github/workflows/docs.yml +5 -5
  5. data/.github/workflows/lint.yml +10 -16
  6. data/.github/workflows/{ruby.yml → tests.yml} +9 -22
  7. data/.gitignore +2 -0
  8. data/.rubocop.yml +29 -21
  9. data/Appraisals +23 -12
  10. data/Gemfile +12 -3
  11. data/README.md +4 -4
  12. data/Rakefile +3 -1
  13. data/benchmarks/allocs.rb +2 -2
  14. data/benchmarks/benchmarking_support.rb +2 -1
  15. data/benchmarks/bm_ams_0_10.rb +3 -7
  16. data/benchmarks/bm_panko_json.rb +2 -6
  17. data/benchmarks/bm_panko_object.rb +2 -6
  18. data/benchmarks/bm_plain_object.rb +1 -4
  19. data/benchmarks/bm_serialization_descriptor.rb +1 -1
  20. data/benchmarks/bm_to_object.rb +2 -6
  21. data/benchmarks/profile.rb +2 -2
  22. data/benchmarks/sanity.rb +2 -6
  23. data/benchmarks/setup.rb +4 -3
  24. data/benchmarks/type_casts/support.rb +0 -1
  25. data/docs/docs/associations.md +28 -15
  26. data/docs/docs/attributes.md +33 -20
  27. data/docs/docs/design-choices.md +36 -35
  28. data/docs/docs/getting-started.md +13 -7
  29. data/docs/docs/introduction.md +6 -6
  30. data/docs/docs/performance.md +4 -5
  31. data/docs/docs/response-bag.md +13 -6
  32. data/docs/docusaurus.config.js +86 -0
  33. data/docs/package-lock.json +13999 -18188
  34. data/docs/package.json +10 -6
  35. data/docs/src/css/customTheme.css +9 -0
  36. data/docs/static/CNAME +1 -0
  37. data/ext/panko_serializer/attributes_writer/active_record.c +81 -77
  38. data/ext/panko_serializer/attributes_writer/active_record.h +2 -0
  39. data/ext/panko_serializer/attributes_writer/type_cast/type_cast.c +1 -1
  40. data/gemfiles/{6.1.0.gemfile → 7.2.0.gemfile} +17 -6
  41. data/gemfiles/7.2.0.gemfile.lock +221 -0
  42. data/gemfiles/{7.0.0.gemfile → 8.0.0.gemfile} +17 -6
  43. data/gemfiles/8.0.0.gemfile.lock +239 -0
  44. data/gemfiles/{7.1.0.gemfile → 8.1.0.gemfile} +17 -6
  45. data/gemfiles/8.1.0.gemfile.lock +248 -0
  46. data/lib/panko/version.rb +1 -1
  47. data/panko_serializer.gemspec +1 -1
  48. metadata +16 -21
  49. data/.standard.yml +0 -5
  50. data/docs/.DS_Store +0 -0
  51. data/docs/README.md +0 -198
  52. data/docs/core/Footer.js +0 -80
  53. data/docs/i18n/en.json +0 -50
  54. data/docs/siteConfig.js +0 -80
  55. data/gemfiles/6.1.0.gemfile.lock +0 -166
  56. data/gemfiles/7.0.0.gemfile.lock +0 -164
  57. data/gemfiles/7.1.0.gemfile.lock +0 -181
@@ -1,164 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- panko_serializer (0.8.1)
5
- activesupport
6
- oj (> 3.11.0, < 4.0.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionpack (7.0.8.1)
12
- actionview (= 7.0.8.1)
13
- activesupport (= 7.0.8.1)
14
- rack (~> 2.0, >= 2.2.4)
15
- rack-test (>= 0.6.3)
16
- rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (7.0.8.1)
19
- activesupport (= 7.0.8.1)
20
- builder (~> 3.1)
21
- erubi (~> 1.4)
22
- rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- active_model_serializers (0.10.14)
25
- actionpack (>= 4.1)
26
- activemodel (>= 4.1)
27
- case_transform (>= 0.2)
28
- jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
29
- activemodel (7.0.8.1)
30
- activesupport (= 7.0.8.1)
31
- activerecord (7.0.8.1)
32
- activemodel (= 7.0.8.1)
33
- activesupport (= 7.0.8.1)
34
- activesupport (7.0.8.1)
35
- concurrent-ruby (~> 1.0, >= 1.0.2)
36
- i18n (>= 1.6, < 2)
37
- minitest (>= 5.1)
38
- tzinfo (~> 2.0)
39
- appraisal (2.5.0)
40
- bundler
41
- rake
42
- thor (>= 0.14.0)
43
- ast (2.4.2)
44
- benchmark-ips (2.13.0)
45
- builder (3.2.4)
46
- byebug (11.1.3)
47
- case_transform (0.2)
48
- activesupport
49
- concurrent-ruby (1.2.3)
50
- crass (1.0.6)
51
- diff-lcs (1.5.1)
52
- erubi (1.12.0)
53
- faker (3.2.3)
54
- i18n (>= 1.8.11, < 2)
55
- i18n (1.14.4)
56
- concurrent-ruby (~> 1.0)
57
- json (2.7.1)
58
- jsonapi-renderer (0.2.2)
59
- language_server-protocol (3.17.0.3)
60
- lint_roller (1.1.0)
61
- loofah (2.22.0)
62
- crass (~> 1.0.2)
63
- nokogiri (>= 1.12.0)
64
- memory_profiler (1.0.1)
65
- minitest (5.22.3)
66
- nokogiri (1.16.3-arm64-darwin)
67
- racc (~> 1.4)
68
- oj (3.16.1)
69
- parallel (1.24.0)
70
- parser (3.3.0.5)
71
- ast (~> 2.4.1)
72
- racc
73
- pg (1.5.5)
74
- racc (1.7.3)
75
- rack (2.2.8.1)
76
- rack-test (2.1.0)
77
- rack (>= 1.3)
78
- rails-dom-testing (2.2.0)
79
- activesupport (>= 5.0.0)
80
- minitest
81
- nokogiri (>= 1.6)
82
- rails-html-sanitizer (1.6.0)
83
- loofah (~> 2.21)
84
- nokogiri (~> 1.14)
85
- rainbow (3.1.1)
86
- rake (13.2.1)
87
- rake-compiler (1.2.1)
88
- rake
89
- regexp_parser (2.9.0)
90
- rexml (3.2.6)
91
- rspec (3.13.0)
92
- rspec-core (~> 3.13.0)
93
- rspec-expectations (~> 3.13.0)
94
- rspec-mocks (~> 3.13.0)
95
- rspec-core (3.13.0)
96
- rspec-support (~> 3.13.0)
97
- rspec-expectations (3.13.0)
98
- diff-lcs (>= 1.2.0, < 2.0)
99
- rspec-support (~> 3.13.0)
100
- rspec-mocks (3.13.0)
101
- diff-lcs (>= 1.2.0, < 2.0)
102
- rspec-support (~> 3.13.0)
103
- rspec-support (3.13.1)
104
- rubocop (1.62.1)
105
- json (~> 2.3)
106
- language_server-protocol (>= 3.17.0)
107
- parallel (~> 1.10)
108
- parser (>= 3.3.0.2)
109
- rainbow (>= 2.2.2, < 4.0)
110
- regexp_parser (>= 1.8, < 3.0)
111
- rexml (>= 3.2.5, < 4.0)
112
- rubocop-ast (>= 1.31.1, < 2.0)
113
- ruby-progressbar (~> 1.7)
114
- unicode-display_width (>= 2.4.0, < 3.0)
115
- rubocop-ast (1.31.2)
116
- parser (>= 3.3.0.4)
117
- rubocop-performance (1.20.2)
118
- rubocop (>= 1.48.1, < 2.0)
119
- rubocop-ast (>= 1.30.0, < 2.0)
120
- ruby-progressbar (1.13.0)
121
- sqlite3 (1.7.3-arm64-darwin)
122
- standard (1.34.0)
123
- language_server-protocol (~> 3.17.0.2)
124
- lint_roller (~> 1.0)
125
- rubocop (~> 1.60)
126
- standard-custom (~> 1.0.0)
127
- standard-performance (~> 1.3)
128
- standard-custom (1.0.2)
129
- lint_roller (~> 1.0)
130
- rubocop (~> 1.50)
131
- standard-performance (1.3.1)
132
- lint_roller (~> 1.1)
133
- rubocop-performance (~> 1.20.2)
134
- terminal-table (3.0.2)
135
- unicode-display_width (>= 1.1.1, < 3)
136
- thor (1.3.1)
137
- tzinfo (2.0.6)
138
- concurrent-ruby (~> 1.0)
139
- unicode-display_width (2.5.0)
140
-
141
- PLATFORMS
142
- arm64-darwin-23
143
-
144
- DEPENDENCIES
145
- active_model_serializers (~> 0.10)
146
- activemodel (~> 7.0.0)
147
- activerecord (~> 7.0.0)
148
- activesupport (~> 7.0.0)
149
- appraisal
150
- benchmark-ips
151
- byebug
152
- faker
153
- memory_profiler
154
- panko_serializer!
155
- pg (>= 0.18, < 2.0)
156
- rake
157
- rake-compiler
158
- rspec (~> 3.0)
159
- sqlite3 (~> 1.4)
160
- standard
161
- terminal-table
162
-
163
- BUNDLED WITH
164
- 2.4.6
@@ -1,181 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- panko_serializer (0.8.1)
5
- activesupport
6
- oj (> 3.11.0, < 4.0.0)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionpack (7.1.3.2)
12
- actionview (= 7.1.3.2)
13
- activesupport (= 7.1.3.2)
14
- nokogiri (>= 1.8.5)
15
- racc
16
- rack (>= 2.2.4)
17
- rack-session (>= 1.0.1)
18
- rack-test (>= 0.6.3)
19
- rails-dom-testing (~> 2.2)
20
- rails-html-sanitizer (~> 1.6)
21
- actionview (7.1.3.2)
22
- activesupport (= 7.1.3.2)
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.14)
28
- actionpack (>= 4.1)
29
- activemodel (>= 4.1)
30
- case_transform (>= 0.2)
31
- jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
32
- activemodel (7.1.3.2)
33
- activesupport (= 7.1.3.2)
34
- activerecord (7.1.3.2)
35
- activemodel (= 7.1.3.2)
36
- activesupport (= 7.1.3.2)
37
- timeout (>= 0.4.0)
38
- activesupport (7.1.3.2)
39
- base64
40
- bigdecimal
41
- concurrent-ruby (~> 1.0, >= 1.0.2)
42
- connection_pool (>= 2.2.5)
43
- drb
44
- i18n (>= 1.6, < 2)
45
- minitest (>= 5.1)
46
- mutex_m
47
- tzinfo (~> 2.0)
48
- appraisal (2.5.0)
49
- bundler
50
- rake
51
- thor (>= 0.14.0)
52
- ast (2.4.2)
53
- base64 (0.2.0)
54
- benchmark-ips (2.13.0)
55
- bigdecimal (3.1.7)
56
- builder (3.2.4)
57
- byebug (11.1.3)
58
- case_transform (0.2)
59
- activesupport
60
- concurrent-ruby (1.2.3)
61
- connection_pool (2.4.1)
62
- crass (1.0.6)
63
- diff-lcs (1.5.1)
64
- drb (2.2.1)
65
- erubi (1.12.0)
66
- faker (3.2.3)
67
- i18n (>= 1.8.11, < 2)
68
- i18n (1.14.4)
69
- concurrent-ruby (~> 1.0)
70
- json (2.7.1)
71
- jsonapi-renderer (0.2.2)
72
- language_server-protocol (3.17.0.3)
73
- lint_roller (1.1.0)
74
- loofah (2.22.0)
75
- crass (~> 1.0.2)
76
- nokogiri (>= 1.12.0)
77
- memory_profiler (1.0.1)
78
- minitest (5.22.3)
79
- mutex_m (0.2.0)
80
- nokogiri (1.16.3-arm64-darwin)
81
- racc (~> 1.4)
82
- oj (3.16.1)
83
- parallel (1.24.0)
84
- parser (3.3.0.5)
85
- ast (~> 2.4.1)
86
- racc
87
- pg (1.5.5)
88
- racc (1.7.3)
89
- rack (3.0.10)
90
- rack-session (2.0.0)
91
- rack (>= 3.0.0)
92
- rack-test (2.1.0)
93
- rack (>= 1.3)
94
- rails-dom-testing (2.2.0)
95
- activesupport (>= 5.0.0)
96
- minitest
97
- nokogiri (>= 1.6)
98
- rails-html-sanitizer (1.6.0)
99
- loofah (~> 2.21)
100
- nokogiri (~> 1.14)
101
- rainbow (3.1.1)
102
- rake (13.2.1)
103
- rake-compiler (1.2.1)
104
- rake
105
- regexp_parser (2.9.0)
106
- rexml (3.2.6)
107
- rspec (3.13.0)
108
- rspec-core (~> 3.13.0)
109
- rspec-expectations (~> 3.13.0)
110
- rspec-mocks (~> 3.13.0)
111
- rspec-core (3.13.0)
112
- rspec-support (~> 3.13.0)
113
- rspec-expectations (3.13.0)
114
- diff-lcs (>= 1.2.0, < 2.0)
115
- rspec-support (~> 3.13.0)
116
- rspec-mocks (3.13.0)
117
- diff-lcs (>= 1.2.0, < 2.0)
118
- rspec-support (~> 3.13.0)
119
- rspec-support (3.13.1)
120
- rubocop (1.62.1)
121
- json (~> 2.3)
122
- language_server-protocol (>= 3.17.0)
123
- parallel (~> 1.10)
124
- parser (>= 3.3.0.2)
125
- rainbow (>= 2.2.2, < 4.0)
126
- regexp_parser (>= 1.8, < 3.0)
127
- rexml (>= 3.2.5, < 4.0)
128
- rubocop-ast (>= 1.31.1, < 2.0)
129
- ruby-progressbar (~> 1.7)
130
- unicode-display_width (>= 2.4.0, < 3.0)
131
- rubocop-ast (1.31.2)
132
- parser (>= 3.3.0.4)
133
- rubocop-performance (1.20.2)
134
- rubocop (>= 1.48.1, < 2.0)
135
- rubocop-ast (>= 1.30.0, < 2.0)
136
- ruby-progressbar (1.13.0)
137
- sqlite3 (1.7.3-arm64-darwin)
138
- standard (1.34.0)
139
- language_server-protocol (~> 3.17.0.2)
140
- lint_roller (~> 1.0)
141
- rubocop (~> 1.60)
142
- standard-custom (~> 1.0.0)
143
- standard-performance (~> 1.3)
144
- standard-custom (1.0.2)
145
- lint_roller (~> 1.0)
146
- rubocop (~> 1.50)
147
- standard-performance (1.3.1)
148
- lint_roller (~> 1.1)
149
- rubocop-performance (~> 1.20.2)
150
- terminal-table (3.0.2)
151
- unicode-display_width (>= 1.1.1, < 3)
152
- thor (1.3.1)
153
- timeout (0.4.1)
154
- tzinfo (2.0.6)
155
- concurrent-ruby (~> 1.0)
156
- unicode-display_width (2.5.0)
157
-
158
- PLATFORMS
159
- arm64-darwin-23
160
-
161
- DEPENDENCIES
162
- active_model_serializers (~> 0.10)
163
- activemodel (~> 7.1.0)
164
- activerecord (~> 7.1.0)
165
- activesupport (~> 7.1.0)
166
- appraisal
167
- benchmark-ips
168
- byebug
169
- faker
170
- memory_profiler
171
- panko_serializer!
172
- pg (>= 0.18, < 2.0)
173
- rake
174
- rake-compiler
175
- rspec (~> 3.0)
176
- sqlite3 (~> 1.4)
177
- standard
178
- terminal-table
179
-
180
- BUNDLED WITH
181
- 2.4.6