debian/0000755000000000000000000000000012147165560007175 5ustar debian/rules0000755000000000000000000000056712147161470010261 0ustar #!/usr/bin/make -f # Ignore failure in ruby1.9.1 tests for now. Although shoulda-context does work # with ruby1.9.1, its test suite depends heavily on the internals of # Test::Unit, which was replaced by minitest in ruby1.9.1 # # See details at https://github.com/thoughtbot/shoulda/issues/168 export DH_RUBY_IGNORE_TESTS=ruby1.9.1 %: dh $@ --buildsystem=ruby --with ruby debian/copyright0000644000000000000000000000274612147161470011135 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: shoulda-context Source: https://github.com/thoughtbot/shoulda-context Files: * Copyright: Copyright © 2007, Tammer Saleh, Thoughtbot, Inc. Copyright © 2006-2010 thoughtbot, inc. License: MIT 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: Copyright © 2011 Antonio Terceiro License: Debian packaging is licensed under the same terms as the original package. debian/compat0000644000000000000000000000000212147161470010367 0ustar 7 debian/ruby-shoulda-context.lintian-overrides0000644000000000000000000000013112147164003016637 0ustar # Upstread does not provide a changelog file ruby-shoulda-context: no-upstream-changelog debian/ruby-tests.rake0000644000000000000000000000044512147161470012161 0ustar # adapted from upstream Rakefile require 'rake/testtask' test_files_pattern = 'test/**/*_test.rb' Rake::TestTask.new do |t| t.libs << 'debian/ruby-shoulda-context/usr/lib/ruby/vendor_ruby' t.libs << 'test' t.pattern = test_files_pattern t.verbose = false end task :default => :test debian/changelog0000644000000000000000000000066612147165540011055 0ustar ruby-shoulda-context (1.1.2-1) unstable; urgency=low * Team upload. * New upstream release. * Bump standards version to 3.9.4. * Add build dep on ruby-test-unit. -- Praveen Arimbrathodiyil Wed, 22 May 2013 20:57:16 +0530 ruby-shoulda-context (1.0.0~beta1-1) unstable; urgency=low * Initial release (Closes: #626017). -- Antonio Terceiro Sat, 04 Jun 2011 23:13:21 -0700 debian/control0000644000000000000000000000226112147165456010605 0ustar Source: ruby-shoulda-context Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Antonio Terceiro Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake, ruby-mocha, ruby-test-unit Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-shoulda-context.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-shoulda-context.git;a=summary Homepage: https://github.com/thoughtbot/shoulda-context XS-Ruby-Versions: all Package: ruby-shoulda-context Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Conflicts: libshoulda-ruby (<< 3.0.0~beta2-1~), libshoulda-ruby1.8 (<< 3.0.0~beta2-1) Description: context framework for Test::Unit Shoulda’s contexts make it easy to write understandable and maintainable tests for Test::Unit. It’s fully compatible with your existing tests in Test::Unit, and requires no retooling to use. . This package provides shoulda-context, a context framework for Test::Unit that was is extracted from (and is used by) shoulda. debian/ruby-shoulda-context.docs0000644000000000000000000000003212147163223014134 0ustar README.md CONTRIBUTING.md debian/watch0000644000000000000000000000016312147161470010222 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/shoulda-context .*/shoulda-context-(.*).tar.gz debian/convert_to_should_syntax.10000644000000000000000000000207412147161470014424 0ustar .TH convert_to_shoulda_syntax "1" "September 2008" "convert_to_shoulda_syntax" "" .SH NAME convert_to_shoulda_syntax - converts a regular Test::Unit Ruby source file into one that uses shoulda syntax. .SH SYNOPSIS .B convert_to_shoulda_syntax \fInormal_test_file.rb\fR .SH DESCRIPTION converts a unit test file using regular Test::Unit syntax to one using the nicer shoulda syntax, i.e. it will convert an existing test file with names like .IP def test_should_do_stuff .IP \&... .IP end .PP to one using the new syntax: .IP should "be super cool" do .IP \&... .IP end .PP A copy of the old file will be left under /tmp/ in case this script just seriously screws up. .PP .SH "SEE ALSO" .PP /usr/share/doc/libshoulda-ruby/ as installed by the libshoulda-ruby package for documentation of should itself. .SH "ABOUT" This manual page was written by Antonio Terceiro for the Debian GNU/Linux system, but may be used by others. It was based on convert_to_shoulda_syntax's help output, i.e., when called without proper arguments, and with the help of help2man. debian/ruby-shoulda-context.manpages0000644000000000000000000000004212147161470015002 0ustar debian/convert_to_should_syntax.1 debian/source/0000755000000000000000000000000012147161470010471 5ustar debian/source/format0000644000000000000000000000001412147161470011677 0ustar 3.0 (quilt)