sanger-jsonapi-resources 0.2.1 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 936b588cc05130353399845d78c6215d41c8d7c71bc6dce14d459bc354af3143
4
- data.tar.gz: c51d43bbb92152a562da00b6c64541e3a049dc59a087f3112eb23610ad6526cd
3
+ metadata.gz: 47b889836251bcd4224e3190630972dbb8bc97e5fc375f5e6cf9b0f05f0476e2
4
+ data.tar.gz: 6fe3d8d7bd79c8d15dce658778436d526602436251a56e89a0fbd9c9f3e9416b
5
5
  SHA512:
6
- metadata.gz: 428e3c648a40173fb6e0e2e28e8405218aed41c78eae58000fa749df0df9dd379607d6577a1e447b1ca3f49390c865ec5fd91ead3be9481e1b3046c9faa7308f
7
- data.tar.gz: f82df01377b44d8ef34c14c71d957060d2fdaf1818eaef032e5bc83404ac172eddea998ea5d7a07f438077eccfc69ac0249e4d0cdf2d3b333c738f6b4273a053
6
+ metadata.gz: c230a81160d3ed0b4e92c55305dbc8066e76c84b365feef1d92ea716d06a8488731cc3e52463b19868031f3dbb848e87768a3370cf880d7cc35e678a93a85971
7
+ data.tar.gz: fbd5d3f1df6c4a0665c24ef23b29a86eba8e9a828d49d389ca57a7fcd4eab1cae2077a929e8e97febcd638ac166df1a3099878aebfeec63ecc45b0a51773a4d5
@@ -1,5 +1,5 @@
1
1
  module JSONAPI
2
2
  module Resources
3
- VERSION = '0.2.1'
3
+ VERSION = '0.3.0'
4
4
  end
5
5
  end
@@ -59,7 +59,7 @@ module ActionDispatch
59
59
  end
60
60
  else
61
61
  # Rails 5
62
- jsonapi_resource_scope(SingletonResource.new(@resource_type, api_only?, @scope[:shallow], options), @resource_type) do
62
+ jsonapi_resource_scope(SingletonResource.new(@resource_type, api_only?, @scope[:shallow], **options), @resource_type) do
63
63
  if block_given?
64
64
  yield
65
65
  else
@@ -133,7 +133,7 @@ module ActionDispatch
133
133
  end
134
134
  else
135
135
  # Rails 5
136
- jsonapi_resource_scope(Resource.new(@resource_type, api_only?, @scope[:shallow], options), @resource_type) do
136
+ jsonapi_resource_scope(Resource.new(@resource_type, api_only?, @scope[:shallow], **options), @resource_type) do
137
137
  if block_given?
138
138
  yield
139
139
  else
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sanger-jsonapi-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PSD Team - Wellcome Trust Sanger Institute
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-09-19 00:00:00.000000000 Z
11
+ date: 2026-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  - !ruby/object:Gem::Version
248
248
  version: '0'
249
249
  requirements: []
250
- rubygems_version: 3.4.1
250
+ rubygems_version: 3.2.33
251
251
  signing_key:
252
252
  specification_version: 4
253
253
  summary: Easily support JSON API in Rails.