├── .github └── workflows │ ├── ci.yml │ ├── ci_jruby.yml │ ├── ci_legacy.yml │ ├── ci_truffleruby.yml │ └── tests.yml ├── .gitignore ├── .yardopts ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── ISSUE_TEMPLATE.md ├── LICENSE ├── README.markdown ├── Rakefile ├── lib └── roar │ └── json │ ├── json_api.rb │ └── json_api │ ├── declarative.rb │ ├── defaults.rb │ ├── document.rb │ ├── for_collection.rb │ ├── member_name.rb │ ├── meta.rb │ ├── options.rb │ ├── resource_collection.rb │ ├── single_resource.rb │ └── version.rb ├── roar-jsonapi.gemspec └── test ├── jsonapi ├── collection_render_test.rb ├── fieldsets_options_test.rb ├── fieldsets_test.rb ├── member_name_test.rb ├── post_test.rb ├── relationship_custom_naming_test.rb ├── render_test.rb ├── representer.rb └── resource_linkage_test.rb └── test_helper.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/ci_jruby.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/.github/workflows/ci_jruby.yml -------------------------------------------------------------------------------- /.github/workflows/ci_legacy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/.github/workflows/ci_legacy.yml -------------------------------------------------------------------------------- /.github/workflows/ci_truffleruby.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/.github/workflows/ci_truffleruby.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | pkg/* 2 | *.gem 3 | .bundle 4 | Gemfile*.lock 5 | .idea 6 | -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/.yardopts -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/Gemfile -------------------------------------------------------------------------------- /ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/LICENSE -------------------------------------------------------------------------------- /README.markdown: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/README.markdown -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/Rakefile -------------------------------------------------------------------------------- /lib/roar/json/json_api.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/declarative.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/declarative.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/defaults.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/defaults.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/document.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/document.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/for_collection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/for_collection.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/member_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/member_name.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/meta.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/meta.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/options.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/options.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/resource_collection.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/resource_collection.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/single_resource.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/single_resource.rb -------------------------------------------------------------------------------- /lib/roar/json/json_api/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/lib/roar/json/json_api/version.rb -------------------------------------------------------------------------------- /roar-jsonapi.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/roar-jsonapi.gemspec -------------------------------------------------------------------------------- /test/jsonapi/collection_render_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/jsonapi/collection_render_test.rb -------------------------------------------------------------------------------- /test/jsonapi/fieldsets_options_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/jsonapi/fieldsets_options_test.rb -------------------------------------------------------------------------------- /test/jsonapi/fieldsets_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/jsonapi/fieldsets_test.rb -------------------------------------------------------------------------------- /test/jsonapi/member_name_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/jsonapi/member_name_test.rb -------------------------------------------------------------------------------- /test/jsonapi/post_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/jsonapi/post_test.rb -------------------------------------------------------------------------------- /test/jsonapi/relationship_custom_naming_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/jsonapi/relationship_custom_naming_test.rb -------------------------------------------------------------------------------- /test/jsonapi/render_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/jsonapi/render_test.rb -------------------------------------------------------------------------------- /test/jsonapi/representer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/jsonapi/representer.rb -------------------------------------------------------------------------------- /test/jsonapi/resource_linkage_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/jsonapi/resource_linkage_test.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/trailblazer/roar-jsonapi/HEAD/test/test_helper.rb --------------------------------------------------------------------------------