stream-ruby 4.4.0 → 4.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stream/client.rb +5 -1
- data/lib/stream/version.rb +1 -1
- metadata +36 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae1395d26cf2fc594224dfc4fb2acd18d5b9ecacb5c8def51ce8df295e1fead8
|
4
|
+
data.tar.gz: 4765a2b7e087bc060e22d14eca4ee37875c24d802c21455655eaa0c44b466ada
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca9c4dc2e6978ccc1961821c6375607bd4ad10f22ffd3f950bf1493a616d4262b6e027cd26cee507260b6238814854edafe0b6a9b7fbc54732430693422bdbd3
|
7
|
+
data.tar.gz: 81996ad7e64df4fb2da41487a05570395a185000c2dd5124721b637959f7c6c2782d40089dc8461933d93654f145c3872ae3167b727c8ee8cd8cc1243744e81d
|
data/lib/stream/client.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'faraday'
|
2
|
+
require 'faraday/net_http_persistent'
|
2
3
|
require 'stream/errors'
|
3
4
|
require 'stream/feed'
|
4
5
|
require 'stream/signer'
|
@@ -170,7 +171,10 @@ module Stream
|
|
170
171
|
faraday.use RaiseHttpException
|
171
172
|
faraday.options[:open_timeout] = @options[:default_timeout]
|
172
173
|
faraday.options[:timeout] = @options[:default_timeout]
|
173
|
-
faraday.adapter
|
174
|
+
faraday.adapter :net_http_persistent, pool_size: 5 do |http|
|
175
|
+
# AWS load balancer idle timeout is 60 secs, so let's make it 59
|
176
|
+
http.idle_timeout = 59
|
177
|
+
end
|
174
178
|
end
|
175
179
|
@base_path = url_generator.base_path
|
176
180
|
@conn.path_prefix = base_path
|
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.5.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:
|
13
|
+
date: 2022-01-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|
@@ -26,6 +26,20 @@ dependencies:
|
|
26
26
|
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: '0'
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: faraday-net_http_persistent
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
type: :runtime
|
37
|
+
prerelease: false
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0'
|
29
43
|
- !ruby/object:Gem::Dependency
|
30
44
|
name: jwt
|
31
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -40,6 +54,20 @@ dependencies:
|
|
40
54
|
- - ">="
|
41
55
|
- !ruby/object:Gem::Version
|
42
56
|
version: '0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: net-http-persistent
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0'
|
64
|
+
type: :runtime
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
43
71
|
- !ruby/object:Gem::Dependency
|
44
72
|
name: rake
|
45
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -110,7 +138,12 @@ files:
|
|
110
138
|
homepage: http://github.com/GetStream/stream-ruby
|
111
139
|
licenses:
|
112
140
|
- BSD-3-Clause
|
113
|
-
metadata:
|
141
|
+
metadata:
|
142
|
+
homepage_uri: https://getstream.io/activity-feeds/
|
143
|
+
bug_tracker_uri: https://github.com/GetStream/stream-ruby/issues
|
144
|
+
documentation_uri: https://getstream.io/activity-feeds/docs/ruby/?language=ruby
|
145
|
+
changelog_uri: https://github.com/GetStream/stream-ruby/blob/main/CHANGELOG.md
|
146
|
+
source_code_uri: https://github.com/GetStream/stream-ruby
|
114
147
|
post_install_message:
|
115
148
|
rdoc_options: []
|
116
149
|
require_paths:
|