pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-patron Update ruby-patron to 0.8.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/966bed369a19
branches:  trunk
changeset: 353993:966bed369a19
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Oct 18 16:02:47 2016 +0000

description:
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

diffstat:

 www/ruby-patron/Makefile |   5 ++---
 www/ruby-patron/PLIST    |   6 +++++-
 www/ruby-patron/distinfo |  10 +++++-----
 3 files changed, 12 insertions(+), 9 deletions(-)

diffs (54 lines):

diff -r 2c52b27859b8 -r 966bed369a19 www/ruby-patron/Makefile
--- a/www/ruby-patron/Makefile  Tue Oct 18 15:57:00 2016 +0000
+++ b/www/ruby-patron/Makefile  Tue Oct 18 16:02:47 2016 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2016/10/07 18:26:13 adam Exp $
+# $NetBSD: Makefile,v 1.24 2016/10/18 16:02:47 taca Exp $
 
-DISTNAME=      patron-0.5.1
-PKGREVISION=   1
+DISTNAME=      patron-0.8.0
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 2c52b27859b8 -r 966bed369a19 www/ruby-patron/PLIST
--- a/www/ruby-patron/PLIST     Tue Oct 18 15:57:00 2016 +0000
+++ b/www/ruby-patron/PLIST     Tue Oct 18 16:02:47 2016 +0000
@@ -1,10 +1,13 @@
-@comment $NetBSD: PLIST,v 1.11 2015/03/13 17:14:02 taca Exp $
+@comment $NetBSD: PLIST,v 1.12 2016/10/18 16:02:47 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/gem.build_complete
 ${GEM_EXTSDIR}/patron/session_ext.${RUBY_DLEXT}
 ${GEM_LIBDIR}/.autotest
 ${GEM_LIBDIR}/.gitignore
 ${GEM_LIBDIR}/.rspec
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/.yardopts
+${GEM_LIBDIR}/CHANGELOG.md
 ${GEM_LIBDIR}/Gemfile
 ${GEM_LIBDIR}/Gemfile.lock
 ${GEM_LIBDIR}/LICENSE
@@ -21,6 +24,7 @@
 ${GEM_LIBDIR}/lib/patron/proxy_type.rb
 ${GEM_LIBDIR}/lib/patron/request.rb
 ${GEM_LIBDIR}/lib/patron/response.rb
+${GEM_LIBDIR}/lib/patron/response_decoding.rb
 ${GEM_LIBDIR}/lib/patron/session.rb
 ${GEM_LIBDIR}/lib/patron/session_ext.${RUBY_DLEXT}
 ${GEM_LIBDIR}/lib/patron/util.rb
diff -r 2c52b27859b8 -r 966bed369a19 www/ruby-patron/distinfo
--- a/www/ruby-patron/distinfo  Tue Oct 18 15:57:00 2016 +0000
+++ b/www/ruby-patron/distinfo  Tue Oct 18 16:02:47 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.13 2016/03/15 17:00:29 taca Exp $
+$NetBSD: distinfo,v 1.14 2016/10/18 16:02:47 taca Exp $
 
-SHA1 (patron-0.5.1.gem) = aba41ac5153549a7ee004ec5072dc35569133d09
-RMD160 (patron-0.5.1.gem) = 15a663d261fee3aa2690a57eac2aef527df2b83f
-SHA512 (patron-0.5.1.gem) = d47549ae1712f25e0d15bc2e1e32de6ad3084da4f0149013c4cf50dd92ccb7c01024831ef6df7c4acb78ed3923cde95e3f36a5ef8430d3f103ebb7f5906dd0fd
-Size (patron-0.5.1.gem) = 45056 bytes
+SHA1 (patron-0.8.0.gem) = bb1cbae8e051fbe98e452d4c4fe739e68bebafb9
+RMD160 (patron-0.8.0.gem) = 80b9b36874905a06355c76d20c4c6942fa3f1bff
+SHA512 (patron-0.8.0.gem) = 43d6ae99aa3db3c5dabd2c3ec7fe5371a204d6e6ccec2c50b0cc126878b0db583e8a266b2b8e0f3ce7cdfde046bd36622e26d653e7ccae7b493ec924021b5f16
+Size (patron-0.8.0.gem) = 57856 bytes



Home | Main Index | Thread Index | Old Index