stream-ruby 4.1.0 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +7 -2
- data/lib/stream/reactions.rb +6 -4
- 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: 2972e7e742f31f333f433daeedd19dbe28b8778ed76e65ef8627fec52bfee589
|
4
|
+
data.tar.gz: eff63599f1fafb19d4e905a1286bc74570ade5b9bd26754fb2babe0792bd6410
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6698774ebabe5b08638f96d1b01001d5b9809c5a21265f9ae400a8213c75a96c0600eef32c7a467b2690623ea789ed9aa7c8ec3a0bd49cc858bea2a8ada51997
|
7
|
+
data.tar.gz: a22782a9ba528f900174b727c76b0eaddf783a2d34d7a5ff17856ddad19a1af7b319bbf48050bb35e980a20e0adeb8822ef6d9f1ca67fc025aa69c2dde775b67
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -153,6 +153,11 @@ client.og('https://google.com')
|
|
153
153
|
|
154
154
|
### Copyright and License Information
|
155
155
|
|
156
|
-
|
156
|
+
Project is licensed under the [BSD 3-Clause](LICENSE).
|
157
157
|
|
158
|
-
|
158
|
+
## We are hiring!
|
159
|
+
|
160
|
+
We've recently closed a [$38 million Series B funding round](https://techcrunch.com/2021/03/04/stream-raises-38m-as-its-chat-and-activity-feed-apis-power-communications-for-1b-users/) and we keep actively growing.
|
161
|
+
Our APIs are used by more than a billion end-users, and you'll have a chance to make a huge impact on the product within a team of the strongest engineers all over the world.
|
162
|
+
|
163
|
+
Check out our current openings and apply via [Stream's website](https://getstream.io/team/#jobs).
|
data/lib/stream/reactions.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
module Stream
|
2
2
|
class ReactionsClient < Client
|
3
|
-
def add(kind, activity_id, user_id, data: nil, target_feeds: nil)
|
3
|
+
def add(kind, activity_id, user_id, data: nil, target_feeds: nil, target_feeds_extra_data: nil)
|
4
4
|
data = {
|
5
5
|
kind: kind,
|
6
6
|
activity_id: activity_id,
|
7
7
|
user_id: user_id,
|
8
8
|
data: data,
|
9
|
-
target_feeds: target_feeds
|
9
|
+
target_feeds: target_feeds,
|
10
|
+
target_feeds_extra_data: target_feeds_extra_data
|
10
11
|
}
|
11
12
|
make_reaction_request(:post, {}, data)
|
12
13
|
end
|
@@ -30,13 +31,14 @@ module Stream
|
|
30
31
|
make_reaction_request(:delete, {}, {}, endpoint: uri)
|
31
32
|
end
|
32
33
|
|
33
|
-
def add_child(kind, parent_id, user_id, data: nil, target_feeds: nil)
|
34
|
+
def add_child(kind, parent_id, user_id, data: nil, target_feeds: nil, target_feeds_extra_data: nil)
|
34
35
|
data = {
|
35
36
|
kind: kind,
|
36
37
|
parent: parent_id,
|
37
38
|
user_id: user_id,
|
38
39
|
data: data,
|
39
|
-
target_feeds: target_feeds
|
40
|
+
target_feeds: target_feeds,
|
41
|
+
target_feeds_extra_data: target_feeds_extra_data
|
40
42
|
}
|
41
43
|
make_reaction_request(:post, {}, data)
|
42
44
|
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: 4.
|
4
|
+
version: 4.2.0
|
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: 2021-
|
13
|
+
date: 2021-09-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|