ezclient 1.6.0 → 1.7.1

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: dac201c757a098759085d61cad73c4a327a5899b6b804e598d33063926de271b
4
- data.tar.gz: 45ca2421264d131634d5f357110d05e044697294001a451ed9d8cc62b76f44cc
3
+ metadata.gz: e6907661025b4a4e23d639bc2672bae03b767c7801f831ba1a858648aed14ba2
4
+ data.tar.gz: 4557f0603ba11f86f01fba2fcda3d830c2bb45fbbf2f9d2a2a0e4387fe05820b
5
5
  SHA512:
6
- metadata.gz: a920b8ae2a285ea52dc6a9332ccb8841c173cd4e578ee3a8f9a9efce38e2309023aea3886fa346179f4155a9d6795060edce1083cb6f600889251203d29246c4
7
- data.tar.gz: 1da388891f466fa5935ca400a883bee45dc868e58e9ca2a3613a7f752805a8ade29c87bff30e0947ce221b8a555c1ff991eb3aaaea7d4604f8a73c2f3a49e471
6
+ metadata.gz: e2f0c198622924ebe163d487093f254c93b6f297635ee430c587928f5261cf6477b93f91921fda5d4175433da7c16e853ec75d47ddff660a3f6bd5d1c6ce0666
7
+ data.tar.gz: 77a73530da0957847959eb5283ca725a1f1afd80954629ac803e2c92b8a31663041815e05cc81ce21a0a7d2427db0f0522bdcbf71f264608706da3a28c16164d
@@ -12,12 +12,12 @@ jobs:
12
12
  strategy:
13
13
  fail-fast: false
14
14
  matrix:
15
- ruby: ["2.7", "3.0", "3.1"]
15
+ ruby: ["3.0", "3.1", "3.2", "3.3"]
16
16
 
17
17
  name: ${{ matrix.ruby }}
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v2
20
+ - uses: actions/checkout@v4
21
21
 
22
22
  - uses: ruby/setup-ruby@v1
23
23
  with:
@@ -26,6 +26,6 @@ jobs:
26
26
 
27
27
  - run: bundle exec rake
28
28
 
29
- - uses: coverallsapp/github-action@v1.1.2
29
+ - uses: coverallsapp/github-action@v2
30
30
  with:
31
31
  github-token: ${{ secrets.GITHUB_TOKEN }}
data/.rubocop.yml CHANGED
@@ -5,7 +5,7 @@ inherit_gem:
5
5
 
6
6
  AllCops:
7
7
  DisplayCopNames: true
8
- TargetRubyVersion: 2.7
8
+ TargetRubyVersion: 3.0
9
9
  Include:
10
10
  - bin/console
11
11
  - Gemfile
@@ -17,5 +17,8 @@ AllCops:
17
17
  Exclude:
18
18
  - vendor/**/*
19
19
 
20
- RSpec/Rails/HaveHttpStatus:
20
+ RSpec/SpecFilePathFormat:
21
+ Enabled: false
22
+
23
+ RSpec/ExpectInLet:
21
24
  Enabled: false
data/Gemfile CHANGED
@@ -2,3 +2,14 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
  gemspec
5
+
6
+ gem "bundler"
7
+ gem "coveralls"
8
+ gem "pry"
9
+ gem "rake"
10
+ gem "rspec"
11
+ gem "rubocop-config-umbrellio"
12
+ gem "rubocop-rake"
13
+ gem "simplecov"
14
+ gem "simplecov-lcov"
15
+ gem "webmock"
data/Gemfile.lock CHANGED
@@ -1,137 +1,152 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ezclient (1.6.0)
4
+ ezclient (1.7.1)
5
5
  http (>= 4)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (7.0.4)
10
+ activesupport (7.1.4)
11
+ base64
12
+ bigdecimal
11
13
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ connection_pool (>= 2.2.5)
15
+ drb
12
16
  i18n (>= 1.6, < 2)
13
17
  minitest (>= 5.1)
18
+ mutex_m
14
19
  tzinfo (~> 2.0)
15
- addressable (2.8.1)
16
- public_suffix (>= 2.0.2, < 6.0)
20
+ addressable (2.8.7)
21
+ public_suffix (>= 2.0.2, < 7.0)
17
22
  ast (2.4.2)
23
+ base64 (0.2.0)
24
+ bigdecimal (3.1.8)
18
25
  coderay (1.1.3)
19
- concurrent-ruby (1.1.10)
26
+ concurrent-ruby (1.3.4)
27
+ connection_pool (2.4.1)
20
28
  coveralls (0.7.2)
21
29
  multi_json (~> 1.3)
22
30
  rest-client (= 1.6.7)
23
31
  simplecov (>= 0.7)
24
32
  term-ansicolor (= 1.2.2)
25
33
  thor (= 0.18.1)
26
- crack (0.4.5)
34
+ crack (1.0.0)
35
+ bigdecimal
27
36
  rexml
28
- diff-lcs (1.5.0)
29
- docile (1.4.0)
30
- domain_name (0.5.20190701)
31
- unf (>= 0.0.5, < 1.0.0)
32
- ffi (1.15.5)
33
- ffi-compiler (1.0.1)
34
- ffi (>= 1.0.0)
37
+ diff-lcs (1.5.1)
38
+ docile (1.4.1)
39
+ domain_name (0.6.20240107)
40
+ drb (2.2.1)
41
+ ffi (1.17.0)
42
+ ffi-compiler (1.3.2)
43
+ ffi (>= 1.15.5)
35
44
  rake
36
- hashdiff (1.0.1)
37
- http (5.1.0)
45
+ hashdiff (1.1.1)
46
+ http (5.2.0)
38
47
  addressable (~> 2.8)
48
+ base64 (~> 0.1)
39
49
  http-cookie (~> 1.0)
40
50
  http-form_data (~> 2.2)
41
- llhttp-ffi (~> 0.4.0)
42
- http-cookie (1.0.5)
51
+ llhttp-ffi (~> 0.5.0)
52
+ http-cookie (1.0.7)
43
53
  domain_name (~> 0.5)
44
54
  http-form_data (2.3.0)
45
- i18n (1.12.0)
55
+ i18n (1.14.6)
46
56
  concurrent-ruby (~> 1.0)
47
- json (2.6.2)
48
- llhttp-ffi (0.4.0)
57
+ json (2.7.2)
58
+ language_server-protocol (3.17.0.3)
59
+ llhttp-ffi (0.5.0)
49
60
  ffi-compiler (~> 1.0)
50
61
  rake (~> 13.0)
51
- method_source (1.0.0)
52
- mime-types (3.4.1)
62
+ method_source (1.1.0)
63
+ mime-types (3.5.2)
53
64
  mime-types-data (~> 3.2015)
54
- mime-types-data (3.2022.0105)
55
- minitest (5.16.3)
65
+ mime-types-data (3.2024.0903)
66
+ minitest (5.25.1)
56
67
  multi_json (1.15.0)
57
- parallel (1.22.1)
58
- parser (3.1.2.1)
68
+ mutex_m (0.2.0)
69
+ parallel (1.26.3)
70
+ parser (3.3.5.0)
59
71
  ast (~> 2.4.1)
60
- pry (0.14.1)
72
+ racc
73
+ pry (0.14.2)
61
74
  coderay (~> 1.1)
62
75
  method_source (~> 1.0)
63
- public_suffix (5.0.0)
64
- rack (3.0.0)
76
+ public_suffix (6.0.1)
77
+ racc (1.8.1)
78
+ rack (3.1.7)
65
79
  rainbow (3.1.1)
66
- rake (13.0.6)
67
- regexp_parser (2.6.0)
80
+ rake (13.2.1)
81
+ regexp_parser (2.9.2)
68
82
  rest-client (1.6.7)
69
83
  mime-types (>= 1.16)
70
- rexml (3.2.5)
71
- rspec (3.12.0)
72
- rspec-core (~> 3.12.0)
73
- rspec-expectations (~> 3.12.0)
74
- rspec-mocks (~> 3.12.0)
75
- rspec-core (3.12.0)
76
- rspec-support (~> 3.12.0)
77
- rspec-expectations (3.12.0)
84
+ rexml (3.3.7)
85
+ rspec (3.13.0)
86
+ rspec-core (~> 3.13.0)
87
+ rspec-expectations (~> 3.13.0)
88
+ rspec-mocks (~> 3.13.0)
89
+ rspec-core (3.13.1)
90
+ rspec-support (~> 3.13.0)
91
+ rspec-expectations (3.13.3)
78
92
  diff-lcs (>= 1.2.0, < 2.0)
79
- rspec-support (~> 3.12.0)
80
- rspec-mocks (3.12.0)
93
+ rspec-support (~> 3.13.0)
94
+ rspec-mocks (3.13.1)
81
95
  diff-lcs (>= 1.2.0, < 2.0)
82
- rspec-support (~> 3.12.0)
83
- rspec-support (3.12.0)
84
- rubocop (1.35.1)
96
+ rspec-support (~> 3.13.0)
97
+ rspec-support (3.13.1)
98
+ rubocop (1.66.1)
85
99
  json (~> 2.3)
100
+ language_server-protocol (>= 3.17.0)
86
101
  parallel (~> 1.10)
87
- parser (>= 3.1.2.1)
102
+ parser (>= 3.3.0.2)
88
103
  rainbow (>= 2.2.2, < 4.0)
89
- regexp_parser (>= 1.8, < 3.0)
90
- rexml (>= 3.2.5, < 4.0)
91
- rubocop-ast (>= 1.20.1, < 2.0)
104
+ regexp_parser (>= 2.4, < 3.0)
105
+ rubocop-ast (>= 1.32.2, < 2.0)
92
106
  ruby-progressbar (~> 1.7)
93
- unicode-display_width (>= 1.4.0, < 3.0)
94
- rubocop-ast (1.23.0)
95
- parser (>= 3.1.1.0)
96
- rubocop-config-umbrellio (1.35.0.69)
97
- rubocop (~> 1.35.0)
98
- rubocop-performance (~> 1.14.0)
99
- rubocop-rails (~> 2.15.0)
107
+ unicode-display_width (>= 2.4.0, < 3.0)
108
+ rubocop-ast (1.32.3)
109
+ parser (>= 3.3.1.0)
110
+ rubocop-config-umbrellio (1.66.0.99)
111
+ rubocop (~> 1.66.0)
112
+ rubocop-factory_bot (~> 2.26.0)
113
+ rubocop-performance (~> 1.22.0)
114
+ rubocop-rails (~> 2.26.0)
100
115
  rubocop-rake (~> 0.6.0)
101
- rubocop-rspec (~> 2.12.0)
116
+ rubocop-rspec (~> 3.0.0)
102
117
  rubocop-sequel (~> 0.3.3)
103
- rubocop-performance (1.14.3)
104
- rubocop (>= 1.7.0, < 2.0)
105
- rubocop-ast (>= 0.4.0)
106
- rubocop-rails (2.15.2)
118
+ rubocop-factory_bot (2.26.1)
119
+ rubocop (~> 1.61)
120
+ rubocop-performance (1.22.1)
121
+ rubocop (>= 1.48.1, < 2.0)
122
+ rubocop-ast (>= 1.31.1, < 2.0)
123
+ rubocop-rails (2.26.1)
107
124
  activesupport (>= 4.2.0)
108
125
  rack (>= 1.1)
109
- rubocop (>= 1.7.0, < 2.0)
126
+ rubocop (>= 1.52.0, < 2.0)
127
+ rubocop-ast (>= 1.31.1, < 2.0)
110
128
  rubocop-rake (0.6.0)
111
129
  rubocop (~> 1.0)
112
- rubocop-rspec (2.12.1)
113
- rubocop (~> 1.31)
130
+ rubocop-rspec (3.0.5)
131
+ rubocop (~> 1.61)
114
132
  rubocop-sequel (0.3.4)
115
133
  rubocop (~> 1.0)
116
- ruby-progressbar (1.11.0)
117
- simplecov (0.21.2)
134
+ ruby-progressbar (1.13.0)
135
+ simplecov (0.22.0)
118
136
  docile (~> 1.1)
119
137
  simplecov-html (~> 0.11)
120
138
  simplecov_json_formatter (~> 0.1)
121
- simplecov-html (0.12.3)
139
+ simplecov-html (0.13.1)
122
140
  simplecov-lcov (0.8.0)
123
141
  simplecov_json_formatter (0.1.4)
124
142
  term-ansicolor (1.2.2)
125
143
  tins (~> 0.8)
126
144
  thor (0.18.1)
127
145
  tins (0.13.2)
128
- tzinfo (2.0.5)
146
+ tzinfo (2.0.6)
129
147
  concurrent-ruby (~> 1.0)
130
- unf (0.1.4)
131
- unf_ext
132
- unf_ext (0.0.8.2)
133
- unicode-display_width (2.3.0)
134
- webmock (3.18.1)
148
+ unicode-display_width (2.6.0)
149
+ webmock (3.23.1)
135
150
  addressable (>= 2.8.0)
136
151
  crack (>= 0.3.2)
137
152
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -153,4 +168,4 @@ DEPENDENCIES
153
168
  webmock
154
169
 
155
170
  BUNDLED WITH
156
- 2.3.25
171
+ 2.5.18
data/README.md CHANGED
@@ -46,6 +46,7 @@ Valid client options are:
46
46
  - `ssl_context` – ssl context for requests (an `OpenSSL::SSL::SSLContext` instance)
47
47
  - `timeout` – timeout for requests in seconds or hash like `{ read: 5, write: 5, connect: 1 }`
48
48
  - `follow` – enable following redirects (`true` or hash with options – e.g. `{ max_hops: 1, strict: false}`)
49
+ - `error_wrapper` – callback called on request exception, makes it possible to handle any error, default behavior: `raise error`
49
50
 
50
51
  All these options are passed to each request made by this client but can be overriden on per-request basis.
51
52
 
@@ -91,6 +92,7 @@ You can provide `on_complete`, `on_error` and `on_retry` callbacks like this:
91
92
  on_complete = -> (request, response, metadata) { ... }
92
93
  on_error = -> (request, error, metadata) { ... }
93
94
  on_retry = -> (request, error, metadata) { ... }
95
+ error_wrapper = -> (request, error, metadata) { raise error }
94
96
 
95
97
  client = EzClient.new(
96
98
  on_complete: on_complete,
@@ -98,6 +100,7 @@ client = EzClient.new(
98
100
  on_retry: on_retry,
99
101
  retry_exceptions: [StandardError],
100
102
  max_retries: 2,
103
+ error_wrapper: error_wrapper
101
104
  )
102
105
 
103
106
  response = client.perform!(:get, url, metadata: :hello)
data/bin/rspec CHANGED
@@ -15,7 +15,7 @@ ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
15
15
  bundle_binstub = File.expand_path("bundle", __dir__)
16
16
 
17
17
  if File.file?(bundle_binstub)
18
- if /This file was generated by Bundler/.match?(File.read(bundle_binstub, 300))
18
+ if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
19
19
  load(bundle_binstub)
20
20
  else
21
21
  abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
data/ezclient.gemspec CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require "ezclient/version"
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.required_ruby_version = ">= 2.7"
8
+ spec.required_ruby_version = ">= 3.0"
9
9
 
10
10
  spec.name = "ezclient"
11
11
  spec.version = EzClient::VERSION
@@ -19,16 +19,5 @@ Gem::Specification.new do |spec|
19
19
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^spec/}) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_runtime_dependency "http", ">= 4"
23
-
24
- spec.add_development_dependency "bundler"
25
- spec.add_development_dependency "coveralls"
26
- spec.add_development_dependency "pry"
27
- spec.add_development_dependency "rake"
28
- spec.add_development_dependency "rspec"
29
- spec.add_development_dependency "rubocop-config-umbrellio"
30
- spec.add_development_dependency "rubocop-rake"
31
- spec.add_development_dependency "simplecov"
32
- spec.add_development_dependency "simplecov-lcov"
33
- spec.add_development_dependency "webmock"
22
+ spec.add_dependency "http", ">= 4"
34
23
  end
@@ -15,6 +15,7 @@ class EzClient::Client
15
15
  ssl_context
16
16
  timeout
17
17
  follow
18
+ error_wrapper
18
19
  ].freeze
19
20
 
20
21
  def initialize(options = {})
@@ -23,12 +23,12 @@ class EzClient::Request
23
23
  def perform
24
24
  http_response = perform_request
25
25
 
26
- EzClient::Response.new(http_response).tap do |response|
26
+ EzClient::Response.new(http_response, http_request).tap do |response|
27
27
  on_complete.call(self, response, options[:metadata])
28
28
  end
29
29
  rescue => error
30
30
  on_error.call(self, error, options[:metadata])
31
- raise error
31
+ error_wrapper.call(self, error, options[:metadata])
32
32
  end
33
33
 
34
34
  def perform!
@@ -174,6 +174,10 @@ class EzClient::Request
174
174
  options[:follow].is_a?(Hash) ? options[:follow] : {}
175
175
  end
176
176
 
177
+ def error_wrapper
178
+ options[:error_wrapper] || proc { |_request, error, _metadata| raise error }
179
+ end
180
+
177
181
  def prepare_headers(headers)
178
182
  headers = HTTP::Headers.coerce(headers)
179
183
  headers[:user_agent] ||= "ezclient/#{EzClient::VERSION}"
@@ -1,10 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class EzClient::Response
4
- attr_accessor :http_response, :body
4
+ attr_accessor :http_response, :body, :http_request
5
5
 
6
- def initialize(http_response)
6
+ def initialize(http_response, http_request)
7
7
  self.http_response = http_response
8
+ self.http_request = http_request
8
9
  self.body = http_response.body.to_s # Make sure we read the body for persistent connection
9
10
  end
10
11
 
@@ -40,4 +41,8 @@ class EzClient::Response
40
41
  def error?
41
42
  client_error? || server_error?
42
43
  end
44
+
45
+ def to_s
46
+ inspect
47
+ end
43
48
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EzClient
4
- VERSION = "1.6.0"
4
+ VERSION = "1.7.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezclient
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuri Smirnov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-15 00:00:00.000000000 Z
11
+ date: 2024-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http
@@ -24,146 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4'
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: coveralls
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: pry
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: rspec
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: rubocop-config-umbrellio
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: rubocop-rake
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: simplecov
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
- - !ruby/object:Gem::Dependency
140
- name: simplecov-lcov
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- - !ruby/object:Gem::Dependency
154
- name: webmock
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - ">="
158
- - !ruby/object:Gem::Version
159
- version: '0'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: '0'
167
27
  description:
168
28
  email:
169
29
  - tycooon@yandex.ru
@@ -184,8 +44,6 @@ files:
184
44
  - bin/console
185
45
  - bin/rspec
186
46
  - ezclient.gemspec
187
- - gemfiles/http3.gemfile
188
- - gemfiles/http3.gemfile.lock
189
47
  - lib/ezclient.rb
190
48
  - lib/ezclient/check_options.rb
191
49
  - lib/ezclient/client.rb
@@ -207,14 +65,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
65
  requirements:
208
66
  - - ">="
209
67
  - !ruby/object:Gem::Version
210
- version: '2.7'
68
+ version: '3.0'
211
69
  required_rubygems_version: !ruby/object:Gem::Requirement
212
70
  requirements:
213
71
  - - ">="
214
72
  - !ruby/object:Gem::Version
215
73
  version: '0'
216
74
  requirements: []
217
- rubygems_version: 3.3.25
75
+ rubygems_version: 3.5.18
218
76
  signing_key:
219
77
  specification_version: 4
220
78
  summary: An HTTP gem wrapper for easy persistent connections and more.
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source "https://rubygems.org"
4
- gemspec path: ".."
5
-
6
- gem "http", "~> 3.0"
@@ -1,115 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- ezclient (1.0.0)
5
- http (>= 3)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- addressable (2.5.2)
11
- public_suffix (>= 2.0.2, < 4.0)
12
- ast (2.4.0)
13
- coderay (1.1.2)
14
- coveralls (0.7.2)
15
- multi_json (~> 1.3)
16
- rest-client (= 1.6.7)
17
- simplecov (>= 0.7)
18
- term-ansicolor (= 1.2.2)
19
- thor (= 0.18.1)
20
- crack (0.4.3)
21
- safe_yaml (~> 1.0.0)
22
- diff-lcs (1.3)
23
- docile (1.3.0)
24
- domain_name (0.5.20180417)
25
- unf (>= 0.0.5, < 1.0.0)
26
- hashdiff (0.3.7)
27
- http (3.3.0)
28
- addressable (~> 2.3)
29
- http-cookie (~> 1.0)
30
- http-form_data (~> 2.0)
31
- http_parser.rb (~> 0.6.0)
32
- http-cookie (1.0.3)
33
- domain_name (~> 0.5)
34
- http-form_data (2.1.0)
35
- http_parser.rb (0.6.0)
36
- json (2.1.0)
37
- method_source (0.9.0)
38
- mime-types (3.1)
39
- mime-types-data (~> 3.2015)
40
- mime-types-data (3.2016.0521)
41
- multi_json (1.13.1)
42
- parallel (1.12.1)
43
- parser (2.5.1.0)
44
- ast (~> 2.4.0)
45
- powerpack (0.1.1)
46
- pry (0.11.3)
47
- coderay (~> 1.1.0)
48
- method_source (~> 0.9.0)
49
- public_suffix (3.0.2)
50
- rainbow (3.0.0)
51
- rake (12.3.1)
52
- rest-client (1.6.7)
53
- mime-types (>= 1.16)
54
- rspec (3.7.0)
55
- rspec-core (~> 3.7.0)
56
- rspec-expectations (~> 3.7.0)
57
- rspec-mocks (~> 3.7.0)
58
- rspec-core (3.7.1)
59
- rspec-support (~> 3.7.0)
60
- rspec-expectations (3.7.0)
61
- diff-lcs (>= 1.2.0, < 2.0)
62
- rspec-support (~> 3.7.0)
63
- rspec-mocks (3.7.0)
64
- diff-lcs (>= 1.2.0, < 2.0)
65
- rspec-support (~> 3.7.0)
66
- rspec-support (3.7.1)
67
- rubocop (0.52.1)
68
- parallel (~> 1.10)
69
- parser (>= 2.4.0.2, < 3.0)
70
- powerpack (~> 0.1)
71
- rainbow (>= 2.2.2, < 4.0)
72
- ruby-progressbar (~> 1.7)
73
- unicode-display_width (~> 1.0, >= 1.0.1)
74
- rubocop-config-umbrellio (0.52.1.0)
75
- rubocop (= 0.52.1)
76
- rubocop-rspec (= 1.22.1)
77
- rubocop-rspec (1.22.1)
78
- rubocop (>= 0.52.1)
79
- ruby-progressbar (1.9.0)
80
- safe_yaml (1.0.4)
81
- simplecov (0.16.1)
82
- docile (~> 1.1)
83
- json (>= 1.8, < 3)
84
- simplecov-html (~> 0.10.0)
85
- simplecov-html (0.10.2)
86
- term-ansicolor (1.2.2)
87
- tins (~> 0.8)
88
- thor (0.18.1)
89
- tins (0.13.2)
90
- unf (0.1.4)
91
- unf_ext
92
- unf_ext (0.0.7.5)
93
- unicode-display_width (1.3.2)
94
- webmock (3.3.0)
95
- addressable (>= 2.3.6)
96
- crack (>= 0.3.2)
97
- hashdiff
98
-
99
- PLATFORMS
100
- ruby
101
-
102
- DEPENDENCIES
103
- bundler
104
- coveralls
105
- ezclient!
106
- http (~> 3.0)
107
- pry
108
- rake
109
- rspec
110
- rubocop-config-umbrellio
111
- simplecov
112
- webmock
113
-
114
- BUNDLED WITH
115
- 1.16.6