debian/0000755000000000000000000000000012124611246007165 5ustar debian/ruby-rspec-retry.docs0000644000000000000000000000001212124611246013266 0ustar README.md debian/gbp.conf0000644000000000000000000000003612124611246010603 0ustar [DEFAULT] pristine-tar = True debian/rules0000755000000000000000000000007512124611246010247 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=ruby --with ruby debian/control0000644000000000000000000000164012124611246010571 0ustar Source: ruby-rspec-retry Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Jérémy Bobbio Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), ruby-rspec, rake Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-rspec-retry.git Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-rspec-retry.git;a=summary Homepage: https://github.com/y310/rspec-retry XS-Ruby-Versions: all Package: ruby-rspec-retry Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-rspec Description: add support for retrying failing examples in RSpec RSpec is a Behaviour Driven Development framework for Ruby. This extension adds a `:retry` option to RSpec examples that will make RSpec retry multiple times a failing example. debian/ruby-tests.rake0000644000000000000000000000013112124611246012145 0ustar require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task :default => :spec debian/compat0000644000000000000000000000000212124611246010363 0ustar 7 debian/copyright0000644000000000000000000000277412124611246011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: rspec-retry Source: https://github.com/y310/rspec-retry Files: * Copyright: 2012 Yusuke Mito 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. Files: debian/* Copyright: 2013 Jérémy Bobbio License: permissive Copying and distribution of this package, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. debian/changelog0000644000000000000000000000024112124611246011034 0ustar ruby-rspec-retry (0.2.0-1) unstable; urgency=low * Initial release (Closes: #704002) -- Jérémy Bobbio Wed, 27 Mar 2013 16:39:15 +0100 debian/source/0000755000000000000000000000000012124611246010465 5ustar debian/source/format0000644000000000000000000000001412124611246011673 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000015312124611246010215 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/rspec-retry .*/rspec-retry-(.*).tar.gz debian/patches/0000755000000000000000000000000012124611246010614 5ustar debian/patches/0001-Do-not-use-pry-debugger-to-run-specs.patch0000644000000000000000000000075512124611246021103 0ustar From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= Date: Tue, 26 Mar 2013 17:57:08 +0000 Subject: Do not use pry-debugger to run specs --- spec/spec_helper.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 61685ae..79f0af0 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,5 @@ require 'rspec' require 'rspec/retry' -require 'pry-debugger' RSpec.configure do |config| config.verbose_retry = true debian/patches/series0000644000000000000000000000015412124611246012031 0ustar 0001-Do-not-use-pry-debugger-to-run-specs.patch 0002-Remove-non-deterministic-example-from-test-suite.patch debian/patches/0002-Remove-non-deterministic-example-from-test-suite.patch0000644000000000000000000000116712124611246023605 0ustar From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= Date: Wed, 27 Mar 2013 16:37:36 +0100 Subject: Remove non-deterministic example from test suite --- spec/lib/rspec/retry_spec.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spec/lib/rspec/retry_spec.rb b/spec/lib/rspec/retry_spec.rb index 27b21d2..ac8297b 100644 --- a/spec/lib/rspec/retry_spec.rb +++ b/spec/lib/rspec/retry_spec.rb @@ -45,10 +45,6 @@ describe RSpec::Retry do count.should == 2 end end - - it 'should success randomly', :retry => 3 do - rand(3).should == 1 - end end describe 'clearing lets' do