chimera_http_client 1.1.1 → 1.1.2
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.markdown +5 -1
- data/TODO.markdown +10 -1
- data/chimera_http_client.gemspec +11 -2
- data/lib/chimera_http_client/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c0909ba0cb053a18ffbbe0c81e866f61692b7eadb86cf790e97e5ab8178dbb69
|
|
4
|
+
data.tar.gz: 2583f9ea44ef1d2868cb8b421e680795cb474bccc4ef3e0a006c3c02135d3f17
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b193b7ed042727cc5a9c8b937cd7542b743a0f6530f47be8e842484be19cfc2edd9c9756564d3eb683d3875a65c84aefb482abb9df6d54a8c4d634c106337227
|
|
7
|
+
data.tar.gz: ad18499c13ad4bc2ca9a02a1ae52f99ca559c2dff880e19553968d06e2bd7da5ab65b258f07d58767759e08974438c050fd7f4c17b17bdc1e89a71f47208b484
|
data/README.markdown
CHANGED
|
@@ -7,6 +7,7 @@ And what works for the internal communication between your own apps, will also w
|
|
|
7
7
|
It offers an **easy to learn interface** and **nice error handling**. And it enables you to **queue HTTP requests to run them in parallel** for better performance and simple aggregating of distributed data.
|
|
8
8
|
|
|
9
9
|
[](https://travis-ci.com/mediafinger/chimera_http_client)
|
|
10
|
+
[](https://badge.fury.io/rb/chimera_http_client)
|
|
10
11
|
|
|
11
12
|
## Dependencies
|
|
12
13
|
|
|
@@ -387,7 +388,10 @@ When updating the version, do not forget to run
|
|
|
387
388
|
|
|
388
389
|
After checking out the repo, run `bundle install` and then `bundle execute rake` to run the **tests and rubocop**.
|
|
389
390
|
|
|
390
|
-
> The test suite uses a Sinatra server to make real HTTP requests. It is mounted via Capybara_discoball and running in the same process.
|
|
391
|
+
> The test suite uses a Sinatra server to make real HTTP requests. It is mounted via Capybara_discoball and running in the same process. It is still running reasonably fast (on my MacBook Air):
|
|
392
|
+
|
|
393
|
+
Finished in 2.01 seconds (files took 1.09 seconds to load)
|
|
394
|
+
824 examples, 0 failures, 7 pending
|
|
391
395
|
|
|
392
396
|
You can also run `rake console` to open an irb session with the `ChimeraHttpClient` pre-loaded that will allow you to experiment.
|
|
393
397
|
|
data/TODO.markdown
CHANGED
|
@@ -39,7 +39,16 @@ _none known_
|
|
|
39
39
|
### Miscellaneous
|
|
40
40
|
|
|
41
41
|
- [ ] Determine by parameter if 3xx Redirects should be handled as an Error or not
|
|
42
|
-
- [
|
|
42
|
+
- [x] ~~Add a longer description to the gemspec file~~
|
|
43
|
+
|
|
44
|
+
### Instrumentation
|
|
45
|
+
|
|
46
|
+
- [ ] allow to pass object to collect metrics for monitoring
|
|
47
|
+
- [ ] request URL
|
|
48
|
+
- [ ] request resonse code
|
|
49
|
+
- [ ] request datetime
|
|
50
|
+
- [ ] request runtime
|
|
51
|
+
- [ ] add example to README
|
|
43
52
|
|
|
44
53
|
### Enable more Typhoeus functionality
|
|
45
54
|
|
data/chimera_http_client.gemspec
CHANGED
|
@@ -3,13 +3,22 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
3
3
|
require "chimera_http_client/version"
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
|
+
spec.required_ruby_version = ">= 2.5.0" # without Deserializer's `rescue` in block it would be 2.4.4 (because of zeitwerk)
|
|
7
|
+
|
|
6
8
|
spec.name = "chimera_http_client"
|
|
7
9
|
spec.version = ChimeraHttpClient::VERSION
|
|
8
10
|
spec.authors = ["Andreas Finger"]
|
|
9
11
|
spec.email = ["webmaster@mediafinger.com"]
|
|
10
12
|
|
|
11
|
-
spec.summary = "
|
|
12
|
-
spec.description =
|
|
13
|
+
spec.summary = "General http client functionality to quickly connect to JSON REST API endpoints and any others"
|
|
14
|
+
spec.description = <<~DESCRIPTION
|
|
15
|
+
The Chimera http client offers an easy to learn interface and consistent error handling.
|
|
16
|
+
It is lightweight, fast and enables you to queue HTTP requests to run them in parallel
|
|
17
|
+
for better performance and simple aggregating of distributed data. Despite it's simple
|
|
18
|
+
interface it allows for advanced features like using custom deserializers, loggers,
|
|
19
|
+
caching requests individiually, and instrumentation support (soon to be implemented).
|
|
20
|
+
DESCRIPTION
|
|
21
|
+
|
|
13
22
|
spec.homepage = "https://github.com/mediafinger/chimera_http_client"
|
|
14
23
|
spec.license = "MIT"
|
|
15
24
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chimera_http_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andreas Finger
|
|
@@ -220,7 +220,12 @@ dependencies:
|
|
|
220
220
|
- - "~>"
|
|
221
221
|
- !ruby/object:Gem::Version
|
|
222
222
|
version: '3.0'
|
|
223
|
-
description:
|
|
223
|
+
description: |
|
|
224
|
+
The Chimera http client offers an easy to learn interface and consistent error handling.
|
|
225
|
+
It is lightweight, fast and enables you to queue HTTP requests to run them in parallel
|
|
226
|
+
for better performance and simple aggregating of distributed data. Despite it's simple
|
|
227
|
+
interface it allows for advanced features like using custom deserializers, loggers,
|
|
228
|
+
caching requests individiually, and instrumentation support (soon to be implemented).
|
|
224
229
|
email:
|
|
225
230
|
- webmaster@mediafinger.com
|
|
226
231
|
executables: []
|
|
@@ -259,7 +264,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
259
264
|
requirements:
|
|
260
265
|
- - ">="
|
|
261
266
|
- !ruby/object:Gem::Version
|
|
262
|
-
version:
|
|
267
|
+
version: 2.5.0
|
|
263
268
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
264
269
|
requirements:
|
|
265
270
|
- - ">="
|
|
@@ -269,5 +274,6 @@ requirements: []
|
|
|
269
274
|
rubygems_version: 3.0.3
|
|
270
275
|
signing_key:
|
|
271
276
|
specification_version: 4
|
|
272
|
-
summary:
|
|
277
|
+
summary: General http client functionality to quickly connect to JSON REST API endpoints
|
|
278
|
+
and any others
|
|
273
279
|
test_files: []
|