diff -Nru ruby-typhoeus-0.8.0/debian/changelog ruby-typhoeus-0.8.0/debian/changelog --- ruby-typhoeus-0.8.0/debian/changelog 2015-10-29 16:47:01.000000000 +0000 +++ ruby-typhoeus-0.8.0/debian/changelog 2016-03-17 22:16:35.000000000 +0000 @@ -1,3 +1,21 @@ +ruby-typhoeus (0.8.0-2) unstable; urgency=medium + + * Team upload. + + [ Cédric Boutillier ] + * Bump debhelper compatibility level to 9 + * Remove version in the gem2deb build-dependency + * Use https:// in Vcs-* fields + * Use https:// in Vcs-* fields + * Bump Standards-Version to 3.9.7 (no changes needed) + * Run wrap-and-sort on packaging files + + [ Thiago Ribeiro ] + * Revert source code change + * Add patch fix-spec-for-ruby2_3.patch (Closes: #816360) + + -- Thiago Ribeiro Tue, 15 Mar 2016 16:25:53 -0300 + ruby-typhoeus (0.8.0-1) unstable; urgency=low * Team upload diff -Nru ruby-typhoeus-0.8.0/debian/compat ruby-typhoeus-0.8.0/debian/compat --- ruby-typhoeus-0.8.0/debian/compat 2014-01-14 12:31:11.000000000 +0000 +++ ruby-typhoeus-0.8.0/debian/compat 2016-03-17 22:16:35.000000000 +0000 @@ -1 +1 @@ -7 +9 diff -Nru ruby-typhoeus-0.8.0/debian/control ruby-typhoeus-0.8.0/debian/control --- ruby-typhoeus-0.8.0/debian/control 2015-10-29 16:46:07.000000000 +0000 +++ ruby-typhoeus-0.8.0/debian/control 2016-03-17 22:16:35.000000000 +0000 @@ -3,19 +3,29 @@ Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Pirate Praveen -Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), - ruby-ethon (>= 0.8.0), ruby-faraday, rake, ruby-rspec, ruby-rack, - ruby-json, ruby-sinatra -Standards-Version: 3.9.6 -Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-typhoeus.git -Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-typhoeus.git;a=summary +Build-Depends: debhelper (>= 9~), + gem2deb, + rake, + ruby-ethon (>= 0.8.0), + ruby-faraday, + ruby-json, + ruby-rack, + ruby-rspec, + ruby-sinatra +Standards-Version: 3.9.7 +Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-typhoeus.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-typhoeus.git Homepage: https://github.com/typhoeus/typhoeus +Testsuite: autopkgtest-pkg-ruby XS-Ruby-Versions: all Package: ruby-typhoeus Architecture: all XB-Ruby-Versions: ${ruby:Versions} -Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-ethon (>= 0.8.0) +Depends: ruby | ruby-interpreter, + ruby-ethon (>= 0.8.0), + ${misc:Depends}, + ${shlibs:Depends} Description: parallel HTTP library on top of ethon Typhoeus is a HTTP client library based on Ethon which wraps libcurl. Sitting on top of libcurl makes Typhoeus very reliable and fast. diff -Nru ruby-typhoeus-0.8.0/debian/patches/fix-specs-for-ruby2_3.patch ruby-typhoeus-0.8.0/debian/patches/fix-specs-for-ruby2_3.patch --- ruby-typhoeus-0.8.0/debian/patches/fix-specs-for-ruby2_3.patch 1970-01-01 00:00:00.000000000 +0000 +++ ruby-typhoeus-0.8.0/debian/patches/fix-specs-for-ruby2_3.patch 2016-03-17 22:16:35.000000000 +0000 @@ -0,0 +1,36 @@ +Description: Fix specs for Ruby 2.3 +Author: Sebastian Skalacki +Applied-Upstream: https://github.com/typhoeus/typhoeus/pull/514 +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816360 +Last-Update: 2016-03-15 +--- a/spec/typhoeus/hydra/runnable_spec.rb ++++ b/spec/typhoeus/hydra/runnable_spec.rb +@@ -106,8 +106,9 @@ + end + let(:second) { Typhoeus::Request.new("localhost:3001/second") } + let(:requests) { [first] } ++ let(:on_complete_counter){ double :mark => :twain } + +- before { Typhoeus.on_complete { |r| String.new(r.code) } } ++ before { Typhoeus.on_complete { |r| on_complete_counter.mark } } + after { Typhoeus.on_complete.clear; Typhoeus.before.clear } + + context "when real request" do +@@ -115,7 +116,7 @@ + let(:options) { {} } + + it "calls on_complete callback once for every response" do +- expect(String).to receive(:new).exactly(2).times ++ expect(on_complete_counter).to receive(:mark).exactly(2).times + hydra.run + end + end +@@ -126,7 +127,7 @@ + before { Typhoeus.before{ |request| request.finish(Typhoeus::Response.new) } } + + it "simulates real multi run and adds and finishes both requests" do +- expect(String).to receive(:new).exactly(2).times ++ expect(on_complete_counter).to receive(:mark).exactly(2).times + hydra.run + end + end diff -Nru ruby-typhoeus-0.8.0/debian/patches/series ruby-typhoeus-0.8.0/debian/patches/series --- ruby-typhoeus-0.8.0/debian/patches/series 2014-01-14 12:31:11.000000000 +0000 +++ ruby-typhoeus-0.8.0/debian/patches/series 2016-03-17 22:16:35.000000000 +0000 @@ -1 +1,2 @@ +fix-specs-for-ruby2_3.patch remove-rubygems-bundler.patch diff -Nru ruby-typhoeus-0.8.0/debian/ruby-typhoeus.docs ruby-typhoeus-0.8.0/debian/ruby-typhoeus.docs --- ruby-typhoeus-0.8.0/debian/ruby-typhoeus.docs 2014-01-14 12:31:11.000000000 +0000 +++ ruby-typhoeus-0.8.0/debian/ruby-typhoeus.docs 2016-03-17 22:16:35.000000000 +0000 @@ -1,2 +1,2 @@ -README.md CONTRIBUTING.md +README.md