easy-jsonapi 1.0.6 → 1.0.10

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.
data/.rubocop.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  AllCops:
2
2
  NewCops: enable
3
- TargetRubyVersion: '3.0.0'
3
+ TargetRubyVersion: '3.0.1'
4
4
  SuggestExtensions: false
5
5
 
6
6
  Metrics/AbcSize:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.0.0
1
+ 3.0.1
data/.travis.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 3.0.0
4
+ - 3.0.1
5
5
  before_install:
6
6
  - gem install bundler
7
7
  - bundler install
data/CHANGELOG.md CHANGED
@@ -1,32 +1,47 @@
1
1
  # CHANGELOG
2
2
 
3
- ## 1.0.6 - 2020-03-20
3
+ ## 1.0.10 - 2021-09-29
4
+ - Updated dependencies to fix security vulnerability
5
+
6
+ ## 1.0.9 - 2021-05-04
7
+
8
+ - Updated dependencies to fix security vulnerability in rexml
9
+
10
+ ## 1.0.8 - 2021-05-04
11
+
12
+ - Updated dependencies to fix security vulnerability in rexml
13
+
14
+ ## 1.0.7 - 2021-03-31
15
+
16
+ - Fixed bug in JSONAPI::Parser::JSONParser that would serialize hashes with symbol key values instead of string
17
+
18
+ ## 1.0.6 - 2021-03-30
4
19
 
5
20
  - Fixed bug in JSONAPI::Middleware that was not checking for environment variables properly
6
21
 
7
- ## 1.0.5 - 2020-03-20
22
+ ## 1.0.5 - 2021-03-30
8
23
 
9
24
  - Fixed bug in JSONAPI::Exceptions::HeadersExceptions that didn't check for user required headers requirements
10
25
  - Fixed bug in JSONAPI::Exceptions::QueryParamExceptions that didn't check for user required query param requirements
11
26
  - Added more tests to the middleware
12
27
  - Updated Documentation
13
28
 
14
- ## 1.0.4 - 2020-03-28
29
+ ## 1.0.4 - 2021-03-28
15
30
 
16
31
  - Fixed JSONAPI::ExceptionsHeadersExceptions bug
17
32
  - Updated README files
18
33
 
19
- ## 1.0.3 - 2020-03-25
34
+ ## 1.0.3 - 2021-03-25
20
35
 
21
36
  - Updated JSONAPI::Exceptions::HeadersExceptions to allow wildcard matching for Accept header
22
37
 
23
- ## 1.0.2 - 2020-03-25
38
+ ## 1.0.2 - 2021-03-25
24
39
 
25
40
  - Updated README and fix READE broken links
26
41
  - Reorganization of README files into docs file.
27
42
  - Make easy-jsonapi compatible with ruby versions >= 2.5
28
43
  - Added wrapper around Oj usage so all raised errors are found in the JSONAPI::Exceptions module
29
44
 
30
- ## 1.0.0 - 2020-03-24
45
+ ## 1.0.0 - 2021-03-24
31
46
 
32
47
  - This is the first release with a version of 1.0.0. All main features supported, but user configurations can be developed to provide greater adherence to the spec and more developer features.
data/Gemfile.lock CHANGED
@@ -1,42 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- easy-jsonapi (1.0.6)
4
+ easy-jsonapi (1.0.10)
5
5
  oj (~> 3.10)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  ast (2.4.2)
11
- backport (1.1.2)
11
+ backport (1.2.0)
12
12
  benchmark (0.1.1)
13
- codecov (0.5.1)
13
+ codecov (0.6.0)
14
14
  simplecov (>= 0.15, < 0.22)
15
15
  diff-lcs (1.4.4)
16
- docile (1.3.5)
16
+ docile (1.4.0)
17
17
  e2mmap (0.1.0)
18
18
  jaro_winkler (1.5.4)
19
19
  kramdown (2.3.1)
20
20
  rexml
21
21
  kramdown-parser-gfm (1.1.0)
22
22
  kramdown (~> 2.0)
23
- nokogiri (1.11.2-x86_64-darwin)
23
+ nokogiri (1.12.5-x86_64-darwin)
24
24
  racc (~> 1.4)
25
- nokogiri (1.11.2-x86_64-linux)
25
+ nokogiri (1.12.5-x86_64-linux)
26
26
  racc (~> 1.4)
27
- oj (3.11.3)
28
- parallel (1.20.1)
29
- parser (3.0.0.0)
27
+ oj (3.13.8)
28
+ parallel (1.21.0)
29
+ parser (3.0.2.0)
30
30
  ast (~> 2.4.1)
31
31
  racc (1.5.2)
32
32
  rack (2.2.3)
33
33
  rainbow (3.0.0)
34
- rake (13.0.3)
34
+ rake (13.0.6)
35
35
  redcarpet (3.5.1)
36
36
  regexp_parser (2.1.1)
37
37
  reverse_markdown (2.0.0)
38
38
  nokogiri
39
- rexml (3.2.4)
39
+ rexml (3.2.5)
40
40
  rspec (3.10.0)
41
41
  rspec-core (~> 3.10.0)
42
42
  rspec-expectations (~> 3.10.0)
@@ -50,28 +50,29 @@ GEM
50
50
  diff-lcs (>= 1.2.0, < 2.0)
51
51
  rspec-support (~> 3.10.0)
52
52
  rspec-support (3.10.2)
53
- rubocop (1.12.0)
53
+ rubocop (1.22.0)
54
54
  parallel (~> 1.10)
55
55
  parser (>= 3.0.0.0)
56
56
  rainbow (>= 2.2.2, < 4.0)
57
57
  regexp_parser (>= 1.8, < 3.0)
58
58
  rexml
59
- rubocop-ast (>= 1.2.0, < 2.0)
59
+ rubocop-ast (>= 1.12.0, < 2.0)
60
60
  ruby-progressbar (~> 1.7)
61
61
  unicode-display_width (>= 1.4.0, < 3.0)
62
- rubocop-ast (1.4.1)
63
- parser (>= 2.7.1.5)
62
+ rubocop-ast (1.12.0)
63
+ parser (>= 3.0.1.1)
64
64
  ruby-progressbar (1.11.0)
65
65
  simplecov (0.21.2)
66
66
  docile (~> 1.1)
67
67
  simplecov-html (~> 0.11)
68
68
  simplecov_json_formatter (~> 0.1)
69
69
  simplecov-html (0.12.3)
70
- simplecov_json_formatter (0.1.2)
71
- solargraph (0.40.4)
72
- backport (~> 1.1)
70
+ simplecov_json_formatter (0.1.3)
71
+ solargraph (0.44.0)
72
+ backport (~> 1.2)
73
73
  benchmark
74
74
  bundler (>= 1.17.2)
75
+ diff-lcs (~> 1.4)
75
76
  e2mmap
76
77
  jaro_winkler (~> 1.5)
77
78
  kramdown (~> 2.3)
@@ -84,11 +85,11 @@ GEM
84
85
  yard (~> 0.9, >= 0.9.24)
85
86
  thor (1.1.0)
86
87
  tilt (2.0.10)
87
- unicode-display_width (2.0.0)
88
+ unicode-display_width (2.1.0)
88
89
  yard (0.9.26)
89
90
 
90
91
  PLATFORMS
91
- x86_64-darwin-19
92
+ x86_64-darwin-20
92
93
  x86_64-linux
93
94
 
94
95
  DEPENDENCIES
data/README.md CHANGED
@@ -31,6 +31,8 @@ As a bonus, flexible user configurations can be added to the middleware providin
31
31
 
32
32
  - [*RubyGems* *Repository*](https://rubygems.org/search?query=easy-jsonapi)
33
33
 
34
+ - [*Class Diagram*](https://lucid.app/lucidchart/invitations/accept/3d543b29-4171-43cb-94db-9aeb346cdcac)
35
+
34
36
  ## Installation
35
37
 
36
38
  Add this line to your applications' Gemfile:
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.6'
5
+ spec.version = '1.0.10' # update this upon release
6
6
  spec.authors = ['Joshua DeMoss, Joe Viscomi']
7
7
  spec.email = ['demoss.joshua@gmail.com']
8
8
 
@@ -21,7 +21,7 @@ module JSONAPI
21
21
  # Convert ruby hash into JSON
22
22
  # @param ruby_hash [Hash] THe hash to convert into JSON
23
23
  def self.dump(ruby_hash)
24
- Oj.dump(ruby_hash)
24
+ Oj.dump(ruby_hash, mode: :compat)
25
25
  end
26
26
 
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy-jsonapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua DeMoss, Joe Viscomi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-30 00:00:00.000000000 Z
11
+ date: 2021-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -249,7 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
251
  requirements: []
252
- rubygems_version: 3.2.3
252
+ rubygems_version: 3.2.15
253
253
  signing_key:
254
254
  specification_version: 4
255
255
  summary: Middleware, Parser, and Validator for JSONAPI requests and serialized resopnses