pkgsrc/www/ruby-rest-client/PLIST
taca 636a760173 www/ruby-rest-client: update to 2.1.0
Update to ruby-rest-client to 2.1.0.


# 2.1.0

- Add a dependency on http-accept for parsing Content-Type charset headers.
  This works around a bad memory leak introduced in MRI Ruby 2.4.0 and fixed in
  Ruby 2.4.2. (#615)
- Use mime/types/columnar from mime-types 2.6.1+, which is leaner in memory
  usage than the older storage model of mime-types. (#393)
- Add `:log` option to individual requests. This allows users to set a log on a
  per-request / per-resource basis instead of the kludgy global log. (#538)
- Log request duration by tracking request start and end times. Make
  `log_response` a method on the Response object, and ensure the `size` method
  works on RawResponse objects. (#126)
  - `# => 200 OK | text/html 1270 bytes, 0.08s`
  - Also add a new `:stream_log_percent` parameter, which is applicable only
    when `:raw_response => true` is set. This causes progress logs to be
    emitted only on every N% (default 10%) of the total download size rather
    than on every chunk.
- Drop custom handling of compression and use built-in Net::HTTP support for
  supported Content-Encodings like gzip and deflate. Don't set any explicit
  `Accept-Encoding` header, rely instead on Net::HTTP defaults. (#597)
  - Note: this changes behavior for compressed responses when using
    `:raw_response => true`. Previously the raw response would not have been
    uncompressed by rest-client, but now Net::HTTP will uncompress it.
- The previous fix to avoid having Netrc username/password override an
  Authorization header was case-sensitive and incomplete. Fix this by
  respecting existing Authorization headers, regardless of letter case. (#550)
- Handle ParamsArray payloads. Previously, rest-client would silently drop a
  ParamsArray passed as the payload. Instead, automatically use
  Payload::Multipart if the ParamsArray contains a file handle, or use
  Payload::UrlEncoded if it doesn't. (#508)
- Gracefully handle Payload objects (Payload::Base or subclasses) that are
  passed as a payload argument. Previously, `Payload.generate` would wrap a
  Payload object in Payload::Streamed, creating a pointlessly nested payload.
  Also add a `closed?` method to Payload objects, and don't error in
  `short_inspect` if `size` returns nil. (#603)
- Test with an image in the public domain to avoid licensing complexity. (#607)
2020-03-20 17:48:25 +00:00

67 lines
2.6 KiB
Plaintext

@comment $NetBSD: PLIST,v 1.4 2020/03/20 17:48:25 taca Exp $
bin/restclient${RUBY_SUFFIX}
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gitignore
${GEM_LIBDIR}/.mailmap
${GEM_LIBDIR}/.rspec
${GEM_LIBDIR}/.rubocop
${GEM_LIBDIR}/.rubocop-disables.yml
${GEM_LIBDIR}/.rubocop.yml
${GEM_LIBDIR}/.travis.yml
${GEM_LIBDIR}/AUTHORS
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/bin/restclient
${GEM_LIBDIR}/history.md
${GEM_LIBDIR}/lib/rest-client.rb
${GEM_LIBDIR}/lib/rest_client.rb
${GEM_LIBDIR}/lib/restclient.rb
${GEM_LIBDIR}/lib/restclient/abstract_response.rb
${GEM_LIBDIR}/lib/restclient/exceptions.rb
${GEM_LIBDIR}/lib/restclient/params_array.rb
${GEM_LIBDIR}/lib/restclient/payload.rb
${GEM_LIBDIR}/lib/restclient/platform.rb
${GEM_LIBDIR}/lib/restclient/raw_response.rb
${GEM_LIBDIR}/lib/restclient/request.rb
${GEM_LIBDIR}/lib/restclient/resource.rb
${GEM_LIBDIR}/lib/restclient/response.rb
${GEM_LIBDIR}/lib/restclient/utils.rb
${GEM_LIBDIR}/lib/restclient/version.rb
${GEM_LIBDIR}/lib/restclient/windows.rb
${GEM_LIBDIR}/lib/restclient/windows/root_certs.rb
${GEM_LIBDIR}/rest-client.gemspec
${GEM_LIBDIR}/rest-client.windows.gemspec
${GEM_LIBDIR}/spec/ISS.jpg
${GEM_LIBDIR}/spec/helpers.rb
${GEM_LIBDIR}/spec/integration/_lib.rb
${GEM_LIBDIR}/spec/integration/capath_digicert/3513523f.0
${GEM_LIBDIR}/spec/integration/capath_digicert/399e7759.0
${GEM_LIBDIR}/spec/integration/capath_digicert/README
${GEM_LIBDIR}/spec/integration/capath_digicert/digicert.crt
${GEM_LIBDIR}/spec/integration/capath_verisign/415660c1.0
${GEM_LIBDIR}/spec/integration/capath_verisign/7651b327.0
${GEM_LIBDIR}/spec/integration/capath_verisign/README
${GEM_LIBDIR}/spec/integration/capath_verisign/verisign.crt
${GEM_LIBDIR}/spec/integration/certs/digicert.crt
${GEM_LIBDIR}/spec/integration/certs/verisign.crt
${GEM_LIBDIR}/spec/integration/httpbin_spec.rb
${GEM_LIBDIR}/spec/integration/integration_spec.rb
${GEM_LIBDIR}/spec/integration/request_spec.rb
${GEM_LIBDIR}/spec/spec_helper.rb
${GEM_LIBDIR}/spec/unit/_lib.rb
${GEM_LIBDIR}/spec/unit/abstract_response_spec.rb
${GEM_LIBDIR}/spec/unit/exceptions_spec.rb
${GEM_LIBDIR}/spec/unit/params_array_spec.rb
${GEM_LIBDIR}/spec/unit/payload_spec.rb
${GEM_LIBDIR}/spec/unit/raw_response_spec.rb
${GEM_LIBDIR}/spec/unit/request2_spec.rb
${GEM_LIBDIR}/spec/unit/request_spec.rb
${GEM_LIBDIR}/spec/unit/resource_spec.rb
${GEM_LIBDIR}/spec/unit/response_spec.rb
${GEM_LIBDIR}/spec/unit/restclient_spec.rb
${GEM_LIBDIR}/spec/unit/utils_spec.rb
${GEM_LIBDIR}/spec/unit/windows/root_certs_spec.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec