panko_serializer 0.6.0 → 0.7.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.
- checksums.yaml +4 -4
- data/.github/workflows/docs.yml +39 -0
- data/.github/workflows/ruby.yml +48 -0
- data/.gitignore +2 -1
- data/Gemfile +2 -2
- data/README.md +7 -7
- data/benchmarks/app.rb +1 -0
- data/benchmarks/bm_panko_json.rb +5 -1
- data/benchmarks/setup.rb +3 -1
- data/benchmarks/type_casts/bm_panko.rb +2 -2
- data/docs/.DS_Store +0 -0
- data/docs/README.md +195 -8
- data/docs/core/Footer.js +81 -0
- data/docs/{associations.md → docs/associations.md} +23 -5
- data/docs/{attributes.md → docs/attributes.md} +25 -13
- data/docs/{design-choices.md → docs/design-choices.md} +6 -2
- data/docs/{getting-started.md → docs/getting-started.md} +19 -2
- data/docs/docs/introduction.md +13 -0
- data/docs/{performance.md → docs/performance.md} +11 -7
- data/docs/{response-bag.md → docs/response-bag.md} +24 -1
- data/docs/i18n/en.json +50 -0
- data/docs/package-lock.json +9636 -0
- data/docs/package.json +14 -0
- data/docs/sidebars.json +15 -0
- data/docs/siteConfig.js +80 -0
- data/docs/static/.DS_Store +0 -0
- data/docs/static/css/custom.css +51 -0
- 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 +1 -0
- data/docs/static/img/undraw_monitor.svg +1 -0
- data/docs/static/img/undraw_note_list.svg +1 -0
- data/docs/static/img/undraw_online.svg +1 -0
- data/docs/static/img/undraw_open_source.svg +1 -0
- data/docs/static/img/undraw_operating_system.svg +1 -0
- data/docs/static/img/undraw_react.svg +1 -0
- data/docs/static/img/undraw_tweetstorm.svg +1 -0
- data/docs/static/img/undraw_youtube_tutorial.svg +1 -0
- data/docs/static/index.html +14 -0
- data/ext/panko_serializer/attributes_writer/active_record.c +58 -16
- data/ext/panko_serializer/attributes_writer/attributes_writer.c +15 -3
- data/ext/panko_serializer/attributes_writer/attributes_writer.h +2 -1
- data/ext/panko_serializer/attributes_writer/common.h +1 -1
- data/ext/panko_serializer/attributes_writer/hash.c +12 -0
- data/ext/panko_serializer/attributes_writer/hash.h +9 -0
- data/ext/panko_serializer/attributes_writer/plain.c +2 -3
- data/ext/panko_serializer/attributes_writer/type_cast/type_cast.c +54 -21
- data/ext/panko_serializer/attributes_writer/type_cast/type_cast.h +1 -2
- data/ext/panko_serializer/panko_serializer.c +15 -7
- data/ext/panko_serializer/serialization_descriptor/serialization_descriptor.c +7 -10
- data/lib/panko/association.rb +1 -1
- data/lib/panko/object_writer.rb +8 -0
- data/lib/panko/response.rb +5 -4
- data/lib/panko/serializer.rb +5 -0
- data/lib/panko/version.rb +1 -1
- data/panko_serializer.gemspec +7 -7
- metadata +47 -23
- data/.travis.yml +0 -33
- data/docs/docpress.json +0 -4
data/.travis.yml
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
cache: bundler
|
3
|
-
language: ruby
|
4
|
-
rvm:
|
5
|
-
- 2.5.5
|
6
|
-
- 2.6.3
|
7
|
-
- 2.7.0-preview1
|
8
|
-
|
9
|
-
env:
|
10
|
-
global:
|
11
|
-
- GIT_NAME: Travis CI
|
12
|
-
- GIT_EMAIL: nobody@nobody.org
|
13
|
-
|
14
|
-
install: bundle install --path=vendor/bundle --retry=3
|
15
|
-
|
16
|
-
before_install:
|
17
|
-
- gem install bundler
|
18
|
-
- nvm install 9
|
19
|
-
|
20
|
-
after_success:
|
21
|
-
- npm install docpress && $(npm bin)/docpress build
|
22
|
-
- if [ -n "$TRAVIS_TAG" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm install git-update-ghpages && $(npm bin)/git-update-ghpages yosiat/panko_serializer _docpress; fi
|
23
|
-
- bundle exec rake benchmarks
|
24
|
-
|
25
|
-
env:
|
26
|
-
matrix:
|
27
|
-
- "RAILS_VERSION=4.2.0"
|
28
|
-
- "RAILS_VERSION=5.2.0"
|
29
|
-
- "RAILS_VERSION=6.0.0.rc1"
|
30
|
-
|
31
|
-
matrix:
|
32
|
-
allow_failures:
|
33
|
-
- "RAILS_VERSION=6.0.0.rc1"
|
data/docs/docpress.json
DELETED