debian/0000755000000000000000000000000012325455524007175 5ustar debian/changelog0000644000000000000000000000143312325455474011054 0ustar ruby-em-spec (0.2.6-3) unstable; urgency=medium * Update remove-rubygems-require.patch - Add require 'bacon' to lib/em-spec/bacon.rb - Fix uninitialized constant Bacon (NameError) * Bump gem2deb build dep to >= 0.7.5~ (ruby all) -- Pirate Praveen Tue, 22 Apr 2014 17:36:04 +0530 ruby-em-spec (0.2.6-2) unstable; urgency=medium * Team upload. * Bump Standards to 3.9.5 (no changes needed) * Ensure we use ruby-eventmachine with ruby2.0 support (Closes: #728626) -- Cédric Boutillier Sun, 19 Jan 2014 17:00:54 +0100 ruby-em-spec (0.2.6-1) unstable; urgency=low * Initial release (Closes: #703655) * Patch failing tests (thanks to Srihari) -- Praveen Arimbrathodiyil Fri, 22 Mar 2013 02:42:12 +0530 debian/copyright0000644000000000000000000000265212265226457011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: em-spec Source: https://github.com/joshbuddy/em-spec Files: * Copyright: 2008 Aman Gupta (tmm1) 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. . Clarified with Author via email, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703655#27 debian/control0000644000000000000000000000201112325454673010576 0ustar Source: ruby-em-spec Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Pirate Praveen Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.7.5~), ruby-rspec, rake, ruby-eventmachine (>= 1.0.3-4~) Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-em-spec.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-em-spec.git;a=summary Homepage: https://github.com/joshbuddy/em-spec XS-Ruby-Versions: all Package: ruby-em-spec Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-eventmachine, ruby-rspec | ruby-bacon | ruby-test-unit Description: BDD for Ruby/EventMachine Simple BDD API for testing asynchronous Ruby/EventMachine code. . em-spec can be used with either bacon, test unit or rspec. . See /usr/share/doc/ruby-em-spec/README.rdoc for more details on how to use it with your code. debian/patches/0000755000000000000000000000000012325454473010626 5ustar debian/patches/change-timeout.patch0000644000000000000000000000140612325454427014560 0ustar From c3f360866d189673b6b3293f1cb940ecadd9ac8e Mon Sep 17 00:00:00 2001 From: Srihari Date: Sat, 23 Mar 2013 23:26:31 +0530 Subject: [PATCH] Fix failing test for timeout. --- test/test_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_spec.rb b/test/test_spec.rb index e79b619..f356daa 100644 --- a/test/test_spec.rb +++ b/test/test_spec.rb @@ -66,7 +66,7 @@ class EmSpecWithTimeoutTest < Test::Unit::TestCase include EventMachine::Test - default_timeout 2 + default_timeout 4 def test_should_fail_to_timeout EM.add_timer(3) { @@ -95,4 +95,4 @@ class AnotherNormalTest < Test::Unit::TestCase def test_normal assert_equal 1, 1 end -end \ No newline at end of file +end -- 1.8.1.5 debian/patches/remove-rubygems-require.patch0000644000000000000000000000106612325454473016454 0ustar Description: Remove rubygems Dependencies are tracked in debian/control and managed by apt Author: Praveen Arimbrathodiyil Last-Update: 2013-05-28 --- a/lib/em-spec/bacon.rb +++ b/lib/em-spec/bacon.rb @@ -1,6 +1,9 @@ require File.dirname(__FILE__) + '/../ext/fiber18' -require 'rubygems' +# dependencies are added in debian/control +# require 'rubygems' + require 'eventmachine' +require 'bacon' module EventMachine @@ -93,4 +96,4 @@ $em_spec_fiber.resume if $em_spec_fiber } end -end \ No newline at end of file +end debian/patches/series0000644000000000000000000000006312265226457012044 0ustar remove-rubygems-require.patch change-timeout.patch debian/ruby-em-spec.lintian-overrides0000644000000000000000000000011412265226457015065 0ustar # Upstream does not provide a changelog ruby-em-spec: no-upstream-changelog debian/ruby-em-spec.docs0000644000000000000000000000001412265226457012356 0ustar README.rdoc debian/ruby-tests.rake0000644000000000000000000000104612265226457012167 0ustar require 'rake/testtask' #require 'rubygems' #require 'bundler' #Bundler::GemHelper.install_tasks # Don't run spec -> someone needs to port them to rspec 2.13 # They run fine with rspec 2.10 # https://github.com/joshbuddy/em-spec/issues/16 #require 'rspec/core/rake_task' #RSpec::Core::RakeTask.new(:spec) do |spec| # spec.pattern = './spec/**/*_spec.rb' #end Rake::TestTask.new(:test) do |t| t.libs << "test" t.test_files = FileList['test/test_spec.rb'] t.verbose = true end #task :default => [:test, :spec] task :default => [:test] debian/compat0000644000000000000000000000000212265226457010377 0ustar 7 debian/watch0000644000000000000000000000014312265226457010230 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/em-spec .*/em-spec-(.*).tar.gz debian/rules0000755000000000000000000000070112265226457010257 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/source/0000755000000000000000000000000012265226457010501 5ustar debian/source/format0000644000000000000000000000001412265226457011707 0ustar 3.0 (quilt)