[DRE-commits] [SCM] ruby-shoulda.git branch, master, updated. 151ef8fe8afc2d595c27ff051a6c400560ded4db

Antonio Terceiro terceiro at softwarelivre.org
Thu Jun 9 06:38:29 UTC 2011


The following commit has been merged in the master branch:
commit badf1a5c5338e80dc6dc2fab5ecff68f4a30af1a
Author: Antonio Terceiro <terceiro at softwarelivre.org>
Date:   Mon Jun 6 22:31:15 2011 -0700

    Debian packaging

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d90c22f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,33 @@
+ruby-shoulda (2.11.3-1) UNRELEASED; urgency=low
+
+  * Rename package to ruby-shoulda and migrate to gem2deb.
+
+ -- Antonio Terceiro <terceiro at softwarelivre.org>  Mon, 04 Apr 2011 10:56:19 -0700
+
+libshoulda-ruby (2.10.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bumped Standards-Version to 3.8.4. No changes needed.
+  * Added debian/source/format, converting to "3.0 (quilt)"
+  * Fixed typo in debian/convert_to_should_syntax.1
+
+ -- Antonio Terceiro <terceiro at softwarelivre.org>  Sun, 18 Apr 2010 21:01:25 -0300
+
+libshoulda-ruby (2.10.1-1) unstable; urgency=low
+
+  [ Gunnar Wolf ]
+  * Changed section to Ruby as per ftp-masters' request
+
+  [ Antonio Terceiro ]
+  * New upstream release.
+  * Diferentiating description of binary packages.
+  * Bumped Standards Version to 3.8.1; no changes needed.
+  * Adjusted copyright file with proper copyright signs.
+
+ -- Antonio Terceiro <terceiro at softwarelivre.org>  Sat, 02 May 2009 00:39:26 -0300
+
+libshoulda-ruby (2.0.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #500341)
+
+ -- Antonio Terceiro <terceiro at softwarelivre.org>  Sun, 21 Dec 2008 21:05:52 -0300
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..40d0f5b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: ruby-shoulda
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Antonio Terceiro <terceiro at softwarelivre.org>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.1)
+Standards-Version: 3.9.1
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-shoulda.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-shoulda;a=summary
+Homepage: https://github.com/thoughtbot/shoulda
+XS-Ruby-Versions: all
+
+Package: ruby-shoulda
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby1.8 | ruby-interpreter, ruby-shoulda-context, ruby-shoulda-matchers
+Replaces: libshoulda-ruby (<< 2.11.3-1~), libshoulda-ruby1.8 (<< 2.11.3-1~)
+Conflicts: libshoulda-ruby (<< 2.11.3-1~), libshoulda-ruby1.8 (<< 2.11.3-1~)
+Provides: libshoulda-ruby, libshoulda-ruby1.8
+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.
+
+Package: libshoulda-ruby
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-shoulda
+Description: Transitional package for ruby-shoulda
+ This is a transitional package to ease upgrades to the ruby-shoulda
+ package. It can safely be removed.
+
+Package: libshoulda-ruby1.8
+Section: oldlibs
+Architecture: all
+Depends: ${misc:Depends}, ruby-shoulda
+Description: Transitional package for ruby-shoulda
+ This is a transitional package to ease upgrades to the ruby-shoulda
+ package. It can safely be removed.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ab45964
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173
+Upstream-Name: shoulda
+Source: https://github.com/thoughtbot/shoulda
+
+Files: *
+Copyright:
+ Copyright © 2007, Tammer Saleh, Thoughtbot, Inc.
+ Copyright © 2006-2011 Tammer Saleh, thoughtbot.
+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 <terceiro at softwarelivre.org>
+License:
+ Debian package files are licensed under the same terms as the upstream
+ packages (see above).
diff --git a/debian/ruby-shoulda.docs b/debian/ruby-shoulda.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-shoulda.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..404e3f4
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,15 @@
+require 'test/unit'
+require 'shoulda'
+
+class NiceTest < Test::Unit::TestCase
+
+  context "shoulda" do
+
+    should 'just work' do
+      # is this test runs at all it already works :)
+      assert true
+    end
+
+  end
+  
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a4b9e28
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#
+# Uncomment to ignore all test failures (but the tests will run anyway)
+#export DH_RUBY_IGNORE_TESTS=all
+#
+# Uncomment to ignore some test failures (but the tests will run anyway).
+# Valid values:
+#export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems
+
+%:
+	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/test.rb b/debian/test.rb
new file mode 100644
index 0000000..d7b6a86
--- /dev/null
+++ b/debian/test.rb
@@ -0,0 +1,31 @@
+# This file must be (`ruby debian/test.rb`) once the libshoulda-ruby* packages
+# are installed to make some sanity checks, and to verify that they work, at least
+# at a basic level.
+require 'test/unit'
+require 'shoulda'
+
+class NiceTest < Test::Unit::TestCase
+
+  context "shoulda" do
+
+    should 'just work' do
+      # is this test runs at all it already works :)
+      assert true
+    end
+
+    context "in Debian" do
+
+      should 'move proc_extensions.rb out of top level ruby library dir' do
+        assert !File.exists?('/usr/lib/ruby/1.8/proc_extensions.rb')
+        assert File.exists?('/usr/lib/ruby/1.8/shoulda/proc_extensions.rb')
+      end
+
+      should 'install RDOC documentation' do
+        assert File.exists?('/usr/share/doc/libshoulda-ruby/rdoc/index.html'), 'is libshoulda-ruby package installed?'
+      end
+
+    end
+
+  end
+  
+end
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..cd77316
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/shoulda .*/shoulda-(.*).tar.gz

-- 
ruby-shoulda.git



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