ree_lib 1.0.66 → 1.0.67
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/ree_lib/packages/ree_dao/package/ree_dao/functions/build_connection.rb +1 -1
- data/lib/ree_lib/packages/ree_http/package/ree_http/constants.rb +2 -2
- data/lib/ree_lib/packages/ree_http/package/ree_http/functions/build_request.rb +2 -2
- data/lib/ree_lib/packages/ree_http/package/ree_http/functions/build_request_executor.rb +2 -2
- data/lib/ree_lib/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: adfdcee3c81364ab7af1c22fb56bd6b2d2f823b78f67264effce6b7e2af35852
|
4
|
+
data.tar.gz: 2991aa1e88c979c3b714bbf1da5facc68b52582a84001d43b8e1b304768125fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9d848d9321212758be3e7051b408eedef55bcfb3d712e647f598f9e82510ea1b09275e4944fe89e8e83bce4650b36c2f02b59fdfe01e37bf7e8703911102ac3
|
7
|
+
data.tar.gz: 3c62a965cd9c5aeb588b984d3e2b9d93ef80698fe24fc7dafa0595a214443ec5d29e2ba91d7f8a424ee6410f3921dda339eefbeb2a4510c3999bc13532662f5f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ree_lib (1.0.
|
4
|
+
ree_lib (1.0.67)
|
5
5
|
binding_of_caller (~> 1.0.0)
|
6
6
|
i18n (~> 1.12.0)
|
7
7
|
loofah (~> 2.18.0)
|
@@ -38,9 +38,9 @@ GEM
|
|
38
38
|
crass (~> 1.0.2)
|
39
39
|
nokogiri (>= 1.5.9)
|
40
40
|
msgpack (1.6.0)
|
41
|
-
nokogiri (1.15.
|
41
|
+
nokogiri (1.15.4-x86_64-darwin)
|
42
42
|
racc (~> 1.4)
|
43
|
-
nokogiri (1.15.
|
43
|
+
nokogiri (1.15.4-x86_64-linux)
|
44
44
|
racc (~> 1.4)
|
45
45
|
oj (3.13.23)
|
46
46
|
pg (1.4.6)
|
@@ -7,7 +7,7 @@ class ReeHttp::BuildRequest
|
|
7
7
|
link :not_blank, from: :ree_object
|
8
8
|
link :to_json, from: :ree_json
|
9
9
|
link 'ree_http/constants', -> {
|
10
|
-
|
10
|
+
HTTPS_STR & HTTP_STR & HTTPS_PORT & HTTP_PORT & DEFAULT_FORCE_SSL
|
11
11
|
}
|
12
12
|
end
|
13
13
|
|
@@ -49,7 +49,7 @@ class ReeHttp::BuildRequest
|
|
49
49
|
opts = DEFAULTS.merge(opts)
|
50
50
|
uri = URI(url)
|
51
51
|
|
52
|
-
uri.scheme = opts[:force_ssl] ?
|
52
|
+
uri.scheme = opts[:force_ssl] ? HTTPS_STR : uri.scheme
|
53
53
|
|
54
54
|
if DEFAULT_PROTOCOL_PORTS.include?(uri.port)
|
55
55
|
uri.port = opts[:force_ssl] ? HTTPS_PORT : uri.port
|
@@ -5,7 +5,7 @@ class ReeHttp::BuildRequestExecutor
|
|
5
5
|
|
6
6
|
fn :build_request_executor do
|
7
7
|
link 'ree_http/constants', -> {
|
8
|
-
|
8
|
+
HTTPS_STR & DEFAULT_TIMEOUT & DEFAULT_WRITE_TIMEOUT & DEFAULT_FORCE_SSL
|
9
9
|
}
|
10
10
|
end
|
11
11
|
|
@@ -47,7 +47,7 @@ class ReeHttp::BuildRequestExecutor
|
|
47
47
|
request_executor.write_timeout = opts[:write_timeout]
|
48
48
|
request_executor.read_timeout = opts[:timeout]
|
49
49
|
|
50
|
-
request_executor.use_ssl = opts[:force_ssl] || uri.scheme ==
|
50
|
+
request_executor.use_ssl = opts[:force_ssl] || uri.scheme == HTTPS_STR
|
51
51
|
|
52
52
|
|
53
53
|
if opts[:ca_certs?]
|
data/lib/ree_lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ree_lib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.67
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ruslan Gatiyatov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ree
|