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
@@ -0,0 +1,86 @@
1
+ module.exports = {
2
+ "title": "Panko Serializers",
3
+ "tagline": "High Performance JSON Serialization for ActiveRecord & Ruby Objects",
4
+ "url": "https://panko.dev",
5
+ "baseUrl": "/",
6
+ "organizationName": "yosiat",
7
+ "projectName": "panko_serializer",
8
+ "favicon": "favicon.ico",
9
+ "customFields": {
10
+ "repoPath": "yosiat/panko_serializer",
11
+ "repoUrl": "https://github.com/yosiat/panko_serializer",
12
+ },
13
+ "onBrokenLinks": "log",
14
+ "onBrokenMarkdownLinks": "log",
15
+ "presets": [
16
+ [
17
+ "@docusaurus/preset-classic",
18
+ {
19
+ "docs": {
20
+ "path": "./docs",
21
+ "showLastUpdateAuthor": false,
22
+ "showLastUpdateTime": false,
23
+ "sidebarPath": "./sidebars.json",
24
+ "routeBasePath": process.env.NODE_ENV === 'production' ? '/docs' : '/',
25
+ },
26
+ "blog": false,
27
+ "pages": false,
28
+ "theme": {
29
+ "customCss": "./src/css/customTheme.css"
30
+ }
31
+ }
32
+ ]
33
+ ],
34
+ "plugins": [],
35
+ "themeConfig": {
36
+ colorMode: {
37
+ defaultMode: 'light',
38
+ disableSwitch: true,
39
+ },
40
+ "navbar": {
41
+ "title": "Panko Serializers",
42
+ "items": [
43
+ {
44
+ "to": "introduction",
45
+ "label": "Docs",
46
+ "position": "left"
47
+ }
48
+ ]
49
+ },
50
+ "image": "img/undraw_online.svg",
51
+ "footer": {
52
+ "links": [
53
+ {
54
+ title: "GitHub",
55
+ items: [
56
+ {
57
+ label: "Repository",
58
+ href: "https://github.com/yosiat/panko_serializer"
59
+ },
60
+ {
61
+ label: "Discussions",
62
+ href: "https://github.com/yosiat/panko_serializer/discussions"
63
+ },
64
+ {
65
+ label: "Issues",
66
+ href: "https://github.com/yosiat/panko_serializer/issues"
67
+ },
68
+ {
69
+ "html": `
70
+ <iframe
71
+ src="https://ghbtns.com/github-btn.html?user=yosiat&amp;repo=panko_serializer&amp;type=star&amp;count=true&amp;size=medium"
72
+ title="GitHub Stars"
73
+ />`
74
+ }
75
+ ]
76
+ }
77
+ ],
78
+ "copyright": `Copyright © ${new Date().getFullYear()} Panko Serializer`,
79
+ },
80
+ prism: {
81
+ theme: require('prism-react-renderer').themes.github, // Optional: Customize theme
82
+ darkTheme: require('prism-react-renderer').themes.dracula, // Optional: Dark theme
83
+ additionalLanguages: ['ruby'], // Add Ruby as an additional language
84
+ },
85
+ }
86
+ }