customerio 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- customerio (0.3.1)
4
+ customerio (0.4.0)
5
5
  httparty (>= 0.5, < 1.0)
6
6
 
7
7
  GEM
@@ -9,11 +9,11 @@ GEM
9
9
  specs:
10
10
  diff-lcs (1.1.3)
11
11
  fakeweb (1.3.0)
12
- httparty (0.10.0)
12
+ httparty (0.10.2)
13
13
  multi_json (~> 1.0)
14
- multi_xml
15
- multi_json (1.5.0)
16
- multi_xml (0.5.2)
14
+ multi_xml (>= 0.5.2)
15
+ multi_json (1.6.1)
16
+ multi_xml (0.5.3)
17
17
  rake (0.9.2.2)
18
18
  rspec (2.8.0)
19
19
  rspec-core (~> 2.8.0)
@@ -37,7 +37,7 @@ module Customerio
37
37
  end
38
38
 
39
39
  def delete(customer_id)
40
- verify_response(self.class.delete(customer_path(customer_id)))
40
+ verify_response(self.class.delete(customer_path(customer_id), options))
41
41
  end
42
42
 
43
43
  def track(*args)
@@ -1,3 +1,3 @@
1
1
  module Customerio
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
data/spec/client_spec.rb CHANGED
@@ -138,7 +138,7 @@ describe Customerio::Client do
138
138
 
139
139
  describe "#delete" do
140
140
  it "sends a DELETE request to the customer.io's event API" do
141
- Customerio::Client.should_receive(:delete).with("/api/v1/customers/5").and_return(response)
141
+ Customerio::Client.should_receive(:delete).with("/api/v1/customers/5", anything()).and_return(response)
142
142
  client.delete(5)
143
143
  end
144
144
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: customerio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: