[DRE-commits] r3042 - packages/libshoulda-ruby/trunk/debian
terceiro-guest at alioth.debian.org
terceiro-guest at alioth.debian.org
Sat Sep 27 18:41:34 UTC 2008
Author: terceiro-guest
Date: 2008-09-27 18:41:32 +0000 (Sat, 27 Sep 2008)
New Revision: 3042
Added:
packages/libshoulda-ruby/trunk/debian/convert_to_should_syntax.1
Removed:
packages/libshoulda-ruby/trunk/debian/convert_file_to_shoulda.1
packages/libshoulda-ruby/trunk/debian/docs
Modified:
packages/libshoulda-ruby/trunk/debian/changelog
packages/libshoulda-ruby/trunk/debian/control
packages/libshoulda-ruby/trunk/debian/copyright
packages/libshoulda-ruby/trunk/debian/libshoulda-ruby.rdoc
packages/libshoulda-ruby/trunk/debian/rules
packages/libshoulda-ruby/trunk/debian/test.rb
packages/libshoulda-ruby/trunk/debian/watch
Log:
upgrading the package to the complete version of shoulda instead of the trimmed
down one, which can be used with non-Rails projects just fine.
Modified: packages/libshoulda-ruby/trunk/debian/changelog
===================================================================
--- packages/libshoulda-ruby/trunk/debian/changelog 2008-09-27 13:26:17 UTC (rev 3041)
+++ packages/libshoulda-ruby/trunk/debian/changelog 2008-09-27 18:41:32 UTC (rev 3042)
@@ -1,4 +1,4 @@
-libshoulda-ruby (1.2.0-1) UNRELEASED; urgency=low
+libshoulda-ruby (2.0.0-1) UNRELEASED; urgency=low
* Initial release (Closes: #500341)
Modified: packages/libshoulda-ruby/trunk/debian/control
===================================================================
--- packages/libshoulda-ruby/trunk/debian/control 2008-09-27 13:26:17 UTC (rev 3041)
+++ packages/libshoulda-ruby/trunk/debian/control 2008-09-27 18:41:32 UTC (rev 3042)
@@ -5,18 +5,22 @@
Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
Build-Depends: cdbs, debhelper (>= 7)
Standards-Version: 3.8.0
-Homepage: http://shoulda.rubyforge.org/
+Homepage: http://www.thoughtbot.com/projects/shoulda
DM-Upload-Allowed: yes
Package: libshoulda-ruby
Architecture: all
Depends: libshoulda-ruby1.8
+Suggests: rails
Description: additional features for the Test::Unit testing framework
Shoulda makes it easy to write elegant, understandable, and maintainable
tests. Shoulda consists of test macros, assertions, and helpers added on to
the Test::Unit framework. It's fully compatible with your existing tests, and
requires no retooling to use.
.
+ Shoulda adds lots of features for testing Rails applications, but can also be
+ used for plain Ruby ones.
+ .
This is a dependency package which depends on the one for the default Ruby
version.
@@ -29,4 +33,7 @@
the Test::Unit framework. It's fully compatible with your existing tests, and
requires no retooling to use.
.
+ Shoulda adds lots of features for testing Rails applications, but can also be
+ used for plain Ruby ones.
+ .
This is the package for Ruby 1.8.
Deleted: packages/libshoulda-ruby/trunk/debian/convert_file_to_shoulda.1
===================================================================
--- packages/libshoulda-ruby/trunk/debian/convert_file_to_shoulda.1 2008-09-27 13:26:17 UTC (rev 3041)
+++ packages/libshoulda-ruby/trunk/debian/convert_file_to_shoulda.1 2008-09-27 18:41:32 UTC (rev 3042)
@@ -1,37 +0,0 @@
-.TH convert_file_to_shoulda "1" "September 2008" "convert_file_to_shoulda" ""
-.SH NAME
-convert_file_to_shoulda - converts a regular Test::Unit Ruby source file into
-one that uses shoulda syntax.
-.SH SYNOPSIS
-.B convert_file_to_shoulda
-\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_file_to_shoulda's help output, i.e., when called without proper
-arguments, and with the help of help2man.
Added: packages/libshoulda-ruby/trunk/debian/convert_to_should_syntax.1
===================================================================
--- packages/libshoulda-ruby/trunk/debian/convert_to_should_syntax.1 (rev 0)
+++ packages/libshoulda-ruby/trunk/debian/convert_to_should_syntax.1 2008-09-27 18:41:32 UTC (rev 3042)
@@ -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. convert_to_shoulda_syntax
Modified: packages/libshoulda-ruby/trunk/debian/copyright
===================================================================
--- packages/libshoulda-ruby/trunk/debian/copyright 2008-09-27 13:26:17 UTC (rev 3041)
+++ packages/libshoulda-ruby/trunk/debian/copyright 2008-09-27 18:41:32 UTC (rev 3042)
@@ -1,7 +1,7 @@
This package was debianized by Antonio Terceiro <terceiro at softwarelivre.org> on
Wed, 16 Jul 2008 23:42:14 -0300.
-It was downloaded from http://rubyforge.org/projects/shoulda/
+It was downloaded from http://github.com/thoughtbot/shoulda
Copyright (c) 2007 Tammer Saleh, Thoughtbot, Inc.
Deleted: packages/libshoulda-ruby/trunk/debian/docs
===================================================================
--- packages/libshoulda-ruby/trunk/debian/docs 2008-09-27 13:26:17 UTC (rev 3041)
+++ packages/libshoulda-ruby/trunk/debian/docs 2008-09-27 18:41:32 UTC (rev 3042)
@@ -1 +0,0 @@
-README.txt
Modified: packages/libshoulda-ruby/trunk/debian/libshoulda-ruby.rdoc
===================================================================
--- packages/libshoulda-ruby/trunk/debian/libshoulda-ruby.rdoc 2008-09-27 13:26:17 UTC (rev 3041)
+++ packages/libshoulda-ruby/trunk/debian/libshoulda-ruby.rdoc 2008-09-27 18:41:32 UTC (rev 3042)
@@ -1,2 +1,2 @@
-README.txt
+README.rdoc
lib
Modified: packages/libshoulda-ruby/trunk/debian/rules
===================================================================
--- packages/libshoulda-ruby/trunk/debian/rules 2008-09-27 13:26:17 UTC (rev 3041)
+++ packages/libshoulda-ruby/trunk/debian/rules 2008-09-27 18:41:32 UTC (rev 3042)
@@ -1,7 +1,6 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/ruby-pkg-tools/1/class/ruby-setup-rb.mk
install/libshoulda-ruby::
@@ -9,7 +8,4 @@
install/libshoulda-ruby1.8::
# install the manpage
- dh_installman -p $(cdbs_curpkg) debian/convert_file_to_shoulda.1
- # install extra file into better location to avoid clashes with other packages.
- mkdir -p $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/ruby/1.8/shoulda
- mv $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/ruby/1.8/proc_extensions.rb $(CURDIR)/debian/$(cdbs_curpkg)/usr/lib/ruby/1.8/shoulda/proc_extensions.rb
+ dh_installman -p $(cdbs_curpkg) debian/convert_to_should_syntax.1
Modified: packages/libshoulda-ruby/trunk/debian/test.rb
===================================================================
--- packages/libshoulda-ruby/trunk/debian/test.rb 2008-09-27 13:26:17 UTC (rev 3041)
+++ packages/libshoulda-ruby/trunk/debian/test.rb 2008-09-27 18:41:32 UTC (rev 3042)
@@ -20,10 +20,6 @@
assert File.exists?('/usr/lib/ruby/1.8/shoulda/proc_extensions.rb')
end
- should 'patch shoulda.rb to require proc_extensions.rb from its new place' do
- assert File.read('/usr/lib/ruby/1.8/shoulda.rb') =~ /require.*File.join.*'shoulda', 'proc_extensions'/
- end
-
should 'install RDOC documentation' do
assert File.exists?('/usr/share/doc/libshoulda-ruby/rdoc/index.html'), 'is libshoulda-ruby package installed?'
end
Modified: packages/libshoulda-ruby/trunk/debian/watch
===================================================================
--- packages/libshoulda-ruby/trunk/debian/watch 2008-09-27 13:26:17 UTC (rev 3041)
+++ packages/libshoulda-ruby/trunk/debian/watch 2008-09-27 18:41:32 UTC (rev 3042)
@@ -1,2 +1,2 @@
version=3
-http://rubyforge.org/frs/?group_id=4944 .*Shoulda-(.*).tgz
+http://pkg-ruby-extras.alioth.debian.org/upstream-cache/libshoulda-ruby/ libshoulda-ruby_(\d.*)\.orig\.tar\.gz
More information about the Pkg-ruby-extras-commits
mailing list