klaviyo 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/klaviyo.gemspec +1 -1
  2. data/lib/klaviyo/client.rb +1 -1
  3. metadata +1 -1
@@ -2,7 +2,7 @@ files = ['klaviyo.gemspec', '{lib}/**/*'].map {|f| Dir[f]}.flatten
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'klaviyo'
5
- s.version = '0.9.2'
5
+ s.version = '0.9.3'
6
6
  s.date = '2012-09-03'
7
7
  s.summary = 'You heard us, a Ruby wrapper for the Klaviyo API'
8
8
  s.description = 'Ruby wrapper for the Klaviyo API'
@@ -29,9 +29,9 @@ module Klaviyo
29
29
  :event => event,
30
30
  :properties => kwargs[:properties],
31
31
  :customer_properties => customer_properties,
32
- :time => time.to_i,
33
32
  :ip => ''
34
33
  })
34
+ params[:time] = kwargs[:time].to_time.to_i if kwargs[:time]
35
35
  request('crm/api/track', params)
36
36
  end
37
37
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: klaviyo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: