debian/0000755000000000000000000000000011773303051007166 5ustar debian/patches/0000755000000000000000000000000011773271601010622 5ustar debian/patches/spec_adjust_require0000644000000000000000000000167711773270507014624 0ustar --- ruby-em-http-request-0.3.0.orig/spec/encoding_spec.rb +++ ruby-em-http-request-0.3.0/spec/encoding_spec.rb @@ -1,4 +1,4 @@ -require 'helper' +require File.dirname(__FILE__) + '/helper' describe EventMachine::HttpEncoding do include EventMachine::HttpEncoding --- ruby-em-http-request-0.3.0.orig/spec/request_spec.rb +++ ruby-em-http-request-0.3.0/spec/request_spec.rb @@ -1,4 +1,4 @@ -require 'helper' +require File.dirname(__FILE__) + '/helper' require 'stallion' require 'stub_server' --- ruby-em-http-request-0.3.0.orig/spec/multi_spec.rb +++ ruby-em-http-request-0.3.0/spec/multi_spec.rb @@ -1,4 +1,4 @@ -require 'helper' +require File.dirname(__FILE__) + '/helper' require 'stallion' describe EventMachine::MultiRequest do --- ruby-em-http-request-0.3.0.orig/spec/mock_spec.rb +++ ruby-em-http-request-0.3.0/spec/mock_spec.rb @@ -1,4 +1,4 @@ -require 'helper' +require File.dirname(__FILE__) + '/helper' describe 'em-http mock' do debian/patches/disable_rubygems0000644000000000000000000000053311773272067014075 0ustar --- ruby-em-http-request-0.3.0.orig/spec/helper.rb +++ ruby-em-http-request-0.3.0/spec/helper.rb @@ -1,8 +1,8 @@ -require 'rubygems' +#require 'rubygems' require 'rspec' require 'pp' $LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')) require 'em-http' -require 'em-websocket' +#require 'em-websocket' debian/patches/series0000644000000000000000000000004511773270037012040 0ustar disable_rubygems spec_adjust_require debian/control0000644000000000000000000000251411773303012010570 0ustar Source: ruby-em-http-request Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Tollef Fog Heen Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.13~), ruby-rspec, ruby-eventmachine, ruby-escape-utils, ruby-addressable, ruby-rack Standards-Version: 3.9.2 #Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-em-http-request.git #Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-em-http-request.git;a=summary Homepage: http://github.com/igrigorik/em-http-request XS-Ruby-Versions: ruby1.9.1 Package: ruby-em-http-request Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-eventmachine (>= 0.12.9), ruby-addressable (>= 2.0.0), ruby-escape-utils Description: EventMachine based, async HTTP Request client em-http-client is an asynchronous HTTP client based on EventMachine 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 debian/compat0000644000000000000000000000000211772656412010377 0ustar 7 debian/watch0000644000000000000000000000016311772656412010232 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/em-http-request .*/em-http-request-(.*).tar.gz debian/source/0000755000000000000000000000000011772656412010501 5ustar debian/source/format0000644000000000000000000000001411772656412011707 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000001017511773256514011140 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: em-http-request Source: https://github.com/igrigorik/em-http-request License: Ruby Ruby is copyrighted free software by Yukihiro Matsumoto . You can redistribute it and/or modify it under either the terms of the GPL (see COPYING file), or the conditions below: . 1. You may make and give away verbatim copies of the source form of the software without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. . 2. You may modify your copy of the software in any way, provided that you do at least ONE of the following: . a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or by allowing the author to include your modifications in the software. . b) use the modified software only within your corporation or organization. . c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided. . d) make other distribution arrangements with the author. . 3. You may distribute the software in object code or executable form, provided that you do at least ONE of the following: . a) distribute the executables and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. . b) accompany the distribution with the machine-readable source of the software. . c) give non-standard executables non-standard names, with instructions on where to get the original software distribution. . d) make other distribution arrangements with the author. . 4. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under this terms. They are gc.c(partly), utils.c(partly), regex.[ch], fnmatch.[ch], glob.c, st.[ch] and some files under the ./missing directory. See each file for the copying condition. . 5. The scripts and library files supplied as input to or produced as output from the software do not automatically fall under the copyright of the software, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this software. . 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. Files: ext/buffer/em_buffer.c Copyright: 2007 Tony Arcieri License: Ruby Files: ext/http11_client/http11_client.c ext/http11_client/http11_parser.c ext/http11_client/http11_parser.h ext/http11_client/http11_parser.rl Copyright: 2005 Zed A. Shaw License: Ruby Files: lib/em-http/client.rb Copyright: 2008 Ilya Grigorik 2007 Tony Arcieri 2005 Zed Shaw License: Ruby Files: * Copyright: 2011 Ilya Grigorik License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/ruby-test-files.yaml0000644000000000000000000000013511773263245013121 0ustar --- - spec/encoding_spec.rb - spec/mock_spec.rb - spec/multi_spec.rb - spec/request_spec.rb debian/rules0000755000000000000000000000070111772656412010257 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby debian/ruby-em-http-request.docs0000644000000000000000000000001211773256544014072 0ustar README.md debian/changelog0000644000000000000000000000022411773274522011050 0ustar ruby-em-http-request (0.3.0-1) unstable; urgency=low * Initial release -- Tollef Fog Heen Wed, 27 Jun 2012 21:19:09 +0200 debian/ruby-em-http-request.examples0000644000000000000000000000001311773256617014762 0ustar examples/*