kookaburra 0.22.2 → 0.22.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/kookaburra.gemspec +1 -1
- data/lib/kookaburra/json_api_driver.rb +2 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.22.
|
1
|
+
0.22.3
|
data/kookaburra.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "kookaburra"
|
8
|
-
s.version = "0.22.
|
8
|
+
s.version = "0.22.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["John Wilger", "Sam Livingston-Gray", "Ravi Gadad"]
|
@@ -47,7 +47,8 @@ class Kookaburra
|
|
47
47
|
|
48
48
|
def request(type, path, data = nil, *args)
|
49
49
|
# don't want to send data to methods that don't accept it
|
50
|
-
args = [path, encode(data), args].flatten
|
50
|
+
args = [path, *([encode(data), args].reject(&:nil?))].flatten
|
51
|
+
|
51
52
|
output = __getobj__.send(type, *args)
|
52
53
|
|
53
54
|
decode(output)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kookaburra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 65
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 22
|
9
|
-
-
|
10
|
-
version: 0.22.
|
9
|
+
- 3
|
10
|
+
version: 0.22.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- John Wilger
|