[DRE-commits] [SCM] ruby-zentest.git branch, master, updated. upstream/4.8.2-4-g2f99ca3

Praveen Arimbrathodiyil praveen at debian.org
Thu Oct 25 16:46:07 UTC 2012


The following commit has been merged in the master branch:
commit 2f99ca39c2b3ad1158d11c37c95cdce5d275c6b8
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Thu Oct 25 22:15:00 2012 +0530

    add manpages for all executables in /usr/bin
    
    - man pages are created from pod files with pod2man

diff --git a/debian/autotest.1.pod b/debian/autotest.1.pod
new file mode 100644
index 0000000..bfda183
--- /dev/null
+++ b/debian/autotest.1.pod
@@ -0,0 +1,22 @@
+=head1 NAME
+
+autotest - a continuous testing facility
+
+=head1 SYNOPSIS
+
+autotest
+
+=head1 DESCRIPTION
+
+B<autotest> is a continuous testing facility meant to be used during
+development. As soon as you save a file, autotest will run the
+corresponding dependent tests.
+
+See /usr/share/doc/ruby-zentest/ for more details.
+
+=head1 AUTHOR
+
+Ryan Davis, Eric Hodel, seattle.rb
+
+This manual page is written by Praveen Arimbrathodiyl <praveen at debian.org> for
+Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
diff --git a/debian/changelog b/debian/changelog
index b113bad..58b59c0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,7 @@
-ruby-zentest (4.8.2-1) UNRELEASED; urgency=low
+ruby-zentest (4.8.2-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #691256)
+  * Thanks to PJP for his help
+    - he helped make pod2man run in a loop in debian/rules
 
- -- Praveen Arimbrathodiyil <pravi at savannah.pnq.redhat.com>  Thu, 25 Oct 2012 21:51:19 +0530
+ -- Praveen Arimbrathodiyil <praveen at debian.org>  Tue, 23 Oct 2012 20:39:27 +0530
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..900bbc8
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/*.[0-9]
\ No newline at end of file
diff --git a/debian/multigem.1.pod b/debian/multigem.1.pod
new file mode 100644
index 0000000..479cee8
--- /dev/null
+++ b/debian/multigem.1.pod
@@ -0,0 +1,22 @@
+=head1 NAME
+
+multigem - install gems for multiple ruby versions 
+
+=head1 SYNOPSIS
+
+multigem command
+
+=head1 DESCRIPTION
+
+B<multigem> uses multiruby to run the gem command in order to install 
+gems in the right place for each of the ruby versions under that 
+.multiruby directory. It takes all options of gem command.
+
+See /usr/share/doc/ruby-zentest/ for more details.
+
+=head1 AUTHOR
+
+Ryan Davis, Eric Hodel, seattle.rb
+
+This manual page is written by Praveen Arimbrathodiyl <praveen at debian.org> for
+Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
diff --git a/debian/multiruby.1.pod b/debian/multiruby.1.pod
new file mode 100644
index 0000000..2697c0d
--- /dev/null
+++ b/debian/multiruby.1.pod
@@ -0,0 +1,20 @@
+=head1 NAME
+
+multiruby - runs anything you want on multiple versions of ruby
+
+=head1 SYNOPSIS
+
+multiruby ./TestMyProject.rb
+
+=head1 DESCRIPTION
+
+B<multiruby> runs anything you want on multiple versions of ruby. Great
+for compatibility checking! Use multiruby_setup to manage your
+installed versions.
+
+=head1 AUTHOR
+
+Ryan Davis, Eric Hodel, seattle.rb
+
+This manual page is written by Praveen Arimbrathodiyl <praveen at debian.org> for
+Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
diff --git a/debian/multiruby_setup.1.pod b/debian/multiruby_setup.1.pod
new file mode 100644
index 0000000..47cdf3b
--- /dev/null
+++ b/debian/multiruby_setup.1.pod
@@ -0,0 +1,25 @@
+=head1 NAME
+
+multiruby_setup - manage multiple versions of ruby for multiruby
+
+=head1 SYNOPSIS
+
+multiruby_setup mri:svn:current
+
+=head1 DESCRIPTION
+
+Use B<multiruby_setup> to manage your installed versions of ruby.
+This helps you use multiruby command to run anything you want on 
+multiple versions of ruby.
+
+The various versions are installed in a subdirectory of .multiruby 
+in your home directory.
+
+Run multiruby_setup --help to see all the options.
+
+=head1 AUTHOR
+
+Ryan Davis, Eric Hodel, seattle.rb
+
+This manual page is written by Praveen Arimbrathodiyl <praveen at debian.org> for
+Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
diff --git a/debian/rules b/debian/rules
index a5e7dc8..6debab0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,5 +11,19 @@
 # If you need to specify the .gemspec (eg there is more than one)
 #export DH_RUBY_GEMSPEC=gem.gemspec
 
+COMMAND_LIST  = autotest multiruby unit_diff multigem multiruby_setup zentest
+
 %:
 	dh $@ --buildsystem=ruby --with ruby
+
+build:
+	dh build --buildsystem=ruby --with ruby
+	@for COMMAND in $(COMMAND_LIST); do \
+		pod2man --section=1 --release=\"ZenTest\" \
+						--center=\"Debian\ GNU\ System\" \
+						debian/$$COMMAND.1.pod > debian/$$COMMAND.1;\
+	 done
+
+clean:
+	dh clean --buildsystem=ruby --with ruby
+	@$(foreach COMMAND,$(COMMAND_LIST), rm -f debian/$(COMMAND).1)
diff --git a/debian/unit_diff.1.pod b/debian/unit_diff.1.pod
new file mode 100644
index 0000000..81f737f
--- /dev/null
+++ b/debian/unit_diff.1.pod
@@ -0,0 +1,23 @@
+=head1 NAME
+
+unit_diff - command-line filter to diff expected results from actual results
+
+=head1 SYNOPSIS
+
+./TestMyProject.rb | unit_diff
+
+=head1 DESCRIPTION
+
+B<unit_diff> is a command-line filter to diff expected results from
+actual results and allow you to quickly see exactly what is wrong.
+Do note that minitest 2.2+ provides an enhanced assert_equal obviating
+the need for unit_diff 
+
+See /usr/share/doc/ruby-zentest/ for more details.
+
+=head1 AUTHOR
+
+Ryan Davis, Eric Hodel, seattle.rb
+
+This manual page is written by Praveen Arimbrathodiyl <praveen at debian.org> for
+Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).
diff --git a/debian/zentest.1.pod b/debian/zentest.1.pod
new file mode 100644
index 0000000..79d79d5
--- /dev/null
+++ b/debian/zentest.1.pod
@@ -0,0 +1,24 @@
+=head1 NAME
+
+zentest - scans your target and unit-test code and writes your missing code
+
+=head1 SYNOPSIS
+
+zentest MyProject.rb TestMyProject.rb > missing.rb
+
+=head1 DESCRIPTION
+
+B<zentest> scans your target and unit-test code and writes your missing
+code based on simple naming rules, enabling XP at a much quicker pace.
+zentest only works with Ruby and Minitest or Test::Unit. There is
+enough evidence to show that this is still proving useful to users, so
+it stays.
+
+See /usr/share/doc/ruby-zentest/ for more details.
+
+=head1 AUTHOR
+
+Ryan Davis, Eric Hodel, seattle.rb
+
+This manual page is written by Praveen Arimbrathodiyl <praveen at debian.org> for
+Debian GNU System (GNU/Linux, GNU/kFreeBSD, GNU/Hurd).

-- 
ruby-zentest.git



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