async-http-faraday 0.8.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/README.md +8 -0
- data/examples/topics.rb +1 -0
- data/lib/async/http/faraday.rb +2 -0
- data/lib/async/http/faraday/adapter.rb +2 -0
- data/lib/async/http/faraday/agent.rb +2 -0
- data/lib/async/http/faraday/default.rb +25 -0
- data/lib/async/http/faraday/version.rb +3 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 543e11733a663d5fd57986ff137c0133331b4f762b559c319ce1177dbc8e31e4
|
4
|
+
data.tar.gz: fe09ce734a351803655f1f0a425eba6fa984bd54d07a6b6a3143aff46e9efa74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9fffa1b0acebcb1afbb5f94038f341ea40f52fb8241f4fcd64b33ca8109e0008b02bf33101ec9e1cd5914b5395fdf21dce4df5837c4aff72fca75144b9fa12f
|
7
|
+
data.tar.gz: ad7db9fe88686d2f5b229b77387be280751744046bff62f87580cb6e6ac21d1633e0e69ccc73ad1da4fbea6cc8ecdaa194f6c37fded6652874542a9cbee0200b
|
data/Gemfile
CHANGED
data/README.md
CHANGED
data/examples/topics.rb
CHANGED
data/lib/async/http/faraday.rb
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright, 2020, by Samuel G. D. Williams. <http://www.codeotaku.com>
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the "Software"), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in
|
13
|
+
# all copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
# THE SOFTWARE.
|
22
|
+
|
23
|
+
require_relative 'adapter'
|
24
|
+
|
25
|
+
::Faraday.default_adapter = :async_http
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# Copyright, 2018, by Samuel G. D. Williams. <http://www.codeotaku.com>
|
2
4
|
#
|
3
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
@@ -21,7 +23,7 @@
|
|
21
23
|
module Async
|
22
24
|
module HTTP
|
23
25
|
module Faraday
|
24
|
-
VERSION = "0.
|
26
|
+
VERSION = "0.9.0"
|
25
27
|
end
|
26
28
|
end
|
27
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http-faraday
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http
|
@@ -126,6 +126,7 @@ files:
|
|
126
126
|
- lib/async/http/faraday.rb
|
127
127
|
- lib/async/http/faraday/adapter.rb
|
128
128
|
- lib/async/http/faraday/agent.rb
|
129
|
+
- lib/async/http/faraday/default.rb
|
129
130
|
- lib/async/http/faraday/version.rb
|
130
131
|
homepage: https://github.com/socketry/async-http
|
131
132
|
licenses: []
|