klaviyo 0.9.3 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/klaviyo.gemspec +3 -3
  2. data/lib/klaviyo/client.rb +3 -3
  3. metadata +2 -2
@@ -2,8 +2,8 @@ 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.3'
6
- s.date = '2012-09-03'
5
+ s.version = '0.9.4'
6
+ s.date = '2012-09-06'
7
7
  s.summary = 'You heard us, a Ruby wrapper for the Klaviyo API'
8
8
  s.description = 'Ruby wrapper for the Klaviyo API'
9
9
  s.authors = ['Andrew Bialecki']
@@ -15,4 +15,4 @@ Gem::Specification.new do |s|
15
15
  s.add_dependency 'json'
16
16
  s.add_dependency 'rack'
17
17
  s.add_dependency 'escape'
18
- end
18
+ end
@@ -35,9 +35,9 @@ module Klaviyo
35
35
  request('crm/api/track', params)
36
36
  end
37
37
 
38
- def track_once(event, customer_properties = {}, properties = {})
39
- properties.update('__track_once__' => true)
40
- track(event, email, id, properties, customer_properties)
38
+ def track_once(event, opts = {})
39
+ opts.update('__track_once__' => true)
40
+ track(event, opts)
41
41
  end
42
42
 
43
43
  def identify(kwargs = {})
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.3
4
+ version: 0.9.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-03 00:00:00.000000000 Z
12
+ date: 2012-09-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json