summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca>2016-10-18 16:02:47 +0000
committertaca <taca>2016-10-18 16:02:47 +0000
commitf3d813835ce8d295c3a63facda47cd98f32a7daf (patch)
treea9f03619a9afb22641c4b19c3cf0d6646804f9de /www
parente7d1ccfeae2969018145b9f4bbf633113420126b (diff)
downloadpkgsrc-f3d813835ce8d295c3a63facda47cd98f32a7daf.tar.gz
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 (limited to 'www')
-rw-r--r--www/ruby-patron/Makefile5
-rw-r--r--www/ruby-patron/PLIST6
-rw-r--r--www/ruby-patron/distinfo10
3 files changed, 12 insertions, 9 deletions
diff --git a/www/ruby-patron/Makefile b/www/ruby-patron/Makefile
index bfb09be5056..733a85ab474 100644
--- a/www/ruby-patron/Makefile
+++ b/www/ruby-patron/Makefile
@@ -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
diff --git a/www/ruby-patron/PLIST b/www/ruby-patron/PLIST
index 451b57671b3..475639db202 100644
--- a/www/ruby-patron/PLIST
+++ b/www/ruby-patron/PLIST
@@ -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/error.rb
${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 --git a/www/ruby-patron/distinfo b/www/ruby-patron/distinfo
index 9b687435f5f..321aeff98b0 100644
--- a/www/ruby-patron/distinfo
+++ b/www/ruby-patron/distinfo
@@ -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