pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/ruby-rest-client Update ruby-rest-client to 1.7.3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7126586c20e6
branches:  trunk
changeset: 648334:7126586c20e6
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri Mar 13 17:36:10 2015 +0000

description:
Update ruby-rest-client to 1.7.3.

# 1.7.3

- Security: redact password in URI from logs (#349 / OSVDB-117461)
- Drop monkey patch on MIME::Types (added `type_for_extension` method, use
  the public interface instead.

# 1.7.2

- Ignore duplicate certificates in CA store on Windows

# 1.7.1

- Relax mime-types dependency to continue supporting mime-types 1.x series.
  There seem to be a large number of popular gems that have depended on
  mime-types '~> 1.16' until very recently.
- Improve urlencode performance
- Clean up a number of style points

# 1.7.0

- This release drops support for Ruby 1.8.7 and breaks compatibility in a few
  other relatively minor ways
- Upgrade to mime-types ~> 2.0
- Don't CGI.unescape cookie values sent to the server (issue #89)
- Add support for reading credentials from netrc
- Lots of SSL changes and enhancements: (#268)
  - Enable peer verification by default (setting `VERIFY_PEER` with OpenSSL)
  - By default, use the system default certificate store for SSL verification,
    even on Windows (this uses a separate Windows build that pulls in ffi)
  - Add support for SSL `ca_path`
  - Add support for SSL `cert_store`
  - Add support for SSL `verify_callback` (with some caveats for jruby, OS X, #277)
  - Add support for SSL ciphers, and choose secure ones by default
- Run tests under travis
- Several other bugfixes and test improvements
  - Convert Errno::ETIMEDOUT to RestClient::RequestTimeout
  - Handle more HTTP response codes from recent standards
  - Save raw responses to binary mode tempfile (#110)
  - Disable timeouts with :timeout => nil rather than :timeout => -1
  - Drop all Net::HTTP monkey patches

# 1.6.8

- The 1.6.x series will be the last to support Ruby 1.8.7
- Pin mime-types to < 2.0 to maintain Ruby 1.8.7 support
- Add Gemfile, AUTHORS, add license to gemspec
- Point homepage at https://github.com/rest-client/rest-client
- Clean up and fix various tests and ruby warnings
- Backport `ssl_verify_callback` functionality from 1.7.0

diffstat:

 www/ruby-rest-client/Makefile |   7 +++--
 www/ruby-rest-client/PLIST    |  51 +++++++++++++++++++++++++++++-------------
 www/ruby-rest-client/distinfo |   8 +++---
 3 files changed, 43 insertions(+), 23 deletions(-)

diffs (109 lines):

diff -r 27bee8dbc0ea -r 7126586c20e6 www/ruby-rest-client/Makefile
--- a/www/ruby-rest-client/Makefile     Fri Mar 13 17:33:13 2015 +0000
+++ b/www/ruby-rest-client/Makefile     Fri Mar 13 17:36:10 2015 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2014/06/03 14:06:49 jperkin Exp $
+# $NetBSD: Makefile,v 1.2 2015/03/13 17:36:10 taca Exp $
 
-DISTNAME=      rest-client-1.6.7
+DISTNAME=      rest-client-1.7.3
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -9,7 +9,8 @@
 LICENSE=        mit
 
 DEPENDS+=      ${RUBY_PKGPREFIX}-readline>=${RUBY_VERSION}:../../devel/ruby-readline
-DEPENDS+=      ${RUBY_PKGPREFIX}-mime-types>=1.16:../../mail/ruby-mime-types
+DEPENDS+=      ${RUBY_PKGPREFIX}-mime-types>=1.16<3.0:../../mail/ruby-mime-types
+DEPENDS+=      ${RUBY_PKGPREFIX}-netrc>=0.7<1:../../net/ruby-netrc
 
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 27bee8dbc0ea -r 7126586c20e6 www/ruby-rest-client/PLIST
--- a/www/ruby-rest-client/PLIST        Fri Mar 13 17:33:13 2015 +0000
+++ b/www/ruby-rest-client/PLIST        Fri Mar 13 17:36:10 2015 +0000
@@ -1,9 +1,14 @@
-@comment $NetBSD: PLIST,v 1.1 2014/06/03 14:06:49 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/03/13 17:36:10 taca Exp $
 bin/restclient
 ${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.rspec
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/AUTHORS
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
 ${GEM_LIBDIR}/README.rdoc
 ${GEM_LIBDIR}/Rakefile
-${GEM_LIBDIR}/VERSION
 ${GEM_LIBDIR}/bin/restclient
 ${GEM_LIBDIR}/history.md
 ${GEM_LIBDIR}/lib/rest-client.rb
@@ -11,25 +16,39 @@
 ${GEM_LIBDIR}/lib/restclient.rb
 ${GEM_LIBDIR}/lib/restclient/abstract_response.rb
 ${GEM_LIBDIR}/lib/restclient/exceptions.rb
-${GEM_LIBDIR}/lib/restclient/net_http_ext.rb
 ${GEM_LIBDIR}/lib/restclient/payload.rb
+${GEM_LIBDIR}/lib/restclient/platform.rb
 ${GEM_LIBDIR}/lib/restclient/raw_response.rb
 ${GEM_LIBDIR}/lib/restclient/request.rb
 ${GEM_LIBDIR}/lib/restclient/resource.rb
 ${GEM_LIBDIR}/lib/restclient/response.rb
-${GEM_LIBDIR}/spec/abstract_response_spec.rb
-${GEM_LIBDIR}/spec/base.rb
-${GEM_LIBDIR}/spec/exceptions_spec.rb
-${GEM_LIBDIR}/spec/integration/certs/equifax.crt
+${GEM_LIBDIR}/lib/restclient/version.rb
+${GEM_LIBDIR}/lib/restclient/windows.rb
+${GEM_LIBDIR}/lib/restclient/windows/root_certs.rb
+${GEM_LIBDIR}/rest-client.gemspec
+${GEM_LIBDIR}/rest-client.windows.gemspec
+${GEM_LIBDIR}/spec/integration/capath_digicert/244b5494.0
+${GEM_LIBDIR}/spec/integration/capath_digicert/81b9768f.0
+${GEM_LIBDIR}/spec/integration/capath_digicert/README
+${GEM_LIBDIR}/spec/integration/capath_digicert/digicert.crt
+${GEM_LIBDIR}/spec/integration/capath_verisign/415660c1.0
+${GEM_LIBDIR}/spec/integration/capath_verisign/7651b327.0
+${GEM_LIBDIR}/spec/integration/capath_verisign/README
+${GEM_LIBDIR}/spec/integration/capath_verisign/verisign.crt
+${GEM_LIBDIR}/spec/integration/certs/digicert.crt
 ${GEM_LIBDIR}/spec/integration/certs/verisign.crt
+${GEM_LIBDIR}/spec/integration/integration_spec.rb
 ${GEM_LIBDIR}/spec/integration/request_spec.rb
-${GEM_LIBDIR}/spec/integration_spec.rb
-${GEM_LIBDIR}/spec/master_shake.jpg
-${GEM_LIBDIR}/spec/payload_spec.rb
-${GEM_LIBDIR}/spec/raw_response_spec.rb
-${GEM_LIBDIR}/spec/request2_spec.rb
-${GEM_LIBDIR}/spec/request_spec.rb
-${GEM_LIBDIR}/spec/resource_spec.rb
-${GEM_LIBDIR}/spec/response_spec.rb
-${GEM_LIBDIR}/spec/restclient_spec.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/unit/abstract_response_spec.rb
+${GEM_LIBDIR}/spec/unit/exceptions_spec.rb
+${GEM_LIBDIR}/spec/unit/master_shake.jpg
+${GEM_LIBDIR}/spec/unit/payload_spec.rb
+${GEM_LIBDIR}/spec/unit/raw_response_spec.rb
+${GEM_LIBDIR}/spec/unit/request2_spec.rb
+${GEM_LIBDIR}/spec/unit/request_spec.rb
+${GEM_LIBDIR}/spec/unit/resource_spec.rb
+${GEM_LIBDIR}/spec/unit/response_spec.rb
+${GEM_LIBDIR}/spec/unit/restclient_spec.rb
+${GEM_LIBDIR}/spec/unit/windows/root_certs_spec.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 27bee8dbc0ea -r 7126586c20e6 www/ruby-rest-client/distinfo
--- a/www/ruby-rest-client/distinfo     Fri Mar 13 17:33:13 2015 +0000
+++ b/www/ruby-rest-client/distinfo     Fri Mar 13 17:36:10 2015 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2014/06/03 14:06:49 jperkin Exp $
+$NetBSD: distinfo,v 1.2 2015/03/13 17:36:10 taca Exp $
 
-SHA1 (rest-client-1.6.7.gem) = 76c377ce4efd901b2d5e9246a1d091bbf9b0a1f9
-RMD160 (rest-client-1.6.7.gem) = 1c299d2228708b10721a753a9d2fee9bac395789
-Size (rest-client-1.6.7.gem) = 58368 bytes
+SHA1 (rest-client-1.7.3.gem) = c080632d602ece2d8f1f579090da64234101c484
+RMD160 (rest-client-1.7.3.gem) = e4ede7aaa321aa9be5e4f1e80ba5a33781ba4b6c
+Size (rest-client-1.7.3.gem) = 124416 bytes



Home | Main Index | Thread Index | Old Index