jsonapi_parameters 2.2.0 → 2.3.0
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 +4 -4
- data/README.md +8 -4
- data/lib/jsonapi_parameters/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 414c6d7e91cd71641096a2fc6dcb6d7055f9154cab1db06be6dbb188fddb3c6a
|
|
4
|
+
data.tar.gz: 483e0f4576c935632ca3cdbe48b10050d232dbb67e202a4db0fca2d4f0004721
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a90b5d5a44fcbe5ee66e13308ab190e73a7a84409727c6c7530d66d5105baf4754987d634b71ebe4f7674d3b491e95a7ed8bb8e5fd399f4a638cb2bb272f087
|
|
7
|
+
data.tar.gz: 89d0c3dc2b6b100c53f1c446b80d9bd8acfc5e9db33587330c5fd57c362d9c92d8b9866f5c2afb95aa86233bb5c40ce72c61baac6cafa2b40d53df37d39dc47d
|
data/README.md
CHANGED
|
@@ -105,7 +105,7 @@ For this reason we have introduced a default limit of stack levels that JsonApi:
|
|
|
105
105
|
This default limit is 3, and can be overwritten by specifying the custom limit.
|
|
106
106
|
|
|
107
107
|
#### Ruby
|
|
108
|
-
```
|
|
108
|
+
```ruby
|
|
109
109
|
class Translator
|
|
110
110
|
include JsonApi::Parameters
|
|
111
111
|
end
|
|
@@ -121,9 +121,7 @@ translator.jsonapify.(...)
|
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
#### Rails
|
|
124
|
-
```
|
|
125
|
-
# config/initializers/jsonapi_parameters.rb
|
|
126
|
-
|
|
124
|
+
```ruby
|
|
127
125
|
def create_params
|
|
128
126
|
params.from_jsonapi(custom_stack_limit: 4).require(:user).permit(
|
|
129
127
|
entities_attributes: { subentities_attributes: { ... } }
|
|
@@ -147,5 +145,11 @@ If you need custom relationship handling (for instance, if you have a relationsh
|
|
|
147
145
|
|
|
148
146
|
Read more at [Relationship Handlers](https://github.com/visualitypl/jsonapi_parameters/wiki/Relationship-handlers).
|
|
149
147
|
|
|
148
|
+
## Team
|
|
149
|
+
|
|
150
|
+
Project started by [Jasiek Matusz](https://github.com/Marahin).
|
|
151
|
+
|
|
152
|
+
Currently, jsonapi_parameters is maintained by Visuality's [Open Source Commitee](https://www.visuality.pl/open-source).
|
|
153
|
+
|
|
150
154
|
## License
|
|
151
155
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jsonapi_parameters
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Visuality
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -45,14 +45,14 @@ dependencies:
|
|
|
45
45
|
requirements:
|
|
46
46
|
- - "~>"
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: 1.
|
|
48
|
+
version: '1.11'
|
|
49
49
|
type: :development
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
53
|
- - "~>"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: 1.
|
|
55
|
+
version: '1.11'
|
|
56
56
|
- !ruby/object:Gem::Dependency
|
|
57
57
|
name: json
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -342,14 +342,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
342
342
|
requirements:
|
|
343
343
|
- - ">="
|
|
344
344
|
- !ruby/object:Gem::Version
|
|
345
|
-
version: 2.
|
|
345
|
+
version: 2.5.0
|
|
346
346
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
347
347
|
requirements:
|
|
348
348
|
- - ">="
|
|
349
349
|
- !ruby/object:Gem::Version
|
|
350
350
|
version: '0'
|
|
351
351
|
requirements: []
|
|
352
|
-
rubygems_version: 3.
|
|
352
|
+
rubygems_version: 3.1.2
|
|
353
353
|
signing_key:
|
|
354
354
|
specification_version: 4
|
|
355
355
|
summary: Translator for JSON:API compliant parameters
|