customerio 0.4.0 → 0.4.1
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.
- data/Gemfile.lock +5 -5
- data/lib/customerio/client.rb +1 -1
- data/lib/customerio/version.rb +1 -1
- data/spec/client_spec.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
customerio (0.
|
|
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.
|
|
12
|
+
httparty (0.10.2)
|
|
13
13
|
multi_json (~> 1.0)
|
|
14
|
-
multi_xml
|
|
15
|
-
multi_json (1.
|
|
16
|
-
multi_xml (0.5.
|
|
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)
|
data/lib/customerio/client.rb
CHANGED
data/lib/customerio/version.rb
CHANGED
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
|