[DRE-commits] [SCM] ruby-shoulda-context.git branch, master, updated. 31cc88a23e4ed5a961c557d03fe3fd5210ee7fa0

Antonio Terceiro terceiro at softwarelivre.org
Tue Jun 7 04:20:08 UTC 2011


The following commit has been merged in the master branch:
commit 72937c045e4ea8b0b9d318ca7105d41b310253e9
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Sat Jun 4 23:39:42 2011 -0700

    Add manpage from old shoulda package

diff --git a/debian/convert_to_should_syntax.1 b/debian/convert_to_should_syntax.1
new file mode 100644
index 0000000..660f694
--- /dev/null
+++ b/debian/convert_to_should_syntax.1
@@ -0,0 +1,37 @@
+.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 <terceiro at softwarelivre.org>
+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.
diff --git a/debian/ruby-shoulda-context.manpages b/debian/ruby-shoulda-context.manpages
new file mode 100644
index 0000000..d07627d
--- /dev/null
+++ b/debian/ruby-shoulda-context.manpages
@@ -0,0 +1 @@
+debian/convert_to_should_syntax.1

-- 
ruby-shoulda-context.git



More information about the Pkg-ruby-extras-commits mailing list