pkgsrc/www/ruby-rest-client/Makefile

18 lines
637 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.3 2015/03/28 04:12:16 taca Exp $
DISTNAME= rest-client-1.8.0
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/archiloque/rest-client
COMMENT= Simple HTTP and REST client for Ruby inspired by Sinatra
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-readline>=${RUBY_VERSION}:../../devel/ruby-readline
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
2015-03-13 18:36:10 +01:00
DEPENDS+= ${RUBY_PKGPREFIX}-mime-types>=1.16<3.0:../../mail/ruby-mime-types
DEPENDS+= ${RUBY_PKGPREFIX}-netrc>=0.7<1:../../net/ruby-netrc
DEPENDS+= ${RUBY_PKGPREFIX}-http-cookie>=1.0.2<2:../../www/ruby-http-cookie
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"