hal_api-rails 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hal_api/rails/version.rb +1 -1
- data/lib/hal_api/representer/collection_paging.rb +2 -2
- 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: 4d1af91c55bf42a53d4ecfe0c6ed673bd2856a57
|
4
|
+
data.tar.gz: 0f0dac6e3b4e33821d9c20b0efe5fa1ead07b30e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bdfb40d56cfac300c5b2263ab25eec3b6162420cb417897c558b3e4bdfbd556acefe32da9387939ced5cb35046ad9295a6c7889881f385d996621914c0f5f3a
|
7
|
+
data.tar.gz: 5c0745b9303bae2e66046fbda5ded266b0b642350968e5bbaf409a55d6c49186770217c22a2f80813e85f4f3e4b9e58b69c6a548689e44f55dba6c8def4b3e02
|
@@ -12,11 +12,11 @@ module HalApi::Representer::CollectionPaging
|
|
12
12
|
embeds :items, decorator: lambda{|*| item_decorator }, class: lambda{|*| item_class }, zoom: :always
|
13
13
|
|
14
14
|
link :prev do
|
15
|
-
href_url_helper(params.merge(page: represented.prev_page))
|
15
|
+
href_url_helper(params.merge(page: represented.prev_page)) if represented.prev_page
|
16
16
|
end
|
17
17
|
|
18
18
|
link :next do
|
19
|
-
href_url_helper(params.merge(page: represented.next_page))
|
19
|
+
href_url_helper(params.merge(page: represented.next_page)) if represented.next_page
|
20
20
|
end
|
21
21
|
|
22
22
|
link :first do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hal_api-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Rhoden
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-06-
|
12
|
+
date: 2020-06-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|