stream-chat-ruby 3.4.0 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/stream-chat/client.rb +10 -1
- data/lib/stream-chat/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: 4a798ddecdc911a8c70bb6a5ce118411f82ed34a1baab7b067b9fc5c2c7ab4da
|
4
|
+
data.tar.gz: 92f91b4b8f8446b7a9c2129a731e8e120d678379fd9623c4e1f43969a2e5bb0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d089b2c5352bf1ff431d4a00a815d997f14f9d4db03eefa44e42c996a15a2c180016b1d32ce1798eb11fa9b96531d5e3ced2a3f00140c4cc8a89be0487d15bf6
|
7
|
+
data.tar.gz: 9f6da50d9ec3d5ed6146dd3a76396781a582246b65fd0bc0208c627b215285c5b1ca42023e6864bb6bb80bcf19f6a87d4f31f0cf3e8670ca31025f8e0d99bfbf
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,13 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
4
4
|
|
5
|
+
## [3.5.0](https://github.com/GetStream/stream-chat-ruby/compare/v3.4.0...v3.5.0) (2023-10-30)
|
6
|
+
|
7
|
+
|
8
|
+
### Features
|
9
|
+
|
10
|
+
* add check sns point ([#134](https://github.com/GetStream/stream-chat-ruby/issues/134)) ([532ae7e](https://github.com/GetStream/stream-chat-ruby/commit/532ae7e9f2e0879f679dc3cd2c5afb27987d4e88))
|
11
|
+
|
5
12
|
## [3.4.0](https://github.com/GetStream/stream-chat-ruby/compare/v3.3.0...v3.4.0) (2023-07-19)
|
6
13
|
|
7
14
|
|
data/lib/stream-chat/client.rb
CHANGED
@@ -75,7 +75,8 @@ module StreamChat
|
|
75
75
|
Client.new(ENV.fetch('STREAM_KEY'),
|
76
76
|
ENV.fetch('STREAM_SECRET'),
|
77
77
|
ENV.fetch('STREAM_CHAT_TIMEOUT', DEFAULT_TIMEOUT),
|
78
|
-
|
78
|
+
base_url: ENV.fetch('STREAM_CHAT_URL', DEFAULT_BASE_URL),
|
79
|
+
**options)
|
79
80
|
end
|
80
81
|
|
81
82
|
# Sets the underlying Faraday http client.
|
@@ -741,6 +742,14 @@ module StreamChat
|
|
741
742
|
post('check_sqs', data: { sqs_key: sqs_key, sqs_secret: sqs_secret, sqs_url: sqs_url })
|
742
743
|
end
|
743
744
|
|
745
|
+
# Check SNS Push settings
|
746
|
+
#
|
747
|
+
# When no parameters are given, the current SNS app settings are used.
|
748
|
+
sig { params(sns_key: T.nilable(String), sns_secret: T.nilable(String), sns_topic_arn: T.nilable(String)).returns(StreamChat::StreamResponse) }
|
749
|
+
def check_sns(sns_key = nil, sns_secret = nil, sns_topic_arn = nil)
|
750
|
+
post('check_sns', data: { sns_key: sns_key, sns_secret: sns_secret, sns_topic_arn: sns_topic_arn })
|
751
|
+
end
|
752
|
+
|
744
753
|
# Creates a new command.
|
745
754
|
sig { params(command: StringKeyHash).returns(StreamChat::StreamResponse) }
|
746
755
|
def create_command(command)
|
data/lib/stream-chat/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stream-chat-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- getstream.io
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|