apimatic_faraday_client_adapter 0.1.4 → 0.1.6
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 +4 -4
- data/README.md +10 -6
- data/lib/apimatic-faraday-client-adapter/faraday_client.rb +1 -0
- metadata +36 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 824f023cd90860e859a633e782f8430a362e1bc78df98d035c7340abc4aa48d3
|
4
|
+
data.tar.gz: 29b00bdfc26498f20fefb77bee2435719f10508c25c7ad275b9ef9b84842eea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6502b718c5c0386cd0b77bd5ca90b3aff83580bcb8bc580cd885861295b785dffce190101702bd1895af0678f07368086c4128548a356a9b6879481c3ffaf701
|
7
|
+
data.tar.gz: 901ff8f3dcf0771c3b07105a99c9cc82bbe7f4d3202516f9ce6ff5e2e4cdcb870279d126910ea8536297c1a2e5192ccb37bbadceb9e5cad8ed05407d83e84ebb
|
data/README.md
CHANGED
@@ -3,8 +3,9 @@
|
|
3
3
|
[](https://badge.fury.io/rb/apimatic_faraday_client_adapter)
|
4
4
|
[![Tests][test-badge]][test-url]
|
5
5
|
[![Linting][lint-badge]][lint-url]
|
6
|
-
[![
|
7
|
-
[![
|
6
|
+
[![Test Coverage][coverage-badge]][coverage-url]
|
7
|
+
[![Maintainability Rating][maintainability-badge]][maintainability-url]
|
8
|
+
[![Vulnerabilities][vulnerabilities-badge]][vulnerabilities-url]
|
8
9
|
[](https://github.com/rubocop/rubocop)
|
9
10
|
[![Licence][license-badge]][license-url]
|
10
11
|
|
@@ -12,7 +13,7 @@
|
|
12
13
|
This repository contains the client implementation that uses the faraday client library for the ruby SDKs provided by APIMatic.
|
13
14
|
|
14
15
|
## Version supported
|
15
|
-
Currently APIMatic supports `2.6 <= Ruby version <= 3.
|
16
|
+
Currently APIMatic supports `2.6 <= Ruby version <= 3.3` hence faraday-client-adapter will need the same versions to be supported.
|
16
17
|
|
17
18
|
## Installation
|
18
19
|
Installation is quite simple, just execute the following command:
|
@@ -47,8 +48,11 @@ gem 'apimatic_faraday_client_adapter'
|
|
47
48
|
[test-url]: https://github.com/apimatic/faraday-client-adapter/actions/workflows/test-runner.yml
|
48
49
|
[lint-badge]: https://github.com/apimatic/faraday-client-adapter/actions/workflows/lint-runner.yml/badge.svg
|
49
50
|
[lint-url]: https://github.com/apimatic/faraday-client-adapter/actions/workflows/lint-runner.yml
|
50
|
-
[
|
51
|
-
[
|
52
|
-
[
|
51
|
+
[coverage-badge]: https://sonarcloud.io/api/project_badges/measure?project=apimatic_faraday-client-adapter&metric=coverage
|
52
|
+
[coverage-url]: https://sonarcloud.io/summary/new_code?id=apimatic_faraday-client-adapter
|
53
|
+
[maintainability-badge]: https://sonarcloud.io/api/project_badges/measure?project=apimatic_faraday-client-adapter&metric=sqale_rating
|
54
|
+
[maintainability-url]: https://sonarcloud.io/summary/new_code?id=apimatic_faraday-client-adapter
|
55
|
+
[vulnerabilities-badge]: https://sonarcloud.io/api/project_badges/measure?project=apimatic_faraday-client-adapter&metric=vulnerabilities
|
56
|
+
[vulnerabilities-url]: https://sonarcloud.io/summary/new_code?id=apimatic_faraday-client-adapter
|
53
57
|
[license-badge]: https://img.shields.io/badge/licence-MIT-blue
|
54
58
|
[license-url]: LICENSE
|
@@ -45,6 +45,7 @@ module CoreLibrary
|
|
45
45
|
faraday.adapter client_configuration.adapter
|
46
46
|
faraday.options[:params_encoder] = Faraday::FlatParamsEncoder
|
47
47
|
faraday.options[:timeout] = client_configuration.timeout if client_configuration.timeout.positive?
|
48
|
+
faraday.proxy = client_configuration.proxy_settings&.to_h
|
48
49
|
end
|
49
50
|
end
|
50
51
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apimatic_faraday_client_adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- APIMatic Ltd.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apimatic_core_interfaces
|
@@ -76,16 +76,22 @@ dependencies:
|
|
76
76
|
name: faraday-gzip
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
78
78
|
requirements:
|
79
|
-
- - "
|
79
|
+
- - ">="
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '1
|
81
|
+
version: '1'
|
82
|
+
- - "<"
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '4'
|
82
85
|
type: :runtime
|
83
86
|
prerelease: false
|
84
87
|
version_requirements: !ruby/object:Gem::Requirement
|
85
88
|
requirements:
|
86
|
-
- - "
|
89
|
+
- - ">="
|
87
90
|
- !ruby/object:Gem::Version
|
88
|
-
version: '1
|
91
|
+
version: '1'
|
92
|
+
- - "<"
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '4'
|
89
95
|
- !ruby/object:Gem::Dependency
|
90
96
|
name: faraday-retry
|
91
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -196,6 +202,26 @@ dependencies:
|
|
196
202
|
- - "~>"
|
197
203
|
- !ruby/object:Gem::Version
|
198
204
|
version: 0.21.2
|
205
|
+
- !ruby/object:Gem::Dependency
|
206
|
+
name: webrick
|
207
|
+
requirement: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - "~>"
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '1.3'
|
212
|
+
- - ">="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: 1.3.1
|
215
|
+
type: :development
|
216
|
+
prerelease: false
|
217
|
+
version_requirements: !ruby/object:Gem::Requirement
|
218
|
+
requirements:
|
219
|
+
- - "~>"
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '1.3'
|
222
|
+
- - ">="
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: 1.3.1
|
199
225
|
description: Faraday is a simple, yet elegant, HTTP library. This repository contains
|
200
226
|
the client implementation that uses the requests library for python SDK provided
|
201
227
|
by APIMatic.
|
@@ -212,7 +238,7 @@ homepage: https://apimatic.io
|
|
212
238
|
licenses:
|
213
239
|
- MIT
|
214
240
|
metadata: {}
|
215
|
-
post_install_message:
|
241
|
+
post_install_message:
|
216
242
|
rdoc_options: []
|
217
243
|
require_paths:
|
218
244
|
- lib
|
@@ -227,8 +253,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
227
253
|
- !ruby/object:Gem::Version
|
228
254
|
version: '0'
|
229
255
|
requirements: []
|
230
|
-
rubygems_version: 3.4.
|
231
|
-
signing_key:
|
256
|
+
rubygems_version: 3.4.19
|
257
|
+
signing_key:
|
232
258
|
specification_version: 4
|
233
259
|
summary: An adapter for faraday client library consumed by the SDKs generated with
|
234
260
|
APIMatic.
|