tito 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tito/base.rb +1 -1
- data/lib/tito/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: 6de18101d866ed779e712565fe3945f552c23323
|
4
|
+
data.tar.gz: 8000c7dc03eb79d5d7f782d7c9d36bb14fc84b3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a767439654678912608f2a8e60cf7f24fbcbac3d33be8009df65bfbd613efda98e94030ea34f6759f83156bd4d2eeb84ac7441fe36837080806232dd80f86fda
|
7
|
+
data.tar.gz: 8abe554268a25d2c017c1d935f0cf295f0cd4574241dd5fd644425c73911d48d5659f0aee38040d7a476e5336c26eb985afd22c2c4a91b12435e0eafdeea5512
|
data/lib/tito/base.rb
CHANGED
@@ -86,7 +86,7 @@ module Tito
|
|
86
86
|
response = http(api_key: api_key).get(all_url(path_prefix: path_prefix), params: ParamNester.encode(params), ssl_context: ssl_context).parse
|
87
87
|
all_records = response[self.resource_path(:all)]
|
88
88
|
meta = response["meta"]
|
89
|
-
out = ResponseArray.new(all_records.collect do |record|
|
89
|
+
out = ResponseArray.new((all_records || []).collect do |record|
|
90
90
|
new record
|
91
91
|
end)
|
92
92
|
out.meta = meta
|
data/lib/tito/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tito
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|