sanger-jsonapi-resources 0.2.0 → 0.2.1

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: 650cd436866c1e2bd95395039f642430ac9d0f1742e16b6229e4ff6c02749194
4
- data.tar.gz: 8617ac86f123744a591f9d669c91e09210ba86840448037d8e087be15a755296
3
+ metadata.gz: 936b588cc05130353399845d78c6215d41c8d7c71bc6dce14d459bc354af3143
4
+ data.tar.gz: c51d43bbb92152a562da00b6c64541e3a049dc59a087f3112eb23610ad6526cd
5
5
  SHA512:
6
- metadata.gz: 9287ea3df53d25721525c1e98b49bcdca8d7c936ec7674b649324a41dcde991e9a2c80cb464d273150710ab9fcf3a758c890788136d4f667552f3e5f0951c655
7
- data.tar.gz: d85e68eb490870d9adafa8af7d63d6b7413aeb2c03be43efb510a9d4171b13dab763faff29fcf1610e6ea4ff7dfa4ef72b0530a678ebd4421c56489bdf12a682
6
+ metadata.gz: 428e3c648a40173fb6e0e2e28e8405218aed41c78eae58000fa749df0df9dd379607d6577a1e447b1ca3f49390c865ec5fd91ead3be9481e1b3046c9faa7308f
7
+ data.tar.gz: f82df01377b44d8ef34c14c71d957060d2fdaf1818eaef032e5bc83404ac172eddea998ea5d7a07f438077eccfc69ac0249e4d0cdf2d3b333c738f6b4273a053
data/lib/jsonapi/error.rb CHANGED
@@ -17,7 +17,7 @@ module JSONAPI
17
17
  @source = options[:source]
18
18
  @links = options[:links]
19
19
 
20
- @status = Rack::Utils::SYMBOL_TO_STATUS_CODE[options[:status]].to_s
20
+ @status = Rack::Utils.status_code(options[:status]).to_s
21
21
  @meta = options[:meta]
22
22
  end
23
23
 
@@ -1,5 +1,5 @@
1
1
  module JSONAPI
2
2
  module Resources
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
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.0
4
+ version: 0.2.1
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-06-30 00:00:00.000000000 Z
11
+ date: 2025-09-19 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.5.11
250
+ rubygems_version: 3.4.1
251
251
  signing_key:
252
252
  specification_version: 4
253
253
  summary: Easily support JSON API in Rails.