faraday-gzip 0.1.0.rc1 → 0.1.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: '051489969db6aaa4791f080d6128042153c109f0e12ff479aa183a84f97410aa'
4
- data.tar.gz: e077af7059120447e3e108743b7b39a9be75e2e75674e4d0a52471956678857c
3
+ metadata.gz: 80c26e09d166892a031c4cdfab53c898e87ec793124cf65562809fa0e0943501
4
+ data.tar.gz: fcb6c5ea1f358b0ab19869eb911760421a3f23037760b23746fc700ffdee63f2
5
5
  SHA512:
6
- metadata.gz: 31cfe83b44cd5ec13f2eb86ab4769ac4c18d11676104528cbac006f5e88ab6c71056ff91c8be1e978693b15957cb41a8420aa0bcc99170354ff7a66f9769987a
7
- data.tar.gz: f617a27db54e84099aeed3db1fd671a4c80c3b9c83883b904cee142eb186d90a1eb9325aaae2c807e83022027af74dc1fc9b8405c32a81128151ea29b5fa49bb
6
+ metadata.gz: f1e6e52c81ad69a4b508f0b786ebf96022b21fb9154703a12138c794d957122906728a3f565ee05a906b9474b0c28c81fc276979a78068671f19e838f4b056c1
7
+ data.tar.gz: 24a6277baa6cd34620b08f3d0e12e71deb7a198c1b849cc87f0ddc443e0d09061c8e1ba5c5685a53bd2f6ba7830936616d93db02feae7113de2894608bb2c084
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0 (04-Feb-2022)
4
+
5
+ * First stable release.
6
+
3
7
  ## 0.1.0.rc1
4
8
 
5
9
  * Initial release.
data/README.md CHANGED
@@ -1,10 +1,9 @@
1
1
  # Faraday Gzip
2
2
 
3
- [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/lostisland/faraday-gzip/ci)](https://github.com/lostisland/faraday-gzip/actions?query=branch%3Amain)
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
- [![License](https://img.shields.io/github/license/lostisland/faraday-gzip.svg?style=flat-square)](LICENSE.md)
6
5
 
7
- 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 is added to the Gemfile, it will also add "br" to the header.
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.
8
7
 
9
8
  ## Installation
10
9
 
@@ -8,6 +8,7 @@ module Faraday
8
8
  # "Accept-Encoding" header wasn't set in the request, this sets it to
9
9
  # "gzip,deflate" and appropriately handles the compressed response from the
10
10
  # server. This resembles what Ruby 1.9+ does internally in Net::HTTP#get.
11
+ # Based on https://github.com/lostisland/faraday_middleware/blob/main/lib/faraday_middleware/gzip.rb
11
12
 
12
13
  class Middleware < Faraday::Middleware
13
14
  def self.optional_dependency(lib = nil)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Faraday
4
4
  module Gzip
5
- VERSION = '0.1.0.rc1'
5
+ VERSION = '0.1.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faraday-gzip
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.rc1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ilya Bodrov-Krukowski
@@ -166,16 +166,15 @@ files:
166
166
  - lib/faraday/gzip.rb
167
167
  - lib/faraday/gzip/middleware.rb
168
168
  - lib/faraday/gzip/version.rb
169
- homepage: https://github.com/lostisland/faraday-gzip
169
+ homepage: https://github.com/bodrovis/faraday-gzip
170
170
  licenses:
171
171
  - MIT
172
172
  metadata:
173
- bug_tracker_uri: https://github.com/lostisland/faraday-gzip/issues
174
- changelog_uri: https://github.com/lostisland/faraday-gzip/blob/v0.1.0.rc1/CHANGELOG.md
175
- documentation_uri: http://www.rubydoc.info/gems/faraday-gzip/0.1.0.rc1
176
- homepage_uri: https://github.com/lostisland/faraday-gzip
177
- source_code_uri: https://github.com/lostisland/faraday-gzip
178
- wiki_uri: https://github.com/lostisland/faraday-gzip/wiki
173
+ bug_tracker_uri: https://github.com/bodrovis/faraday-gzip/issues
174
+ changelog_uri: https://github.com/bodrovis/faraday-gzip/blob/master/CHANGELOG.md
175
+ documentation_uri: http://www.rubydoc.info/gems/faraday-gzip/0.1.0
176
+ homepage_uri: https://github.com/bodrovis/faraday-gzip
177
+ source_code_uri: https://github.com/bodrovis/faraday-gzip
179
178
  rubygems_mfa_required: 'true'
180
179
  post_install_message:
181
180
  rdoc_options: []
@@ -191,9 +190,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
191
190
  version: '4'
192
191
  required_rubygems_version: !ruby/object:Gem::Requirement
193
192
  requirements:
194
- - - ">"
193
+ - - ">="
195
194
  - !ruby/object:Gem::Version
196
- version: 1.3.1
195
+ version: '0'
197
196
  requirements: []
198
197
  rubygems_version: 3.3.5
199
198
  signing_key: