my_api_client 0.5.2 → 0.5.3
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/Gemfile.lock +1 -1
- data/lib/my_api_client/error_handling.rb +2 -0
- data/lib/my_api_client/request.rb +1 -0
- data/lib/my_api_client/version.rb +1 -1
- data/my_api_client.gemspec +2 -3
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5a9f9115532dc935f506308465aa7d0fcab38b347aeb3694501a39136e54b339
|
|
4
|
+
data.tar.gz: fd05661eccd1e5d970de6ad0323845580d0929919c528ddcc7f1cc4fdaf2212a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d346886c4ff7ae526b1ddf2f8d0212edb8db32f0e09fb0d54068e39dc9435b85a347d585c2abfb2c301c3908a050b3fd392237df96858858c30b6fba73c1587
|
|
7
|
+
data.tar.gz: 887e47f816f9657d0f3ace557a35530fbf3f2be4eef1162f39dd614114cb55023a43e6882435a36fc6b552b3e186e71ac2938dcca8e5c395c0077e9831e0dc55
|
data/Gemfile.lock
CHANGED
|
@@ -16,6 +16,7 @@ module MyApiClient
|
|
|
16
16
|
def _request(http_method, pathname, headers, query, body, logger)
|
|
17
17
|
processed_path = [common_path, pathname].join('/').gsub('//', '/')
|
|
18
18
|
request_params = Params::Request.new(http_method, processed_path, headers, query, body)
|
|
19
|
+
agent # Initializes for faraday
|
|
19
20
|
request_logger = Logger.new(logger, faraday, http_method, processed_path)
|
|
20
21
|
call(:_execute, request_params, request_logger)
|
|
21
22
|
end
|
data/my_api_client.gemspec
CHANGED
|
@@ -10,9 +10,8 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
spec.authors = ['ryz310']
|
|
11
11
|
spec.email = ['ryz310@gmail.com']
|
|
12
12
|
|
|
13
|
-
spec.summary = '
|
|
14
|
-
spec.description = 'Provides error handling,
|
|
15
|
-
'to your API Client'
|
|
13
|
+
spec.summary = 'The framework of Web API Client'
|
|
14
|
+
spec.description = 'Provides features error handling, retrying and so on.'
|
|
16
15
|
spec.homepage = 'https://github.com/ryz310/my_api_client'
|
|
17
16
|
spec.license = 'MIT'
|
|
18
17
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: my_api_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ryz310
|
|
@@ -220,7 +220,7 @@ dependencies:
|
|
|
220
220
|
- - ">="
|
|
221
221
|
- !ruby/object:Gem::Version
|
|
222
222
|
version: '0'
|
|
223
|
-
description: Provides error handling,
|
|
223
|
+
description: Provides features error handling, retrying and so on.
|
|
224
224
|
email:
|
|
225
225
|
- ryz310@gmail.com
|
|
226
226
|
executables: []
|
|
@@ -291,5 +291,5 @@ requirements: []
|
|
|
291
291
|
rubygems_version: 3.0.3
|
|
292
292
|
signing_key:
|
|
293
293
|
specification_version: 4
|
|
294
|
-
summary:
|
|
294
|
+
summary: The framework of Web API Client
|
|
295
295
|
test_files: []
|