easy-jsonapi 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/publish.yml +1 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/easy-jsonapi.gemspec +1 -1
- data/lib/easy/jsonapi/exceptions/headers_exceptions.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dbdd582dac586432d3e4fe1d8391c0ab1df95bc10cfdd5aae9e7e10b08c7aba
|
4
|
+
data.tar.gz: b4df4e547456f7b8e7e5677d77b3dd215bb8901a6da92eb0dcac1ae79b30327d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d3ddd3a04daa40058d1d2e18c59f3b4e345e5a2e077bfcc4fc24e4ff305c0fb0ae409b9f4c694ee6fd6ebb8e84477a4e20c7e994015f50cb771af5e95c57144
|
7
|
+
data.tar.gz: 95e4dbd65c938767ac44a1aa2a9972c6e95e9d94e5e76acf8b027f7feaeb33d0aae4cfefecbdd9dfb01c4a6f7d3e474b10fcfbdd1e9394fa09de606197708c45
|
@@ -55,9 +55,6 @@ jobs:
|
|
55
55
|
release_name: Release ${{ github.ref }}
|
56
56
|
body: |
|
57
57
|
Changes in this Release
|
58
|
-
- Updated
|
59
|
-
- Reorganization of README files into docs file.
|
60
|
-
- Make easy-jsonapi compatible with ruby versions >= 2.5
|
61
|
-
- Added wrapper around Oj usage so all raised errors are found in the JSONAPI::Exceptions module
|
58
|
+
- Updated JSONAPI::Exceptions::HeadersExceptions to allow wildcard matching for Accept header
|
62
59
|
draft: false
|
63
60
|
prerelease: false
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/easy-jsonapi.gemspec
CHANGED
@@ -130,7 +130,7 @@ module JSONAPI
|
|
130
130
|
# @param accept_hdr [String] The value of the http accept header
|
131
131
|
def contains_at_least_one_jsonapi_media_type_without_params?(accept_hdr)
|
132
132
|
accept_hdr.split(',').each do |mt|
|
133
|
-
if mt
|
133
|
+
if JSONAPI_MEDIA_TYPES.include? mt
|
134
134
|
return true
|
135
135
|
end
|
136
136
|
end
|