stream-ruby 2.9.1 → 2.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stream/activities.rb +3 -3
- data/lib/stream/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa3fd8416479a3f83b76be9af897b7bef40a6a0770d6ac45be99b75a82b7aedd
|
4
|
+
data.tar.gz: 1ab6edc954bf604be1a09b3111363d0ad32c266a2ae7557972ab316921f0400b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b5f504fc53c67a6f6e9a759277febf2455a1d4d5d043f874195476416eec4d210904d6968822ccf4a3e39f07bf2cce09cbc4bfc1ff10db2d113054102032b3b
|
7
|
+
data.tar.gz: 28e9529d57a99eaaf637f8ffe9cef98e13d480d7cd983d954f3ab9e2a0a4293e030c2dc0faadf3a3ad395ce56aac63024b5b23e8cb0a33349781156490a280c7
|
data/lib/stream/activities.rb
CHANGED
@@ -51,7 +51,7 @@ module Stream
|
|
51
51
|
#
|
52
52
|
# @example
|
53
53
|
#
|
54
|
-
# @client.
|
54
|
+
# @client.activity_partial_update(
|
55
55
|
# id: "4b39fda2-d6e2-42c9-9abf-5301ef071b12",
|
56
56
|
# set: {
|
57
57
|
# "product.price.eur": 12.99,
|
@@ -63,7 +63,7 @@ module Stream
|
|
63
63
|
# unset: [ "popularity", "size.xl" ]
|
64
64
|
# )
|
65
65
|
#
|
66
|
-
# @client.
|
66
|
+
# @client.activity_partial_update(
|
67
67
|
# foreign_id: 'product:123',
|
68
68
|
# time: '2016-11-10T13:20:00.000000',
|
69
69
|
# set: {
|
@@ -75,7 +75,7 @@ module Stream
|
|
75
75
|
# },
|
76
76
|
# unset: [ "popularity", "size.xl" ]
|
77
77
|
# )
|
78
|
-
def
|
78
|
+
def activity_partial_update(data = {})
|
79
79
|
signature = Stream::Signer.create_jwt_token('activities', '*', @api_secret, '*')
|
80
80
|
make_request(:post, '/activity/', signature, {}, data)
|
81
81
|
end
|
data/lib/stream/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stream-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.9.
|
4
|
+
version: 2.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tommaso Barbugli
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-07-
|
13
|
+
date: 2018-07-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|