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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3120569255394b3306b2748c2883707f7c98bff14353f6b0dd8ff7b9bfdcc1d
4
- data.tar.gz: 9a715e02897a4ab371a78f8fb31e9669023dd84ae01bd7d5c67a77fa698ccfeb
3
+ metadata.gz: 4a798ddecdc911a8c70bb6a5ce118411f82ed34a1baab7b067b9fc5c2c7ab4da
4
+ data.tar.gz: 92f91b4b8f8446b7a9c2129a731e8e120d678379fd9623c4e1f43969a2e5bb0b
5
5
  SHA512:
6
- metadata.gz: 10ff4a6917a0081a33eb92a55d05142f9b97dab0e297a171f4f52122bcd907fcd9a5999673b7b61cedf7fbcf861ee467bb226cf6b0cbe3bc626a3fc35d651f52
7
- data.tar.gz: e2dd165c34ec9a570b8e5b8b9e4f36e1922c37909680b104441e9c7816602e96d06cf0376e1507b94d34dd5c10a82daebb4f2837e5e7a5f5a9f31321559d4d86
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
 
@@ -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
- **{ base_url: ENV.fetch('STREAM_CHAT_URL', DEFAULT_BASE_URL) }.merge(options))
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)
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module StreamChat
5
- VERSION = '3.4.0'
5
+ VERSION = '3.5.0'
6
6
  end
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.0
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-07-19 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday