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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba8d09150e3b322d059f8ff8e7290e9cd9f7d8079fa38822ecff8e3800fc40ba
4
- data.tar.gz: 74a37da7d4dba7f7e6bfb87bb9e186ce1fc1bef771c78f91d3b658d3c19feb50
3
+ metadata.gz: 272b3d44db91455ebec580f5202ee7ae0119ca6c10c7d986275e5e7b422f49c1
4
+ data.tar.gz: 6adc1c3aa8096cb16024342eb1b8357e9b0d86c4aeced0f8bde251d1d99e47ff
5
5
  SHA512:
6
- metadata.gz: ef20d4fb49ad4e287cbe9e1c513f19fa5c4d0aa72afcadaa6f4171f1abd38aa1ab5e140c72f53cc80569d855d5576f159aaa122c3b0a7beff69bec53ffe138fe
7
- data.tar.gz: 0f74c8d39d9fdd82cac6bb9ba22fa761f312822d4c124411ecc3ee9ace757b954b5b7b020620ae3ea6290f840669a848605280350b8c5ba0390aebcc00dd9808
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
  [![build](https://github.com/GetStream/stream-ruby/workflows/build/badge.svg)](https://github.com/GetStream/stream-ruby/actions) [![Gem Version](https://badge.fury.io/rb/stream-ruby.svg)](http://badge.fury.io/rb/stream-ruby)
@@ -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
@@ -214,7 +214,7 @@ module Stream
214
214
  end
215
215
 
216
216
  def initialize(app)
217
- super app
217
+ super
218
218
  @parser = nil
219
219
  end
220
220
 
@@ -1,3 +1,3 @@
1
1
  module Stream
2
- VERSION = '5.1.0'.freeze
2
+ VERSION = '6.0.1'.freeze
3
3
  end
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: 5.1.0
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: 2023-11-20 00:00:00.000000000 Z
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 service
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.3.5
122
- signing_key:
122
+ rubygems_version: 3.4.20
123
+ signing_key:
123
124
  specification_version: 4
124
- summary: A gem that provides a client interface for getstream.io
125
+ summary: Feeds v2 (legacy) client for getstream.io. For Feeds v3, use getstream-ruby.
125
126
  test_files: []