jsonapi.rb 1.5.5 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jsonapi/errors.rb +1 -1
- data/lib/jsonapi/pagination.rb +1 -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: 01dd65d6881984784e66ada7c2f9b6a551df29ba
|
4
|
+
data.tar.gz: 49f56ed690ce73266c3647106b24feac1795f84a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1690aedae0537c30374eebb9322fb21b99eb4312226ce1b1db1ff014ed621a7c20e8d828ea2784cad51d467681104e2273993e8f1a7d1453382c934145d51fe
|
7
|
+
data.tar.gz: 810c694b033419721279c8dd3c0297081894d855003d1e88852cab94e94dc671aea3cdb68eb76014f7a8e5b78d6cbbc1c5c1c4920a9d815196d9c72fd3027dc3
|
data/lib/jsonapi/errors.rb
CHANGED
data/lib/jsonapi/pagination.rb
CHANGED
@@ -39,7 +39,7 @@ module JSONAPI
|
|
39
39
|
*request.path_parameters.keys.map(&:to_s)
|
40
40
|
).to_unsafe_h.with_indifferent_access
|
41
41
|
|
42
|
-
original_params[:page]
|
42
|
+
original_params[:page] = original_params[:page].dup || {}
|
43
43
|
original_url = request.base_url + request.path + '?'
|
44
44
|
|
45
45
|
pagination.each do |page_name, number|
|
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.5.
|
4
|
+
version: 1.5.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stas Suscov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fast_jsonapi
|