async-http-cache 0.2.0 → 0.3.0
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/async-http-cache.gemspec +1 -1
- data/lib/async/http/cache/body.rb +2 -2
- data/lib/async/http/cache/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 533b151a2683c0394fdab5d6948380152636f30f7eae85b5442a7dfe08c0039e
|
4
|
+
data.tar.gz: 002b42c3b6f1e3a871a870fd94b1697f0ca19c3761021224e9cc301a16aa8bbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbee2bef91a871bb45d2161ee37a77d6db22690925e6894ed568b3617734eebe0996e77fd8cdfe74c34215857a21a3a6edc788cf7abb8288a9055f434d9e8b95
|
7
|
+
data.tar.gz: 396c077f925cc2359072f9da2244783c43eaa6a8cc87988dc79c1330f0ca5328b7b57a665fafc98d7718bc4dde14a08067133bee5786b6c7143a06fbd0f14b66
|
data/async-http-cache.gemspec
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
# THE SOFTWARE.
|
22
22
|
|
23
23
|
require 'protocol/http/body/rewindable'
|
24
|
-
require 'protocol/http/body/
|
24
|
+
require 'protocol/http/body/completable'
|
25
25
|
require 'protocol/http/body/digestable'
|
26
26
|
|
27
27
|
module Async
|
@@ -51,7 +51,7 @@ module Async
|
|
51
51
|
end
|
52
52
|
|
53
53
|
# Wrap the response with the callback:
|
54
|
-
::Protocol::HTTP::Body::
|
54
|
+
::Protocol::HTTP::Body::Completable.wrap(response) do |error|
|
55
55
|
if error
|
56
56
|
Async.logger.error(self) {error}
|
57
57
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: async-http-cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: async-http
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.53'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.53'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: async-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,7 +94,7 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
-
description:
|
97
|
+
description:
|
98
98
|
email:
|
99
99
|
- samuel.williams@oriontransfer.co.nz
|
100
100
|
executables: []
|
@@ -119,7 +119,7 @@ homepage: https://github.com/socketry/async-http-cache
|
|
119
119
|
licenses:
|
120
120
|
- MIT
|
121
121
|
metadata: {}
|
122
|
-
post_install_message:
|
122
|
+
post_install_message:
|
123
123
|
rdoc_options: []
|
124
124
|
require_paths:
|
125
125
|
- lib
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
version: '0'
|
136
136
|
requirements: []
|
137
137
|
rubygems_version: 3.1.2
|
138
|
-
signing_key:
|
138
|
+
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: Standard-compliant cache for async-http.
|
141
141
|
test_files: []
|