action_kit_api 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -79,7 +79,14 @@ module ActionKitApi
79
79
  # causes a second command on the same connection to fail with an
80
80
  # EOFError. Using the _async version of this causes XMLRPC::Client
81
81
  # to use a new connection each time eliminating this issue
82
- @@connection.call_async(command, args)
82
+ begin
83
+ @@connection.call_async(command, args)
84
+ rescue RuntimeError => exception
85
+ puts command
86
+ puts args
87
+ puts exception.inspect
88
+ raise exception
89
+ end
83
90
  end
84
91
 
85
92
  def self.version
@@ -66,9 +66,9 @@ module ActionKitApi
66
66
  response_objects
67
67
  end
68
68
 
69
- def class_name.count(search)
70
- ActionKitApi::Connection.call("#{class_name}.count", search)
71
- end
69
+ #def class_name.count(search)
70
+ # ActionKitApi::Connection.call("#{class_name}.count", search)
71
+ #end
72
72
 
73
73
  # Helper method for method_missing and the find_* virtual methods that
74
74
  # parses part of a method name and arguments into a hash usuable for the
@@ -1,3 +1,3 @@
1
1
  module ActionKitApi
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 9
9
- version: 0.1.9
8
+ - 10
9
+ version: 0.1.10
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sam Stelfox