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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81df918d7bbe739357e3c8d35a390d1ff0a211769500fd5bc5f1974dc1842279
4
- data.tar.gz: bcd42cf1f5bb09d2c090d2f0f9486b5700b96924640d3048985d9414778be469
3
+ metadata.gz: 6dbdd582dac586432d3e4fe1d8391c0ab1df95bc10cfdd5aae9e7e10b08c7aba
4
+ data.tar.gz: b4df4e547456f7b8e7e5677d77b3dd215bb8901a6da92eb0dcac1ae79b30327d
5
5
  SHA512:
6
- metadata.gz: 756a9f470097d686190065edc98d31dca2f2534cbdab5a738adfcf99561b7038736eeaaee3fdbf817c3650803ca262647fb9d1af5dc3e88038396c9bd98ef522
7
- data.tar.gz: a8e85b906235ca238b264ce2b08e0da9562c277f9d76e8010f298242906df5aa0f67825e19c66ffc13be8458b5615e0f2eaf4b39013b70a62ade3e07ecefdcfd
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 README and fix READE broken links
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
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.0.3 - 2020-03-25
4
+
5
+ - Updated JSONAPI::Exceptions::HeadersExceptions to allow wildcard matching for Accept header
6
+
3
7
  ## 1.0.2 - 2020-03-25
4
8
 
5
9
  - Updated README and fix READE broken links
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- easy-jsonapi (1.0.2)
4
+ easy-jsonapi (1.0.3)
5
5
  oj (~> 3.10)
6
6
 
7
7
  GEM
data/easy-jsonapi.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'easy-jsonapi'
5
- spec.version = '1.0.2'
5
+ spec.version = '1.0.3'
6
6
  spec.authors = ['Joshua DeMoss, Joe Viscomi']
7
7
  spec.email = ['demoss.joshua@gmail.com']
8
8
 
@@ -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 == 'application/vnd.api+json'
133
+ if JSONAPI_MEDIA_TYPES.include? mt
134
134
  return true
135
135
  end
136
136
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy-jsonapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua DeMoss, Joe Viscomi