async-http-cache 0.3.0 → 0.4.0

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: 533b151a2683c0394fdab5d6948380152636f30f7eae85b5442a7dfe08c0039e
4
- data.tar.gz: 002b42c3b6f1e3a871a870fd94b1697f0ca19c3761021224e9cc301a16aa8bbe
3
+ metadata.gz: 17173f66af03c869ff56b8dd197565e230d10899eee2d3da2f18685ca670e892
4
+ data.tar.gz: 1d6b1a438c596bdca021820f69dd86f02bcca593ffd771ab7912feb8f2f530a4
5
5
  SHA512:
6
- metadata.gz: bbee2bef91a871bb45d2161ee37a77d6db22690925e6894ed568b3617734eebe0996e77fd8cdfe74c34215857a21a3a6edc788cf7abb8288a9055f434d9e8b95
7
- data.tar.gz: 396c077f925cc2359072f9da2244783c43eaa6a8cc87988dc79c1330f0ca5328b7b57a665fafc98d7718bc4dde14a08067133bee5786b6c7143a06fbd0f14b66
6
+ metadata.gz: 43ab1d479efa3d86814c73241ba78281ea3ce7fa125fde7393556ba1529192608da09979dc6e895e81621531beaf132195fb993d72638a35c38489e4f6436f37
7
+ data.tar.gz: 79e4aaf2b574eab58253a92e5dc55b0f526733ad3335f035f3b07b91a3f1e54bc4e039e047d1c31da4484e41c132607888edc4c44ef8734bdb31c4ee87a86d8a
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_dependency "async-http", "~> 0.53"
24
+ spec.add_dependency "async-http", "~> 0.56"
25
25
 
26
26
  spec.add_development_dependency "async-rspec", "~> 1.10"
27
27
 
@@ -28,7 +28,7 @@ module Async
28
28
  module HTTP
29
29
  module Cache
30
30
  module Body
31
- TRAILERS = 'trailers'
31
+ TRAILER = 'trailer'
32
32
  ETAG = 'etag'
33
33
 
34
34
  def self.wrap(response, &block)
@@ -47,7 +47,7 @@ module Async
47
47
  end
48
48
 
49
49
  # Ensure the etag is listed as a trailer:
50
- response.headers.add(TRAILERS, ETAG)
50
+ response.headers.add(TRAILER, ETAG)
51
51
  end
52
52
 
53
53
  # Wrap the response with the callback:
@@ -23,7 +23,7 @@
23
23
  module Async
24
24
  module HTTP
25
25
  module Cache
26
- VERSION = "0.3.0"
26
+ VERSION = "0.4.0"
27
27
  end
28
28
  end
29
29
  end
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.3.0
4
+ version: 0.4.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-11-15 00:00:00.000000000 Z
11
+ date: 2021-04-23 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.53'
19
+ version: '0.56'
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.53'
26
+ version: '0.56'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: async-rspec
29
29
  requirement: !ruby/object:Gem::Requirement