Add ruby-em-http-request package version 1.1.0.

# EM-HTTP-Request

Async (EventMachine) HTTP client, with support for:

- Asynchronous HTTP API for single & parallel request execution
- Keep-Alive and HTTP pipelining support
- Auto-follow 3xx redirects with max depth
- Automatic gzip & deflate decoding
- Streaming response processing
- Streaming file uploads
- HTTP proxy and SOCKS5 support
- Basic Auth & OAuth
- Connection-level & Global middleware support
- HTTP parser via [http_parser.rb](https://github.com/tmm1/http_parser.rb)
- Works wherever EventMachine runs: Rubinius, JRuby, MRI
This commit is contained in:
taca 2013-09-15 18:50:53 +00:00
parent 4b979f87c8
commit a4420161f7
4 changed files with 93 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# EM-HTTP-Request
Async (EventMachine) HTTP client, with support for:
- Asynchronous HTTP API for single & parallel request execution
- Keep-Alive and HTTP pipelining support
- Auto-follow 3xx redirects with max depth
- Automatic gzip & deflate decoding
- Streaming response processing
- Streaming file uploads
- HTTP proxy and SOCKS5 support
- Basic Auth & OAuth
- Connection-level & Global middleware support
- HTTP parser via [http_parser.rb](https://github.com/tmm1/http_parser.rb)
- Works wherever EventMachine runs: Rubinius, JRuby, MRI

View file

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2013/09/15 18:50:53 taca Exp $
DISTNAME= em-http-request-1.0.3
CATEGORIES= net
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://github.com/igrigorik/em-http-request
COMMENT= EventMachine based, async HTTP Request client
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-eventmachine>=1.0<2:../../devel/ruby-eventmachine
DEPENDS+= ${RUBY_PKGPREFIX}-addressable>=2.2.3:../../net/ruby-addressable
DEPENDS+= ${RUBY_PKGPREFIX}-http_parser.rb>=0.5.3:../../www/ruby-http_parser.rb
DEPENDS+= ${RUBY_PKGPREFIX}-em-socksify>=0:../../net/ruby-em-socksify
DEPENDS+= ${RUBY_PKGPREFIX}-cookiejar>=0:../../www/ruby-cookiejar
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,55 @@
@comment $NetBSD: PLIST,v 1.1 2013/09/15 18:50:53 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/.gemtest
${GEM_LIBDIR}/.gitignore
${GEM_LIBDIR}/.rspec
${GEM_LIBDIR}/Changelog.md
${GEM_LIBDIR}/Gemfile
${GEM_LIBDIR}/README.md
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/benchmarks/clients.rb
${GEM_LIBDIR}/benchmarks/em-excon.rb
${GEM_LIBDIR}/benchmarks/em-profile.gif
${GEM_LIBDIR}/benchmarks/em-profile.txt
${GEM_LIBDIR}/benchmarks/server.rb
${GEM_LIBDIR}/em-http-request.gemspec
${GEM_LIBDIR}/examples/.gitignore
${GEM_LIBDIR}/examples/fetch.rb
${GEM_LIBDIR}/examples/fibered-http.rb
${GEM_LIBDIR}/examples/multi.rb
${GEM_LIBDIR}/examples/oauth-tweet.rb
${GEM_LIBDIR}/examples/socks5.rb
${GEM_LIBDIR}/lib/em-http-request.rb
${GEM_LIBDIR}/lib/em-http.rb
${GEM_LIBDIR}/lib/em-http/client.rb
${GEM_LIBDIR}/lib/em-http/core_ext/bytesize.rb
${GEM_LIBDIR}/lib/em-http/decoders.rb
${GEM_LIBDIR}/lib/em-http/http_client_options.rb
${GEM_LIBDIR}/lib/em-http/http_connection.rb
${GEM_LIBDIR}/lib/em-http/http_connection_options.rb
${GEM_LIBDIR}/lib/em-http/http_encoding.rb
${GEM_LIBDIR}/lib/em-http/http_header.rb
${GEM_LIBDIR}/lib/em-http/http_status_codes.rb
${GEM_LIBDIR}/lib/em-http/middleware/json_response.rb
${GEM_LIBDIR}/lib/em-http/middleware/oauth.rb
${GEM_LIBDIR}/lib/em-http/multi.rb
${GEM_LIBDIR}/lib/em-http/request.rb
${GEM_LIBDIR}/lib/em-http/version.rb
${GEM_LIBDIR}/spec/client_fiber_spec.rb
${GEM_LIBDIR}/spec/client_spec.rb
${GEM_LIBDIR}/spec/dns_spec.rb
${GEM_LIBDIR}/spec/encoding_spec.rb
${GEM_LIBDIR}/spec/external_spec.rb
${GEM_LIBDIR}/spec/fixtures/google.ca
${GEM_LIBDIR}/spec/fixtures/gzip-sample.gz
${GEM_LIBDIR}/spec/helper.rb
${GEM_LIBDIR}/spec/http_proxy_spec.rb
${GEM_LIBDIR}/spec/middleware_spec.rb
${GEM_LIBDIR}/spec/multi_spec.rb
${GEM_LIBDIR}/spec/pipelining_spec.rb
${GEM_LIBDIR}/spec/redirect_spec.rb
${GEM_LIBDIR}/spec/socksify_proxy_spec.rb
${GEM_LIBDIR}/spec/ssl_spec.rb
${GEM_LIBDIR}/spec/stallion.rb
${GEM_LIBDIR}/spec/stub_server.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/09/15 18:50:53 taca Exp $
SHA1 (em-http-request-1.0.3.gem) = f21ffcaf24ed63e0524b1e9c03e4c3a93cb7ac1b
RMD160 (em-http-request-1.0.3.gem) = 7e6f642f2285c33d13e0a60ef45c4ef2bc5abaf5
Size (em-http-request-1.0.3.gem) = 203264 bytes