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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4afa1450a6827106e39ef7e907de9ce4f490a2cc323bbc59eca1c5cf7386b69
4
- data.tar.gz: 2a7e3858a80590ad65ce462f77d61f1e5d87435fdf9b5528c626ed41a573cb5c
3
+ metadata.gz: adfdcee3c81364ab7af1c22fb56bd6b2d2f823b78f67264effce6b7e2af35852
4
+ data.tar.gz: 2991aa1e88c979c3b714bbf1da5facc68b52582a84001d43b8e1b304768125fb
5
5
  SHA512:
6
- metadata.gz: 6a2d3070cbe58af3289dd89da27004955d4689a2b32758b7dd123288e6fabcc1915571ee6b353cd8edd0beaef8402f9668bf8034742a7ab30359d26b1f7828a3
7
- data.tar.gz: 3eb4943530aa4e658f091ce8d8314032b9b5381828ec04e82686ecea3ec2a6481d56783eb19a8d86a943d3108a846632ff0903ec2a28b164734792f9e20322ae
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.66)
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.3-x86_64-darwin)
41
+ nokogiri (1.15.4-x86_64-darwin)
42
42
  racc (~> 1.4)
43
- nokogiri (1.15.3-x86_64-linux)
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)
@@ -68,7 +68,7 @@ class ReeDao::BuildConnection
68
68
  end
69
69
 
70
70
  if opts[:sql_log_level]
71
- connection.sql_log_level = opts[:sql_log_level]
71
+ connection.sql_log_level = opts[:sql_log_level]
72
72
  end
73
73
 
74
74
  Timeout::timeout(timeout) do
@@ -5,8 +5,8 @@ module ReeHttp
5
5
  DEFAULT_TIMEOUT = 60
6
6
  DEFAULT_WRITE_TIMEOUT = 30
7
7
  DEFAULT_FORCE_SSL = false
8
- HTTPS = 'https'
9
- HTTP = 'http'
8
+ HTTPS_STR = 'https'
9
+ HTTP_STR = 'http'
10
10
  HTTPS_PORT = 443
11
11
  HTTP_PORT = 80
12
12
  end
@@ -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
- HTTPS & HTTP & HTTPS_PORT & HTTP_PORT & DEFAULT_FORCE_SSL
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] ? HTTPS : uri.scheme
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
- HTTPS & DEFAULT_TIMEOUT & DEFAULT_WRITE_TIMEOUT & DEFAULT_FORCE_SSL
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 == HTTPS
50
+ request_executor.use_ssl = opts[:force_ssl] || uri.scheme == HTTPS_STR
51
51
 
52
52
 
53
53
  if opts[:ca_certs?]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReeLib
4
- VERSION = "1.0.66"
4
+ VERSION = "1.0.67"
5
5
  end
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.66
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-03 00:00:00.000000000 Z
11
+ date: 2023-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ree