Commit graph

20 commits

Author SHA1 Message Date
taca
4c640ea005 www/ruby-faraday: update to 0.15.3
0.15.3 (2018/09/19)

* Make Faraday::Request serialisable with Marshal. (#803)
* Add DEFAULT_EXCEPTIONS constant to Request::Retry (#814)
* Add support for Ruby 2.6 Net::HTTP write_timeout (#824)

0.15.2 (2018/05/23)

* Prevents Net::HTTP adapters to retry request internally by setting
  max_retries to 0 if available (Ruby 2.5+). (#799)
* Fixes NestedParamsEncoder handling of empty array values (#801)

0.15.1 (2018/05/10)

* NetHttpPersistent adapter better reuse of SSL connections (#793)
* Refactor: inline cached_connection (#797)
* Logger middleware: use $stdout instead of STDOUT (#794)
* Fix: do not memoize/reuse Patron session (#796)

Also in this release:

* Allow setting min/max ssl version for Net::HTTP (#792)
* Allow setting min/max ssl version for Excon (#795)

0.15.0 (2018/04/19)

Features:

* Added retry block option to retry middleware. (#770)
* Retry middleware improvements (honour Retry-After header, retry statuses)
  (#773)
* Improve response logger middleware output (#784)

Fixes:

* Remove unused class error (#767)
* Fix minor typo in README (#760)
* Reuse persistent connections when using net-http-persistent (#778)
* Fix Retry middleware documentation (#781)
* Returns the http response when giving up on retrying by status (#783)
2018-09-23 16:51:55 +00:00
taca
6e1834dc98 www/ruby-faraday: update to 0.14.0
Faraday 0.14.0					2018/01/20

* If proxy is manually provided, this takes priority over find_proxy (#724)
* Allow overriding env proxy (#754)
* Fixes the behaviour for Excon's open_timeout (not setting write_timeout
  anymore) (#731)
* Remove Typhoeus adapter (#715)
* External Typhoeus Adapter Compatibility (#748)
* Warn about missing adapter when making a request (#743)
* Faraday::Adapter::Test stubs now support entire urls (with host) (#741)
* Handle all connection timeout messages in Patron (#687)
2018-03-17 16:15:07 +00:00
taca
facd14de62 Update ruby-faraday to 0.13.1.
0.13.1 (2017/8/18)

* Fixes an incompatibility with Addressable::URI being used as uri_parser

0.13.0 (2017/8/15)

* Dynamically reloads the proxy when performing a request on an absolute
  domain (#701)
* Prefer #hostname over #host. (#714)
* Adapter support for Net::HTTP::Persistent v3.0.0 (#619)
* Fixes an edge-case issue with response headers parsing (missing HTTP header)
  (#719)

0.12.2 (2017/07/21)

* Parse headers from aggregated proxy requests/responses (#681)
* Guard against invalid middleware configuration with warning (#685)
* Do not use :insecure option by default in Patron (#691)
* Fixes an issue with HTTPClient not raising a Faraday::ConnectionFailed
  (#702)
* Fixes YAML serialization/deserialization for Faraday::Utils::Headers (#690)
* Fixes an issue with Options having a nil value (#694)
* Fixes an issue with Faraday.default_connection not using
  Faraday.default_connection_options (#698)
* Fixes an issue with Options.merge! and Faraday instrumentation middleware
  (#710)
2017-09-11 14:52:27 +00:00
taca
5ae2967bd6 Update ruby-faraday to 0.12.1.
Faraday 0.12.1							2017/04/21

* Fix an issue with Patron tests failing on jruby
* Fix an issue with new rewind_files feature that was causing an exception
  when the body was not an Hash
* Expose wrapped_exception in all client errors
* Add Authentication Section to the ReadMe

Faraday 0.12.0.1						2017/04/02

 *Hotfix release to address an issue with TravisCI deploy on Rubygems

Faraday 0.12.0							2017/03/21

* Proxy feature now relies on Ruby URI::Generic#find_proxy and can use
  no_proxy ENV variable (not compatible with ruby < 2.0)
* Fix an issue with options that was causing new options to override defaults
  ones unexpectedly
* Rewind UploadIOs on retry to fix a compatibility issue
* Make multipart boundary unique
* Adds support for context request option to pass arbitrary information to
  middlewares
* Improvements in README.md
2017-04-22 17:02:48 +00:00
tsutsui
b895018387 Update ruby-faraday to 0.11.0.
No upstream changelog.
2017-02-05 01:04:40 +00:00
taca
98d16c6760 Update ruby-faraday to 0.9.2.
Faraday 0.9.2

Adapters:

* Enable gzip compression for httpclient
* Fixes default certificate store for httpclient not having default paths.
* Make excon adapter compatible with 0.44 excon version
* Add compatibility with Patron 0.4.20
* Determine default port numbers in Net::HTTP adapters (Addressable
  compatibility)
* em-http: wrap "connection closed by server" as ConnectionFailed type
* Wrap Errno::ETIMEDOUT in Faraday::Error::TimeoutError

Utils:

* Add Rack-compatible support for parsing a[][b]=c nested queries
* Encode nil values in queries different than empty strings. Before: a=; now:
  a.
* Have Faraday::Utils::Headers#replace clear internal key cache
* Dup the internal key cache when a Headers hash is copied

Env and middleware:

* Ensure env stored on middleware response has reference to the response
* Ensure that Response properties are initialized during on_complete (VCR
  compatibility)
* Copy request options in Faraday::Connection#dup
* Env custom members should be copied by Env.from(env)
* Honour per-request request.options.params_encoder
* Fix interval_randomness data type for Retry middleware
* Add maximum interval option for Retry middleware
2015-12-13 15:34:14 +00:00
agc
b9b754e081 Add SHA512 digests for distfiles for www category
Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 02:46:46 +00:00
joerg
6baf6b322c Revert, taca adjusted the problematic package. 2015-06-08 23:23:38 +00:00
joerg
fbe475b08b Dependency doesn't support Ruby 2.2, so restrict here as well. 2015-06-08 23:15:46 +00:00
taca
01ab22e11b Allow this package build on Ruby 2.2. 2015-06-07 16:07:42 +00:00
hiramatsu
333d96379d Set MAINTAINER to pkgsrc-users. 2015-03-15 18:31:52 +00:00
obache
f2e0ce7873 Update ruby-faraday to 0.9.1.
# Faraday Changelog

## v0.9.1

* Refactor Net:HTTP adapter so that with_net_http_connection can be overridden to allow pooled connections. (@Ben-M)
* Add configurable methods that bypass `retry_if` in the Retry request middleware.  (@mike-bourgeous)
2015-01-31 12:49:45 +00:00
taca
238996d5e9 Allow build with ruby21. 2014-03-26 14:27:22 +00:00
obache
ebfed7363f Update Faraday to 0.9.0.
## v0.9.0

* Add HTTPClient adapter (@hakanensari)
* Improve Retry handler (@mislav)
* Remove autoloading by default (@technoweenie)
* Improve internal docs (@technoweenie, @mislav)
* Respect user/password in http proxy string (@mislav)
* Adapter options are structs.  Reinforces consistent options across adapters
  (@technoweenie)
* Stop stripping trailing / off base URLs in a Faraday::Connection. (@technoweenie)
* Add a configurable URI parser. (@technoweenie)
* Remove need to manually autoload when using the authorization header helpers on `Faraday::Connection`. (@technoweenie)
* `Faraday::Adapter::Test` respects the `Faraday::RequestOptions#params_encoder` option. (@technoweenie)
2014-01-17 08:36:59 +00:00
obache
5e1a06b341 Update faraday gem to 0.8.9.
compatibility fixes for Ruby 2.1.0 and 1.8.7.
2014-01-14 08:41:44 +00:00
obache
5eeb8ed67e Update ruby-faraday to 0.8.8.
bug fixes and some improvements.
2013-08-01 12:53:26 +00:00
obache
0c73f8d4dc Update ruby-faraday to 0.8.7.
* fix escape Unicode characters in Ruby 1.8.7
2013-04-07 11:18:57 +00:00
obache
923e962b98 fix HOMEPAGE url. 2013-02-27 01:30:32 +00:00
obache
917fa46f1f Update ruby-faraday to 0.8.6.
no summarized changes.
2013-02-26 10:46:35 +00:00
obache
a5a64000c1 Import ruby-faraday-0.8.4 as www/ruby-faraday.
Faraday is an HTTP client lib that provides a common interface over many
adapters (such as Net::HTTP) and embraces the concept of Rack middleware when
processing the request/response cycle.
2013-01-26 08:50:53 +00:00