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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28e06050724f28a81000611903d2ed4916137cad9ea1a1386185a2fec6bd959c
4
- data.tar.gz: c38a443d0dd4996d0c4eee0e32965770269e09fb2963c8e113174915b27a758e
3
+ metadata.gz: 4e626fde14c3278806aadd0719cdb6631977473b782a92a02559f59f8f49b195
4
+ data.tar.gz: 220baf9df4cc88eb8100cb1496a2f68f609bc4d5dc5511268afc5dccff66439e
5
5
  SHA512:
6
- metadata.gz: 3bc8c628b1b082b14a35dfa1a263c7370788eeabd4601ce70462a3d8fae40bc831fdcb3ecc3d0a3181ebc778a30847c95d39d8b9447a23fbd693c55d885a5b36
7
- data.tar.gz: 8f2d6e29205d04103e7c2b4e04098539daebde34ee1b84a6f33cb4895782a76ed053279cd7cdbb881a38164150a5776b0175995f46cceacf9fbc309f45992826
6
+ metadata.gz: d97dc974fb23bd29e84526673a46585866f590705c068a6be1db1fcefbcb2b349abddae767c94ee4ba009c73771ef4a665d0d1fb29fe590312b2ba664a5ccee8
7
+ data.tar.gz: f509d8dc3dd50e366f676802728bf68816a5b59d264d21f39801475c73be28c016af4824616205ed6c9f29fa5a981f5d3d259084d12dcfba855ead512fea37aa
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tiltify (0.1.3)
4
+ tiltify (0.1.4)
5
5
  faraday (~> 2.0)
6
6
 
7
7
  GEM
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tiltify
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tiltify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dean Perry