jsonapi_parameters 2.2.0 → 2.3.0

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: 8bcf0cd62169a18d8f485540f7fe27e85d2ed8278121fe19309d149b5c59141a
4
- data.tar.gz: eef89bf8b7061bf21add79bd09ce3b164c6b0d91e0d8db2898de99e231ab7d36
3
+ metadata.gz: 414c6d7e91cd71641096a2fc6dcb6d7055f9154cab1db06be6dbb188fddb3c6a
4
+ data.tar.gz: 483e0f4576c935632ca3cdbe48b10050d232dbb67e202a4db0fca2d4f0004721
5
5
  SHA512:
6
- metadata.gz: fbb1868c672869c4e0b561012dba89ed444271bef9246be22df68b564e397e21d1058860ce5416748c5a662f960bbe5c424db56882e2163bc8ae6516861de00e
7
- data.tar.gz: '0940555db68b3b48522dbb33d6f035334ff8b149731b71b597df5e148b0d0d900141dd5213202c76eac4a406b2721c273773a401d90ae94caf44ae90b7a0c34c'
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).
@@ -1,5 +1,5 @@
1
1
  module JsonApi
2
2
  module Parameters
3
- VERSION = '2.2.0'.freeze
3
+ VERSION = '2.3.0'.freeze
4
4
  end
5
5
  end
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.2.0
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: 2020-08-20 00:00:00.000000000 Z
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.10.5
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.10.5
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.3.0
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.0.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