./www/ruby-patron, Ruby HTTP client library based on libcurl

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.13.1nb1, Package name: ruby24-patron-0.13.1nb1, Maintainer: pkgsrc-users

Patron is a Ruby HTTP client library based on libcurl. It does not try
to expose the full "power" (read complexity) of libcurl but instead
tries to provide a sane API while taking advantage of libcurl under
the hood.


Required to run:
[www/curl] [lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 1f60efc64b1b734addf8bb1d4ff83248823ffe58
RMD160: 75ac2c990a948eeaf96e05b5cd220323315975f1
Filesize: 63 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-16 20:55:17 by Adam Ciarcinski | Files touched by this commit (653) | Package updated
Log message:
revbump after boost-libs update
   2018-05-06 04:26:35 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-patron: update to 0.13.0

### 0.13.0

* Permit timeouts to be set as a Float of seconds and use \ 
`CURLOPT_(CONNECT)TIMEOUT_MS` instead of `CURLOPT_(CONNECT)TIMEOUT` so that
  sub-second timeouts can be configured, which is useful for performant services \ 
using accelerated DNS resolution.
* Remove the restriction that `Session#timeout` should be non-zero - a timeout \ 
set to 0 means "no timeout" in libCURL
   2018-04-29 23:32:09 by Adam Ciarcinski | Files touched by this commit (629) | Package updated
Log message:
revbump for boost-libs update
   2018-03-17 15:43:29 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
www/ruby-patron: update to 0.12.1

### 0.12.1

* Ensure HTTP2 response headers/status lines are correctly handled

### 0.12.0

* Replace StringScanner in HeaderParser with StringIO, fix Webmock regression \ 
when the headers string would
  not have an empty CRLF-terminated line at the end - which would cause the \ 
parser to return a nil.
* Added `Session#dns_cache_timeout` as a config option for CURLOPT_DNS_CACHE_TIMEOUT

### 0.11.1

* Make sure StringScanner is available to HeaderParser.

### 0.11.0

* Added `Session#progress_callback` which accepts a callable object, which can \ 
be used to report session progress during request
  execution.
* Fixed parsing of response headers when multiple responses are involved \ 
(redirect chains and HTTP proxies)

### 0.10.0

* Added `Session#low_speed_time` and `Session#low_speed_limit`. When used, they \ 
will force libCURL to raise
  a timeout if a certain speed limit is not met performing the request. These \ 
can be used for better timeout
  handling. These are available in all libCURL versions. See \ 
https://curl.haxx.se/libcurl/c/CURLOPT_ … _TIME.html
  and https://curl.haxx.se/libcurl/c/CURLOPT_ … LIMIT.html
   2018-01-01 22:18:57 by Adam Ciarcinski | Files touched by this commit (629) | Package updated
Log message:
Revbump after boost update
   2017-09-11 17:35:37 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-patron to 0.9.1.

### 0.9.1

o Added ssl_version options `TLSv1_1`, `TLSv1_2`, `TLSv1_3` for explicitly
  forcing the SSL version

    * requires the appropriate versions of libCURL and OpenSSL installed to
      support these new options
    * reference: https://curl.haxx.se/libcurl/c/CURLOPT_SSLVERSION.html

o Added a new `:http_version` option with `HTTPv1_1` and `HTTPv2_0` values to
  explicitly set the HTTP version of HTTP/1.1 or HTTP/2.0

    * requires the appropriate versions of libCURL and OpenSSL installed to
      support these new options
    * reference: https://curl.haxx.se/libcurl/c/CURLOPT_ … RSION.html

o Updates the gem release procedure for more convenience, using the updated
  Rubygems.org tasks

o Update a few minor dependencies and documentation to be Ruby
  2.4.1-compatible, add 2.4.1. to Travis CI matrix

o Add `Session#download_byte_limit` for limiting the permitted download size.

  This can be very useful in dealing with untrusted download sources, which
  might attempt to send very large responses that would overwhelm the
  receiving client.

o Add `Patron.libcurl_version_exact` which returns a triplet of major, minor
  and patch libCURL version numbers. This can be used for more fine-grained
  matching when using some more esoteric Curl features which might not
  necessarily be available on libCURL Patron has been linked against.
   2017-08-24 22:03:43 by Adam Ciarcinski | Files touched by this commit (621) | Package updated
Log message:
Revbump for boost update
   2017-04-30 03:22:04 by Ryo ONODERA | Files touched by this commit (612) | Package updated
Log message:
Recursive revbump from boost update