faraday-gzip 1.0.0-java → 2.0.0-java

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: 02db240267d5516b8d1f24367dd7117ec77fcaa65b5a1009c1be347cdf129aa4
4
- data.tar.gz: fa8c0dc6ee7de09af3bcdadcb12da10f6dcda31f0fb16e0468517cb3198bbe0c
3
+ metadata.gz: fbe8f1b1d03d97821f4807de8b3f41d3e985afc35b8775644406d3bf0210d91c
4
+ data.tar.gz: 6eb84c80010fec2561ebf1a84b3624ca17fc227c6b8c7bd4490c2123967d1674
5
5
  SHA512:
6
- metadata.gz: 8aa173f7e4836a945c8dea7fecfd94b6b0ff694a3d49005ee946ac30e29cad09c18f39838f1822981987e8ee1c2e6b157b60e1e4e4854ebf232d4f7588214dca
7
- data.tar.gz: 6130653202bfe8f6cdd38d76a4c93c6f8b0fe829920080bfaf277f152739dfb0b8e1b80f6ed1e4d68b796eb9d8e7b4d2939675224a134b236f9b351396e49409
6
+ metadata.gz: 169f88d19682583634bbff1b44e6740307cded86d1b824bc8eb75da7d4660e6401e01de7f16d462f2d9bc13065d3a42a87794956152372f5f19cdd01f08081bd
7
+ data.tar.gz: b6fd3660a3b5b1da2c68ea6fc19a055f18453eb1dbb2e44df983f245a59525165f983a6a8eda57c6f7fe273d236683a9a30872bd93ec3d5431b59eb4b1db00a6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0 (21-Jul-2023)
4
+
5
+ * Use zlib version 3
6
+
3
7
  ## 1.0.0 (27-Dec-2022)
4
8
 
5
9
  * Added support for JRuby (thanks, @ashkulz)
data/README.md CHANGED
@@ -3,7 +3,11 @@
3
3
  ![CI](https://github.com/bodrovis/faraday-gzip/actions/workflows/ci.yaml/badge.svg)
4
4
  [![Gem](https://img.shields.io/gem/v/faraday-gzip.svg?style=flat-square)](https://rubygems.org/gems/faraday-gzip)
5
5
 
6
- The `Gzip` middleware adds the necessary `Accept-Encoding` headers and automatically decompresses the response. If the "Accept-Encoding" header wasn't set in the request, this sets it to "gzip,deflate" and appropriately handles the compressed response from the server. This resembles what Ruby does internally in Net::HTTP#get. If [Brotli](https://github.com/miyucy/brotli) is added to the Gemfile, it will also add "br" to the header.
6
+ The `Gzip` middleware for Faraday 1 and 2 adds the necessary `Accept-Encoding` headers and automatically decompresses the response. If the "Accept-Encoding" header wasn't set in the request, this sets it to "gzip,deflate" and appropriately handles the compressed response from the server. This resembles what Ruby does internally in Net::HTTP#get. If [Brotli](https://github.com/miyucy/brotli) is added to the Gemfile, it will also add "br" to the header.
7
+
8
+ ## Prerequisites
9
+
10
+ This gem is tested with Ruby 2.6+ and JRuby 9.3+. Faraday 1 and 2 is supported.
7
11
 
8
12
  ## Installation
9
13
 
@@ -28,10 +32,10 @@ gem install faraday-gzip
28
32
  ## Usage
29
33
 
30
34
  ```ruby
31
- require 'faraday/gzip'
35
+ require 'faraday/gzip' # <=== add this line
32
36
 
33
37
  conn = Faraday.new(...) do |f|
34
- f.request :gzip
38
+ f.request :gzip # <=== add this line
35
39
  #...
36
40
  end
37
41
  ```
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module Gzip
5
- VERSION = '1.0.0'
5
+ VERSION = '2.0.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-gzip
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: java
6
6
  authors:
7
7
  - Ilya Krukowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-27 00:00:00.000000000 Z
11
+ date: 2023-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -158,7 +158,7 @@ licenses:
158
158
  metadata:
159
159
  bug_tracker_uri: https://github.com/bodrovis/faraday-gzip/issues
160
160
  changelog_uri: https://github.com/bodrovis/faraday-gzip/blob/master/CHANGELOG.md
161
- documentation_uri: http://www.rubydoc.info/gems/faraday-gzip/1.0.0
161
+ documentation_uri: http://www.rubydoc.info/gems/faraday-gzip/2.0.0
162
162
  homepage_uri: https://github.com/bodrovis/faraday-gzip
163
163
  source_code_uri: https://github.com/bodrovis/faraday-gzip
164
164
  rubygems_mfa_required: 'true'
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  - !ruby/object:Gem::Version
181
181
  version: '0'
182
182
  requirements: []
183
- rubygems_version: 3.4.1
183
+ rubygems_version: 3.3.26
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Automatically sets compression headers and decompresses the response