panko_serializer 0.8.2 → 0.8.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.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.github/dependabot.yml +6 -0
  3. data/.github/workflows/docs.yml +4 -4
  4. data/.github/workflows/lint.yml +8 -14
  5. data/.github/workflows/ruby.yml +11 -7
  6. data/.gitignore +2 -0
  7. data/.rubocop.yml +29 -21
  8. data/Appraisals +20 -8
  9. data/Gemfile +11 -3
  10. data/README.md +3 -3
  11. data/Rakefile +3 -1
  12. data/benchmarks/allocs.rb +2 -2
  13. data/benchmarks/benchmarking_support.rb +2 -1
  14. data/benchmarks/bm_ams_0_10.rb +3 -7
  15. data/benchmarks/bm_panko_json.rb +2 -6
  16. data/benchmarks/bm_panko_object.rb +2 -6
  17. data/benchmarks/bm_plain_object.rb +1 -4
  18. data/benchmarks/bm_serialization_descriptor.rb +1 -1
  19. data/benchmarks/bm_to_object.rb +2 -6
  20. data/benchmarks/profile.rb +2 -2
  21. data/benchmarks/sanity.rb +2 -6
  22. data/benchmarks/setup.rb +4 -3
  23. data/benchmarks/type_casts/support.rb +0 -1
  24. data/docs/docs/associations.md +19 -6
  25. data/docs/docs/attributes.md +29 -23
  26. data/docs/docs/design-choices.md +28 -27
  27. data/docs/docs/getting-started.md +9 -3
  28. data/docs/docs/introduction.md +5 -5
  29. data/docs/docs/performance.md +0 -1
  30. data/docs/docs/response-bag.md +8 -1
  31. data/docs/docusaurus.config.js +86 -0
  32. data/docs/package-lock.json +12607 -18674
  33. data/docs/package.json +14 -7
  34. data/docs/src/css/customTheme.css +9 -0
  35. data/docs/static/CNAME +1 -0
  36. data/ext/panko_serializer/attributes_writer/active_record.c +103 -72
  37. data/ext/panko_serializer/attributes_writer/active_record.h +2 -0
  38. data/gemfiles/7.0.0.gemfile +12 -3
  39. data/gemfiles/7.0.0.gemfile.lock +62 -50
  40. data/gemfiles/7.1.0.gemfile +15 -6
  41. data/gemfiles/7.1.0.gemfile.lock +76 -59
  42. data/gemfiles/{6.1.0.gemfile → 7.2.0.gemfile} +15 -6
  43. data/gemfiles/{6.1.0.gemfile.lock → 7.2.0.gemfile.lock} +97 -65
  44. data/gemfiles/8.0.0.gemfile +39 -0
  45. data/gemfiles/8.0.0.gemfile.lock +219 -0
  46. data/lib/panko/version.rb +1 -1
  47. data/panko_serializer.gemspec +1 -1
  48. metadata +12 -12
  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
data/docs/siteConfig.js DELETED
@@ -1,80 +0,0 @@
1
- /**
2
- * Copyright (c) 2017-present, Facebook, Inc.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- // See https://docusaurus.io/docs/site-config for all the possible
9
- // site configuration options.
10
-
11
-
12
- // List of projects/orgs using your project for the users page.
13
- const users = [
14
- {
15
- caption: 'User1',
16
- // You will need to prepend the image path with your baseUrl
17
- // if it is not '/', like: '/test-site/img/image.jpg'.
18
- image: '/img/undraw_open_source.svg',
19
- infoLink: 'https://www.facebook.com',
20
- pinned: true,
21
- },
22
- ];
23
-
24
- const siteConfig = {
25
- title: 'Panko Serializers',
26
- tagline: 'High Performance JSON Serialization for ActiveRecord & Ruby Objects',
27
- url: 'https://panko.dev',
28
- baseUrl: '/',
29
- repoPath: 'yosiat/panko_serializer',
30
- // For github.io type URLs, you would set the url and baseUrl like:
31
- // url: 'https://facebook.github.io',
32
- // baseUrl: '/test-site/',
33
- customDocsPath: require('path').basename(__dirname) + '/docs',
34
-
35
- repoUrl: 'https://github.com/yosiat/panko_serializer',
36
- projectName: 'panko_serializer',
37
- organizationName: 'yosiat',
38
- cname: 'panko.dev',
39
-
40
- headerLinks: [
41
- {doc: 'index', label: 'Docs'},
42
- ],
43
-
44
- /* Colors for website */
45
- colors: {
46
- //primaryColor: '#3F4C6B',
47
- primaryColor: '#B02B2C',
48
- secondaryColor: '#C3D9FF',
49
- },
50
-
51
- copyright: `Copyright © ${new Date().getFullYear()} Panko Serializer`,
52
-
53
- usePrims: ['ruby'],
54
- highlight: {
55
- // Highlight.js theme to use for syntax highlighting in code blocks.
56
- theme: 'atom-one-dark',
57
- },
58
-
59
- // Add custom scripts here that would be placed in <script> tags.
60
- scripts: ['https://buttons.github.io/buttons.js'],
61
-
62
- // On page navigation for the current documentation page.
63
- onPageNav: 'separate',
64
- // No .html extensions for paths.
65
- cleanUrl: true,
66
-
67
- // Open Graph and Twitter card images.
68
- ogImage: 'img/undraw_online.svg',
69
- twitterImage: 'img/undraw_tweetstorm.svg',
70
-
71
- // Show documentation's last contributor's name.
72
- // enableUpdateBy: true,
73
-
74
- // Show documentation's last update time.
75
- // enableUpdateTime: true,
76
-
77
- // You may provide arbitrary config keys to be used as needed by your
78
- };
79
-
80
- module.exports = siteConfig;