debian/0000755000000000000000000000000012145154415007170 5ustar debian/rules0000755000000000000000000000100412145114372010241 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 override_dh_installchangelogs: dh_installchangelogs CHANGELOG.md debian/ruby-ethon.docs0000644000000000000000000000001212145114372012125 0ustar README.md debian/copyright0000644000000000000000000000247712145114372011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ethon Source: http://rubygems.org/gems/ethon Files: * Copyright: 2012 Hans Hasselberg License: Expat Files: debian/* Copyright: 2013 Praveen Arimbrathodiyil License: Expat License: Expat 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/compat0000644000000000000000000000000212145114372010364 0ustar 7 debian/patches/0000755000000000000000000000000012145114372010615 5ustar debian/patches/fix-effective-url-test.patch0000644000000000000000000000142412145114372016140 0ustar From 441c819d2cb60de3c4d40afd4053a903d439217e Mon Sep 17 00:00:00 2001 From: Praveen Arimbrathodiyil Date: Thu, 16 May 2013 13:10:44 +0530 Subject: [PATCH] fix effective url if this is not correct, it is a bug. Merge or fix. --- spec/ethon/easy/informations_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ethon/easy/informations_spec.rb b/spec/ethon/easy/informations_spec.rb index 30ac65f..cd6924e 100644 --- a/spec/ethon/easy/informations_spec.rb +++ b/spec/ethon/easy/informations_spec.rb @@ -52,7 +52,7 @@ describe "#effective_url" do it "returns url" do - expect(easy.effective_url).to eq("http://localhost:3001") + expect(easy.effective_url).to eq("http://localhost:3001/") end end -- 1.8.1.6 debian/patches/series0000644000000000000000000000007312145114372012032 0ustar remove-rubygems-bundler.patch fix-effective-url-test.patch debian/patches/remove-rubygems-bundler.patch0000644000000000000000000000070712145114372016423 0ustar Description: Bundler is not needed We add dependencies in debian/control Author: Praveen Arimbrathodiyil Forwarded: No Last-Updated: 2013-05-16 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,8 +1,8 @@ $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib")) -require 'bundler' -Bundler.setup +#require 'bundler' +#Bundler.setup require "ethon" require 'rspec' debian/ruby-tests.rake0000644000000000000000000000022312145114372012150 0ustar require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = './spec/**/*_spec.rb' end task :default => :spec debian/changelog0000644000000000000000000000024612145114372011042 0ustar ruby-ethon (0.5.12-1) unstable; urgency=low * Initial release (Closes: #693256) -- Praveen Arimbrathodiyil Thu, 16 May 2013 12:54:02 +0530 debian/control0000644000000000000000000000204212145154415010571 0ustar Source: ruby-ethon Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Praveen Arimbrathodiyil Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.1~), ruby-rspec, ruby-ffi, ruby-mime-types (>= 1.18), rake, libcurl3, ruby-rack, ruby-json, ruby-sinatra Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-ethon.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-ethon.git;a=summary Homepage: https://github.com/typhoeus/ethon XS-Ruby-Versions: all Package: ruby-ethon Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-ffi, ruby-mime-types (>= 1.18), libcurl3 Description: libcurl wrapper using ffi Very lightweight libcurl wrapper. . In Greek mythology, Ethon, the son of Typhoeus and Echidna, is a gigantic eagle. So much for the history. In the modern world, Ethon is a very basic libcurl wrapper using ffi debian/watch0000644000000000000000000000030412145114372010214 0ustar version=3 # request for including spec in gem itself https://github.com/typhoeus/ethon/issues/55 https://github.com/typhoeus/ethon/tags .*/v?(\d.*)\.(?:tgz|tbz2|tar\.(?:gz|bz2|xz)) debian uupdate debian/ruby-tests.rb0000644000000000000000000000073512145114355011642 0ustar # FIXME # there's a spec/ or a test/ directory in the upstream source, but # no test suite was defined in the Gem specification. It would be # a good idea to define it here so the package gets tested at build time. # Examples: # $: << 'lib' << '.' # Dir['{spec,test}/**/*.rb'].each { |f| require f } # # require 'test/ts_foo.rb' # # require 'rbconfig' # ruby = File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['ruby_install_name']) # exec("#{ruby} -I. test/runtests.rb") debian/source/0000755000000000000000000000000012145114355010467 5ustar debian/source/format0000644000000000000000000000001412145114372011674 0ustar 3.0 (quilt)