debian/0000755000000000000000000000000012116370504007165 5ustar debian/rules0000755000000000000000000000070112116370504010243 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/watch0000644000000000000000000000013512116370504010215 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/riot .*/riot-(.*).tar.gz debian/ruby-riot.docs0000644000000000000000000000002012116370504011763 0ustar README.markdown debian/source/0000755000000000000000000000000012116370504010465 5ustar debian/source/format0000644000000000000000000000001412116370504011673 0ustar 3.0 (quilt) debian/ruby-tests.rake0000644000000000000000000000065112116370504012154 0ustar task :default => ["test:core"] #task :default => ["test:all"] task "test:all" => ["test:core", "test:extensions"] require 'rake/testtask' Rake::TestTask.new("test:core") do |test| test.libs << 'test' #test.pattern = 'test/core/**/*_test.rb' test.pattern = 'test/core/**/*_test.rb' end Rake::TestTask.new("test:extensions") do |test| test.libs << 'test' test.pattern = 'test/extensions/*_test.rb' end debian/copyright0000644000000000000000000000255212116370504011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: riot Source: https://github.com/thumblemonks/riot Files: * Copyright: 2008 Justin Knowlden 2008 Thumble Monks License: Expat Files: debian/* Copyright: 2013 Cédric Boutillier 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/control0000644000000000000000000000217512116370504010575 0ustar Source: ruby-riot Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Cédric Boutillier Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rr, rake Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-riot.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-riot.git;a=summary Homepage: http://github.com/thumblemonks/riot XS-Ruby-Versions: all Package: ruby-riot Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rr Description: fast, expressive, and context-driven unit-testing framework for Ruby Riot is a fast, expressive, and context-driven unit-testing framework for the Ruby programming language. . In contrast to other popular Ruby testing frameworks such as Test::Unit, Shoulda and RSpec, Riot does not run a setup and teardown sequence before and after each test. In Riot, tests separated in "contexts" in which a "topic" object is defined, and assertions on this object are made. debian/patches/0000755000000000000000000000000012116370504010614 5ustar debian/patches/series0000644000000000000000000000004312116370504012026 0ustar 01_fix_test_suite_for_ruby18.patch debian/patches/01_fix_test_suite_for_ruby18.patch0000644000000000000000000000200012116370504017243 0ustar Description: Fix test suite for Ruby 1.8.7 Origin: https://github.com/thumblemonks/riot/commit/a782fb4474bfc240c651ed9fd1ba58a4b8699801 Author: Justin Knowlden Applied-Upstream: yes Reviewed-by: Cédric Boutillier Last-Update: 2013-03-07 --- a/test/core/reports/dot_matrix_reporter_test.rb +++ b/test/core/reports/dot_matrix_reporter_test.rb @@ -44,7 +44,13 @@ asserts_topic('puts the full context + assertion name').matches('whatever asserts bang') asserts_topic('puts the exception message').matches('BOOM') # : is the last thing in the stack trace - asserts_topic('puts the filtered exception backtrace').matches(/#{__FILE__}:\d+:[^\n]*\n\n.*$\n\z/) + asserts_topic('puts the filtered exception backtrace').matches do + if RUBY_VERSION =~ /^1.8.\d+/ + /#{__FILE__}:\d+\n\n.*$\n\z/ + else + /#{__FILE__}:\d+:[^\n]*\n\n.*$\n\z/ + end + end end end debian/compat0000644000000000000000000000000212116370504010363 0ustar 7 debian/changelog0000644000000000000000000000023712116370504011041 0ustar ruby-riot (0.12.5-1) unstable; urgency=low * Initial release (Closes: #702552) -- Cédric Boutillier Thu, 07 Mar 2013 23:15:12 +0100