jsonapi.rb 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/Gemfile.lock +1 -1
- data/lib/jsonapi/pagination.rb +3 -1
- data/lib/jsonapi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '078a4013116a56347b75f38cb951c7856634e759'
|
4
|
+
data.tar.gz: 880fbb7f75ccf7800c983a440c911011735318af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c6cc8f62b6177ef07ccf875afeb25bd683328a6427a6f3178fdabdb0b737b94712c576fda1ad11c1813eea44bd63747134d77c7c18cd1e1123ea17c622c5fa5
|
7
|
+
data.tar.gz: 64cd58a070442aeec8784885a0e6566c057e21e0445016f63c644d66c51c14942b1c5381ec5cdd3d155120849140cf183609b1130aee8f43ed57147bfcbf83b3
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
data/lib/jsonapi/pagination.rb
CHANGED
@@ -33,7 +33,9 @@ module JSONAPI
|
|
33
33
|
return links if pagination.blank?
|
34
34
|
|
35
35
|
original_params = params.except(
|
36
|
-
*request.path_parameters.keys.map(&:to_s)
|
36
|
+
*request.path_parameters.keys.map(&:to_s)
|
37
|
+
).to_unsafe_h.with_indifferent_access
|
38
|
+
|
37
39
|
original_params[:page] ||= {}
|
38
40
|
original_url = request.base_url + request.path + '?'
|
39
41
|
|
data/lib/jsonapi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsonapi.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stas Suscov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fast_jsonapi
|