littlebird_api_client 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 +8 -8
- data/lib/littlebird_api_client/response.rb +1 -2
- data/littlebird_api_client.gemspec +5 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmYyN2Q0MjJmYmJiMGIyNmJjMDdjZjFmNTk1MWQ5Y2UyNWQ2YTBjOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTZkZWU3MTI0N2IyYTU3MjZiNDg4NzU5NWMyYjExZTQ4MmU1YTdiNg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTIwMDNkY2NiMzIxNTFjNGE1NTBkNTVjYTk1MDBkNTZjODFjYzgyN2U3ZDA5
|
10
|
+
MjRiZjI1ZWQ4YWU5NTczMWViNDUwNDc3MjM0ZjY5ZWQxOWJkMzZkYmU4ZmY3
|
11
|
+
ODRjNjhkOGQwYmRmMjgzODE5ZTU1ZDI1ZDY1MTAwOGVlZDY0Mjc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NjU2NmRhMGIwMjFkNGVhNmFlMDk5NjFiNTYxMjUwNjU1ODE3MmZmMzEwNGVk
|
14
|
+
YjE2NWQ1YWY1ZGY3Njk0NDk3MTMxMjhjMmY5NTExYWJhZmE5YTYxODIxM2Ew
|
15
|
+
N2NlMGQwZDM1ZjJiYWM4NDM2NTM4MGQ3MTM3ZThjZTg4NTYwMzE=
|
@@ -14,7 +14,6 @@ module LittleBird
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def interpret(response, cast_class)
|
17
|
-
binding.pry
|
18
17
|
raise error(response), response["error"] if response_is_an_error(response)
|
19
18
|
if cast_class.class == Array
|
20
19
|
return iterate(response, cast_class.first)
|
@@ -44,4 +43,4 @@ end
|
|
44
43
|
|
45
44
|
# load 'little_bird.rb'
|
46
45
|
# client = LittleBird::Client.new("533c98700765e035b1000001", 1, "0.0.0.0:8083")
|
47
|
-
# graph = client.graph_list.first
|
46
|
+
# graph = client.graph_list.first
|
@@ -1,7 +1,11 @@
|
|
1
1
|
# coding: utf-8
|
2
|
+
# USAGE
|
3
|
+
# gem build littlebird_api_client.gemspec
|
4
|
+
# gem push littlebird_api_client-0.1.3.gem
|
5
|
+
# Rubygems.org may request your username/password here - currently Devin is the only author, so this needs to be updated for permissions in order for others to push
|
2
6
|
Gem::Specification.new do |spec|
|
3
7
|
spec.name = "littlebird_api_client"
|
4
|
-
spec.version = '0.1.
|
8
|
+
spec.version = '0.1.4'
|
5
9
|
spec.authors = ["Devin Gaffney"]
|
6
10
|
spec.email = ["devin@getlittlebird.com"]
|
7
11
|
spec.summary = %q{A thin wrapper for the Little Bird api (http://api.getlittlebird.com/index.html)}
|