easy-jsonapi 1.0.10 → 1.0.11
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 +2 -2
- data/.rspec_status +495 -495
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +2 -2
- data/README.md +10 -10
- data/easy-jsonapi.gemspec +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
easy-jsonapi (1.0.
|
4
|
+
easy-jsonapi (1.0.11)
|
5
5
|
oj (~> 3.10)
|
6
6
|
|
7
7
|
GEM
|
@@ -50,7 +50,7 @@ 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.22.
|
53
|
+
rubocop (1.22.1)
|
54
54
|
parallel (~> 1.10)
|
55
55
|
parser (>= 3.0.0.0)
|
56
56
|
rainbow (>= 2.2.2, < 4.0)
|
data/README.md
CHANGED
@@ -7,10 +7,10 @@
|
|
7
7
|
|
8
8
|
![Gem Version](https://badge.fury.io/rb/easy-jsonapi.svg)
|
9
9
|
![Downloads](https://ruby-gem-downloads-badge.herokuapp.com/easy-jsonapi?type=total&color=brightgreen)
|
10
|
-
![Build Status](https://img.shields.io/travis/
|
11
|
-
![Code Coverage](https://img.shields.io/codecov/c/github/
|
10
|
+
![Build Status](https://img.shields.io/travis/lucemhealth-archive/easy-jsonapi/production)
|
11
|
+
![Code Coverage](https://img.shields.io/codecov/c/github/lucemhealth-archive/easy-jsonapi)
|
12
12
|
![Ruby Style Guide](https://img.shields.io/badge/code_style-rubocop-brightgreen.svg)
|
13
|
-
![License](https://img.shields.io/github/license/
|
13
|
+
![License](https://img.shields.io/github/license/lucemhealth-archive/easy-jsonapi)
|
14
14
|
|
15
15
|
|
16
16
|
The gem that makes using [JSON:API](https://jsonapi.org/) ***EASY***!
|
@@ -27,7 +27,7 @@ As a bonus, flexible user configurations can be added to the middleware providin
|
|
27
27
|
|
28
28
|
## Links
|
29
29
|
|
30
|
-
- [*Documentation*](https://rubydoc.info/github/
|
30
|
+
- [*Documentation*](https://rubydoc.info/github/lucemhealth-archive/easy-jsonapi/production)
|
31
31
|
|
32
32
|
- [*RubyGems* *Repository*](https://rubygems.org/search?query=easy-jsonapi)
|
33
33
|
|
@@ -143,7 +143,7 @@ If `ENV['RACK_ENV']` is set to something other than `'development'`, then the m
|
|
143
143
|
|
144
144
|
### User Configurations
|
145
145
|
|
146
|
-
***easy-jsonapi*** has a fair amount of flexibility when it comes to user configurations but also plenty of room for to add more features. To see the currently available configurations see [UsingUserConfigurations](https://github.com/
|
146
|
+
***easy-jsonapi*** has a fair amount of flexibility when it comes to user configurations but also plenty of room for to add more features. To see the currently available configurations see [UsingUserConfigurations](https://github.com/lucemhealth-archive/easy-jsonapi/blob/production/docs/UsingUserConfigurations.md) and to propose a new feature create a pull request or ticket on the [dev repository](https://github.com/lucemhealth-archive/easy-jsonapi/tree/dev).
|
147
147
|
|
148
148
|
## Using the Request Parser
|
149
149
|
|
@@ -175,7 +175,7 @@ require 'easy/jsonapi'
|
|
175
175
|
jsonapi_req = JSONAPI::Parser.parse_request(env)
|
176
176
|
```
|
177
177
|
|
178
|
-
This returns a `JSONAPI::Request` object that can be used to access the collection of query params, collection of headers, and the body of the request. To see example usage, see [Using the Request Object](https://github.com/
|
178
|
+
This returns a `JSONAPI::Request` object that can be used to access the collection of query params, collection of headers, and the body of the request. To see example usage, see [Using the Request Object](https://github.com/lucemhealth-archive/easy-jsonapi/blob/production/docs/UsingTheRequestObject.md).
|
179
179
|
|
180
180
|
## Using the Serialized Response Validator
|
181
181
|
|
@@ -198,7 +198,7 @@ end
|
|
198
198
|
The `headers` param is a hash of `String => String` or `Symbol => String` of the header keys and values.
|
199
199
|
The `body` param is either the JSON body or a ruby hash representation of the body.
|
200
200
|
|
201
|
-
See the [rubydocs](https://rubydoc.info/github/
|
201
|
+
See the [rubydocs](https://rubydoc.info/github/lucemhealth-archive/easy-jsonapi/proudction) for more on the Serialized Response Validator.
|
202
202
|
|
203
203
|
## Acknowledgements
|
204
204
|
|
@@ -206,7 +206,7 @@ The exception checking strategy for `JSONAPI::Exceptions::DocumentExceptions` an
|
|
206
206
|
|
207
207
|
## Releases
|
208
208
|
|
209
|
-
See [{file:CHANGELOG.md}](https://github.com/
|
209
|
+
See [{file:CHANGELOG.md}](https://github.com/lucemhealth-archive/easy-jsonapi/blob/production/CHANGELOG.md).
|
210
210
|
|
211
211
|
## License
|
212
212
|
|
@@ -214,8 +214,8 @@ See [{file:CHANGELOG.md}](https://github.com/Curatess/easy-jsonapi/blob/producti
|
|
214
214
|
|
215
215
|
## Contributing
|
216
216
|
|
217
|
-
Bug reports and pull requests are welcome [here on Github](https://github.com/
|
217
|
+
Bug reports and pull requests are welcome [here on Github](https://github.com/lucemhealth-archive/easy-jsonapi). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Code of Conduct](https://github.com/lucemhealth-archive/easy-jsonapi/blob/production/CODE_OF_CONDUCT.md).
|
218
218
|
|
219
219
|
## Code of Conduct
|
220
220
|
|
221
|
-
Everyone interacting in the easy-jsonapi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [Code of Conduct](https://github.com/
|
221
|
+
Everyone interacting in the easy-jsonapi project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [Code of Conduct](https://github.com/lucemhealth-archive/easy-jsonapi/blob/production/CODE_OF_CONDUCT.md).
|
data/easy-jsonapi.gemspec
CHANGED
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.
|
4
|
+
version: 1.0.11
|
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-
|
11
|
+
date: 2021-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|