action_kit_api 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,7 +71,7 @@ module ActionKitApi
71
71
 
72
72
  next if key == :required_attrs
73
73
  next if key == :read_only_attrs
74
- user_hash[key] = self.instance_variable_get(iv).to_s
74
+ user_hash[key] = self.instance_variable_get(iv)
75
75
  end
76
76
 
77
77
  # XMLRPC::Client doesn't like empty values
@@ -44,7 +44,7 @@ module ActionKitApi
44
44
  # and doesn't return extra fields
45
45
  def public_search(*args)
46
46
  args[0].merge!(:campaign => self.id)
47
- results = ActionKitApi.connection.call("Event.public_search", args)
47
+ results = ActionKitApi.connection.call("Event.public_search", *args)
48
48
 
49
49
  results.map do |r|
50
50
  Event.new(r)
@@ -1,3 +1,3 @@
1
1
  module ActionKitApi
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7".freeze
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 6
9
- version: 0.4.6
8
+ - 7
9
+ version: 0.4.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sam Stelfox
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2012-03-16 00:00:00 -04:00
17
+ date: 2012-03-19 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency