drip-ruby 3.3.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da8e0406199eb9a3a9c4d1dc54822dcf8126897a
4
- data.tar.gz: a4ef8f3a36b59e4a54ed2c7f23895bcedea5d60c
3
+ metadata.gz: 4ccbc1741cd10add7fca7bc17e87f2e75688000f
4
+ data.tar.gz: 6f9b2ff19785e69c175a7b0f77bcf226dc74de41
5
5
  SHA512:
6
- metadata.gz: 3c69d1a5f1a6c1749a0d799a4810aef260c875bb0d03c3a975117f15af9108cfb7dc6f3552a8d15eb31c67a44c5709cabbfc026e35efac5f3f0dc002992c013e
7
- data.tar.gz: 183dad58f6e69ee0f1f8f102308a9b8fc42dc87c164523220d7e9d17e07bee1b3f510b4f89a00f319676c009a85c0e233969ce15a9abe7d4c85c7acf500622f5
6
+ metadata.gz: f8319350060348e6b3bfc61f5e8d2b949aac51e6ae79d727ceac55a02fdcb1ae096167de5588e50e33e8ecaa1dff2b391ee210add8e4b0d603f5c613b4cb882c
7
+ data.tar.gz: a984d39cf4d0fc9e36d7acef89e8d27340bb566e9ef4ce7e4d0669cb25276b1be6b368699343b7e7d7a147ebc170bb8a4fa9f3800d3209a86e7d22e6f8156711
@@ -6,10 +6,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
- [master]: https://github.com/DripEmail/drip-ruby/compare/v3.3.0...HEAD
9
+ [master]: https://github.com/DripEmail/drip-ruby/compare/v3.3.1...HEAD
10
10
 
11
11
  - Your contribution here!
12
12
 
13
+ ## [3.3.1] - 2019-05-28
14
+
15
+ [3.3.1]: https://github.com/DripEmail/drip-ruby/compare/v3.3.0...v3.3.1
16
+
17
+ ### Fixed
18
+ - Correct shopper activity batch orders API to wrap things in an `orders` key.
19
+
13
20
  ## [3.3.0] - 2019-05-24
14
21
 
15
22
  [3.3.0]: https://github.com/DripEmail/drip-ruby/compare/v3.2.0...v3.3.0
@@ -55,7 +55,7 @@ module Drip
55
55
  record[:occurred_at] = Time.now.iso8601 unless record.key?(:occurred_at)
56
56
  end
57
57
 
58
- make_json_request :post, "v3/#{account_id}/shopper_activity/order/batch", records
58
+ make_json_request :post, "v3/#{account_id}/shopper_activity/order/batch", { orders: records }
59
59
  end
60
60
 
61
61
  # Public: Create a product activity event.
@@ -1,3 +1,3 @@
1
1
  module Drip
2
- VERSION = "3.3.0".freeze
2
+ VERSION = "3.3.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: drip-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Drip
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-24 00:00:00.000000000 Z
11
+ date: 2019-05-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple wrapper for the Drip API
14
14
  email: