async-http-faraday 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6754e975558fbf1480ebf74ec990e82a8537751de269b054c7b7aea23b8a80db
4
- data.tar.gz: bc0b9afcea1f32460f44dc45170c4de556a0549898ff8d80215cafbb47838856
3
+ metadata.gz: d167212f7b791a530da392a052068d2642156f8062251169739ff1bef0a5d374
4
+ data.tar.gz: 8b8bcaa9d413b6f675966bae48d513b4eb3978ea94cca42e00249ff4f7789ebc
5
5
  SHA512:
6
- metadata.gz: 548a1b223ff55ee0e79a84004185c829ca9f1704da97ef62e0cb2345c82d83d324ca8eddc5f469b976a8ee3c5bf301bef94ad8564379e214b65fc103fba27bee
7
- data.tar.gz: 8b70b6e79e179d6defcdeeb128e14ad90180aed8b15a0e6fedd831612e9221923ee092cb5b67d8b46327189ec4f2415c75e63747b3656eda0758ca31d982c2ab
6
+ metadata.gz: 2d33b185f9aa3b54a7df0d9371010f98f71bf5aac6852abf911a833fda842ec191d06ab8fb4658e035303a6fa1ed1c9c593441033420d36878533ed1d93f6ced
7
+ data.tar.gz: c2e224e91b79058e5636e93ead6a47c972e1e6519c0fb4b84ba1cfcb7996c7645ad1afbd3aa180b15e3b81ae32146c000b0bbc86f4998e0963508a07fb236d6a
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Provides an adaptor for [Faraday] to perform async HTTP requests. If you are designing a new library, you should probably just use `Async::HTTP::Client` directly.
4
4
 
5
- [![Build Status](https://secure.travis-ci.org/socketry/async-http-faraday.svg)](http://travis-ci.org/socketry/async-http-faraday)
5
+ [![Build Status](https://travis-ci.com/socketry/async-http-faraday.svg?branch=master)](https://travis-ci.com/socketry/async-http-faraday)
6
6
  [![Code Climate](https://codeclimate.com/github/socketry/async-http-faraday.svg)](https://codeclimate.com/github/socketry/async-http-faraday)
7
7
  [![Coverage Status](https://coveralls.io/repos/socketry/async-http-faraday/badge.svg)](https://coveralls.io/r/socketry/async-http-faraday)
8
8
 
@@ -65,13 +65,12 @@ module Async
65
65
  Sync do
66
66
  with_timeout do
67
67
  response = @internet.call(env[:method].to_s.upcase, env[:url].to_s, env[:request_headers], env[:body] || [])
68
-
68
+
69
69
  save_response(env, response.status, response.read, response.headers)
70
70
  end
71
71
  ensure
72
72
  # If we are the top level task, even if we are persistent, we must close the connection:
73
73
  if parent.nil? || !@persistent
74
- Async.logger.debug(self) {"Closing persistent connections."}
75
74
  @internet.close
76
75
  end
77
76
  end
@@ -21,7 +21,7 @@
21
21
  module Async
22
22
  module HTTP
23
23
  module Faraday
24
- VERSION = "0.8.0"
24
+ VERSION = "0.8.1"
25
25
  end
26
26
  end
27
27
  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.8.0
4
+ version: 0.8.1
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-08 00:00:00.000000000 Z
11
+ date: 2020-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-http