stream-ruby 5.1.0 → 6.0.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.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/lib/stream/activities.rb +3 -0
- data/lib/stream/client.rb +1 -1
- data/lib/stream/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 272b3d44db91455ebec580f5202ee7ae0119ca6c10c7d986275e5e7b422f49c1
|
|
4
|
+
data.tar.gz: 6adc1c3aa8096cb16024342eb1b8357e9b0d86c4aeced0f8bde251d1d99e47ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84c83f376be90335152eae2ab6061bd7609c5eaa5cd83669a143223287b33e5f71a6ada9e5280bd2da952e88751385ffa546c1e15711278c35408ff055e41509
|
|
7
|
+
data.tar.gz: d9af7341ad822525bf703e90eb95fed49dae17e29abd9762107b7303902b47b924468ed95fc7b1e33ca7d7ec098c3fbb146cd1c51a4241baac1b8030f0ef0573
|
data/README.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
> **Feeds v2 has been superseded by Feeds v3.** `stream-ruby` is the Feeds v2 client for Ruby.
|
|
2
|
+
> It is in maintenance mode: it still gets critical fixes and is safe to keep using with an
|
|
3
|
+
> existing v2 app. New projects should start on Feeds v3 with
|
|
4
|
+
> [`getstream-ruby`](https://github.com/GetStream/getstream-ruby) (gem `getstream-ruby`).
|
|
5
|
+
>
|
|
6
|
+
> **Moving a v2 app to v3:** you start the migration from the Stream Dashboard, and it keeps your
|
|
7
|
+
> v2 and v3 data in sync while you switch your code over. Step by step:
|
|
8
|
+
> [Feeds v2 to v3 migration guide](https://getstream.io/activity-feeds/docs/ruby/v2-to-v3-migration/).
|
|
9
|
+
> If you use an AI coding agent, [Stream's Agent Skills](https://getstream.io/agent-skills/docs/) can help:
|
|
10
|
+
> [`/stream-feeds-migration`](https://getstream.io/agent-skills/docs/skills/stream-feeds-migration/)
|
|
11
|
+
> builds the migration mapping from your own v2 data, and `/stream-docs` answers Feeds v3
|
|
12
|
+
> questions while you port your code.
|
|
13
|
+
|
|
1
14
|
# Official Ruby SDK for [Stream Feeds](https://getstream.io/activity-feeds/)
|
|
2
15
|
|
|
3
16
|
[](https://github.com/GetStream/stream-ruby/actions) [](http://badge.fury.io/rb/stream-ruby)
|
data/lib/stream/activities.rb
CHANGED
|
@@ -53,6 +53,9 @@ module Stream
|
|
|
53
53
|
end
|
|
54
54
|
%i[enrich reactions].each { |k| params.delete(k) }
|
|
55
55
|
|
|
56
|
+
# Handle multiple IDs by joining with commas
|
|
57
|
+
params[:ids] = params[:ids].join(',') if params[:ids]&.is_a?(Array)
|
|
58
|
+
|
|
56
59
|
signature = Stream::Signer.create_jwt_token('activities', '*', @api_secret, '*')
|
|
57
60
|
make_request(:get, uri, signature, params)
|
|
58
61
|
end
|
data/lib/stream/client.rb
CHANGED
data/lib/stream/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: stream-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 6.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tommaso Barbugli
|
|
8
8
|
- Ian Douglas
|
|
9
9
|
- Federico Ruggi
|
|
10
|
-
autorequire:
|
|
10
|
+
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2026-12-02 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: faraday
|
|
@@ -68,7 +68,8 @@ dependencies:
|
|
|
68
68
|
- - ">="
|
|
69
69
|
- !ruby/object:Gem::Version
|
|
70
70
|
version: '0'
|
|
71
|
-
description: Ruby client for getstream.io
|
|
71
|
+
description: Feeds v2 (legacy) Ruby client for getstream.io. For Feeds v3, use the
|
|
72
|
+
getstream-ruby gem.
|
|
72
73
|
email: support@getstream.io
|
|
73
74
|
executables: []
|
|
74
75
|
extensions: []
|
|
@@ -103,7 +104,7 @@ metadata:
|
|
|
103
104
|
documentation_uri: https://getstream.io/activity-feeds/docs/ruby/?language=ruby
|
|
104
105
|
changelog_uri: https://github.com/GetStream/stream-ruby/blob/main/CHANGELOG.md
|
|
105
106
|
source_code_uri: https://github.com/GetStream/stream-ruby
|
|
106
|
-
post_install_message:
|
|
107
|
+
post_install_message:
|
|
107
108
|
rdoc_options: []
|
|
108
109
|
require_paths:
|
|
109
110
|
- lib
|
|
@@ -118,8 +119,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
119
|
- !ruby/object:Gem::Version
|
|
119
120
|
version: '0'
|
|
120
121
|
requirements: []
|
|
121
|
-
rubygems_version: 3.
|
|
122
|
-
signing_key:
|
|
122
|
+
rubygems_version: 3.4.20
|
|
123
|
+
signing_key:
|
|
123
124
|
specification_version: 4
|
|
124
|
-
summary:
|
|
125
|
+
summary: Feeds v2 (legacy) client for getstream.io. For Feeds v3, use getstream-ruby.
|
|
125
126
|
test_files: []
|