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

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


Branch: CURRENT, Version: 0.9.1, Package name: ruby23-patron-0.9.1, 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]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: e5b21d2b5c854d7b75d01cf96869c656d2c6ae32
RMD160: a6db370913e14597d4e4d9b86010a5b7bc30c647
Filesize: 58.5 KB

Version history: (Expand)


CVS history: (Expand)


   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
   2017-01-01 17:06:40 by Adam Ciarcinski | Files touched by this commit (616) | Package updated
Log message:
Revbump after boost update
   2016-10-18 18:02:47 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-patron to 0.8.0.

### 0.8.0

* Add `Response#inspectable_body`, `Response#decoded_body`. `decoded_body` will \ 
atempt to decode
  the HTTP response into your internal encoding, using the charset header that \ 
the server has
  provided. Note that this operation may fail - if the server said that the body \ 
is in a certain
  encoding, but this is then overridden with, say, `meta` elements in the HTML \ 
Patron is _not_
  going to parse the HTML to figure out how to decode.

### 0.7.0

* Allow Ruby File objects to be passed as `data` to `Session#put`, `Sesion#post` etc.

### 0.6.5

* Prevent libCURL from doing requests to non-HTTP/HTTPS URLs, and from following \ 
redirects to such URLs

### 0.6.4

* Set the default User-Agent string, since some sites require it (like the \ 
Github API).
* Add Response#ok? and Response#error? for cleaner branching on the returned \ 
Response objects
* Explain a segfault with SSL in forked processes on OSX, document the way to \ 
avoid the issue
* Fix segfault when attempting multiple post requests with multipart (#119)

### 0.6.3

* Fix timeout when uploading a body using all verbs except POST
* Add PATCH HTTP verb support
* Populate the curl state object from the reader methods of `Request`

### 0.6.1

* Fix compilation on older versions of libCURL
* Fix cookie jar files not being saved after request
* Reformat the gem documentation to YARD, document a few behaviors

### 0.6.0

* Add `Patron::Session#automatic_content_encoding` for automatic deflate \ 
handling via `Accept`/`Content-Encoding`

### 0.5.1

* Allow customizing the class used for the response (now uses \ 
`Session#response_class` to determine the class at runtime)
* Do not fail body decoding if the charset name set in the header is invalid
   2016-10-07 20:26:14 by Adam Ciarcinski | Files touched by this commit (611) | Package updated
Log message:
Revbump post boost update
   2016-03-15 18:00:30 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-patron to 0.5.1.

* Cast request body to string when uploading
* Add the ability to override the Response class
* Ensure the form data is freed in cleanup
* Don't fail with invalid charset names
   2016-03-05 12:29:49 by Jonathan Perkin | Files touched by this commit (1813) | Package updated
Log message:
Bump PKGREVISION for security/openssl ABI bump.