= Changes in 2.2.5 = May 06, 2012 - version 2.2.5 * Bug fixes * Added Magic encoding comment to hexdump.rb to avoid encoding error. * Add workaround for JRuby issue on Windows (JRUBY-6136) On Windows, calling File#size fails with an Unknown error (20047). This workaround uses File#lstat instead. * Require open-uri only on ruby 1.9, since it is not needed on 1.8. * Features * Allow symbol Header name for HTTP request. * Dump more SSL certificate information under $DEBUG. * Add HTTPClient::SSLConfig#ssl_version property. * Add 'Accept: */*' header to request by default. Rails requies it. It doesn't override given Accept header from API. * Add HTTPClient::SSLConfig#set_default_paths. This method makes HTTPClient instance to use OpenSSL's default trusted CA certificates. * Allow to set Date header manually. ex. clent.get(uri, :header => {'Date' => Time.now.httpdate})
20 lines
449 B
Makefile
20 lines
449 B
Makefile
# $NetBSD: Makefile,v 1.9 2012/05/07 00:20:47 obache Exp $
|
|
#
|
|
|
|
DISTNAME= httpclient-2.2.5
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= https://github.com/nahi/httpclient
|
|
COMMENT= HTTP accessing library for Ruby
|
|
LICENSE= ruby-license
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
# OK with ruby-1.9 buitin one, but not with ruby18's one.
|
|
RUBY_RDOC_REQD= 2.5.8
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|