tiltify 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tiltify/collection.rb +2 -2
- data/lib/tiltify/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e626fde14c3278806aadd0719cdb6631977473b782a92a02559f59f8f49b195
|
4
|
+
data.tar.gz: 220baf9df4cc88eb8100cb1496a2f68f609bc4d5dc5511268afc5dccff66439e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d97dc974fb23bd29e84526673a46585866f590705c068a6be1db1fcefbcb2b349abddae767c94ee4ba009c73771ef4a665d0d1fb29fe590312b2ba664a5ccee8
|
7
|
+
data.tar.gz: f509d8dc3dd50e366f676802728bf68816a5b59d264d21f39801475c73be28c016af4824616205ed6c9f29fa5a981f5d3d259084d12dcfba855ead512fea37aa
|
data/Gemfile.lock
CHANGED
data/lib/tiltify/collection.rb
CHANGED
@@ -8,8 +8,8 @@ module Tiltify
|
|
8
8
|
new(
|
9
9
|
data: body["data"].map { |attrs| type.new(attrs) },
|
10
10
|
total: body["data"].count,
|
11
|
-
has_prev: !body["links"]["prev"].blank?,
|
12
|
-
has_next: !body["links"]["next"].blank?
|
11
|
+
has_prev: body["links"] && !body["links"]["prev"].blank?,
|
12
|
+
has_next: body["links"] && !body["links"]["next"].blank?
|
13
13
|
)
|
14
14
|
end
|
15
15
|
|
data/lib/tiltify/version.rb
CHANGED