ree_lib 1.3.6 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51394aa942aea366320eac555b2e11af83a26f66bc843bcb92ab5002db7de4c5
4
- data.tar.gz: 50d25f85c91e72bf5209fdb93b666aa3391ba37daa573cd27bdb3625de5e4f69
3
+ metadata.gz: 22c9b3f24637ea89df5a633bb65b00165bdcf89193dc870cacd6521ead772c5a
4
+ data.tar.gz: fa3c84478540381ba0dba7046bf41dc472e3de75fed7bc99b53e78cddc14de4c
5
5
  SHA512:
6
- metadata.gz: dd3eb4e01579306109a70f90182e184144dca99c8dd93d2e231387d10dd7d79c4e9959f8c2f0dd1852793857f5f4abca2d4dedef85929583aaa42af5f0467c4a
7
- data.tar.gz: 3fb94861b0d7898708f0b18472e701d095104a9326bc7be8bd1e2fd20245943f37fac4c497a7380ac3016e64a5d88c532e4b4d3060f69d90c7f4ae9e216bffbd
6
+ metadata.gz: 7f7c74ea3f1d7a72b9c61dc8ddf2291dc4493a863c89cbda641f42ffbb8a505b5fe7537cb2d39bb03c65fc805350a3d5788c68b77e5a86a05dbbc70061f077c3
7
+ data.tar.gz: 8ad1a702714b65592c6c37f932d22d86727263240faa64e3b23c48a2b330d7f2cfab37c162bdb8d9ad0edb0b9e004871f0ae266dbfc0d1097f4899239c31a5e7
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.5
2
+ TargetRubyVersion: 4.0
3
3
 
4
4
  Style/StringLiterals:
5
5
  Enabled: true
data/Gemfile CHANGED
@@ -12,6 +12,7 @@ gem "rake", "~> 13.0"
12
12
 
13
13
  group :test do
14
14
  gem 'rspec'
15
+ gem 'benchmark'
15
16
  gem 'bootsnap'
16
17
  gem 'webmock'
17
18
  gem 'ruby-prof'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ../ree
3
3
  specs:
4
- ree (1.3.0)
4
+ ree (1.3.2)
5
5
  base64
6
6
  commander
7
7
  logger
@@ -9,7 +9,7 @@ PATH
9
9
  PATH
10
10
  remote: .
11
11
  specs:
12
- ree_lib (1.3.5)
12
+ ree_lib (1.3.6)
13
13
  bigdecimal
14
14
  binding_of_caller
15
15
  i18n
@@ -25,6 +25,7 @@ GEM
25
25
  addressable (2.8.8)
26
26
  public_suffix (>= 2.0.2, < 8.0)
27
27
  base64 (0.3.0)
28
+ benchmark (0.5.0)
28
29
  bigdecimal (4.0.1)
29
30
  binding_of_caller (2.0.0)
30
31
  debug_inspector (>= 1.2.0)
@@ -50,11 +51,14 @@ GEM
50
51
  crass (~> 1.0.2)
51
52
  nokogiri (>= 1.12.0)
52
53
  msgpack (1.8.0)
54
+ nokogiri (1.19.1-arm64-darwin)
55
+ racc (~> 1.4)
53
56
  nokogiri (1.19.1-x86_64-darwin)
54
57
  racc (~> 1.4)
55
58
  nokogiri (1.19.1-x86_64-linux-gnu)
56
59
  racc (~> 1.4)
57
60
  ostruct (0.6.3)
61
+ pg (1.6.3-arm64-darwin)
58
62
  pg (1.6.3-x86_64-darwin)
59
63
  pg (1.6.3-x86_64-linux)
60
64
  public_suffix (7.0.2)
@@ -85,6 +89,7 @@ GEM
85
89
  ostruct
86
90
  sequel (5.101.0)
87
91
  bigdecimal
92
+ sqlite3 (2.9.0-arm64-darwin)
88
93
  sqlite3 (2.9.0-x86_64-darwin)
89
94
  sqlite3 (2.9.0-x86_64-linux-gnu)
90
95
  timecop (0.9.10)
@@ -98,6 +103,7 @@ GEM
98
103
  hashdiff (>= 0.4.0, < 2.0.0)
99
104
 
100
105
  PLATFORMS
106
+ arm64-darwin-24
101
107
  x86_64-darwin-19
102
108
  x86_64-darwin-21
103
109
  x86_64-darwin-22
@@ -105,6 +111,7 @@ PLATFORMS
105
111
  x86_64-linux
106
112
 
107
113
  DEPENDENCIES
114
+ benchmark
108
115
  bootsnap
109
116
  faker
110
117
  pg
@@ -121,4 +128,4 @@ DEPENDENCIES
121
128
  webmock
122
129
 
123
130
  BUNDLED WITH
124
- 2.6.3
131
+ 4.0.6
@@ -39,8 +39,13 @@ class ReeHttp::BuildRequestExecutor
39
39
  opts = DEFAULTS.merge(opts)
40
40
  proxy = opts[:proxy] || {}
41
41
 
42
+ if proxy.empty? && (env_proxy = ENV['https_proxy'] || ENV['http_proxy'])
43
+ proxy_uri = URI(env_proxy)
44
+ proxy = { address: proxy_uri.host, port: proxy_uri.port }
45
+ end
46
+
42
47
  request_executor = Net::HTTP.new(
43
- uri.hostname, uri.port ,
48
+ uri.hostname, uri.port,
44
49
  proxy[:address], proxy[:port], proxy[:username], proxy[:password]
45
50
  )
46
51
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReeLib
4
- VERSION = "1.3.6"
4
+ VERSION = "1.3.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ree_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruslan Gatiyatov