[DRE-commits] [SCM] ruby-mocha.git branch, master, updated. debian/0.10.3-1-10-gaa00db7

Cédric Boutillier cedric.boutillier at gmail.com
Sun Apr 22 10:01:20 UTC 2012


The following commit has been merged in the master branch:
commit fcd1741e5ff5137c9e98f825bf9ad3b0aa95fa8a
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date:   Sun Apr 22 01:49:06 2012 +0200

    create ruby-mocha-doc

diff --git a/debian/control b/debian/control
index 148a2b9..72a4468 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: ruby
 Priority: optional
 Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
 Uploaders: Antonio Terceiro <terceiro at debian.org>, Paul van Tilburg <paulvt at debian.org>, Cédric Boutillier <cedric.boutillier at gmail.com>
-Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-metaclass, ruby-introspection, ruby-minitest
+Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-metaclass, ruby-introspection, ruby-minitest, libjs-jquery
 Standards-Version: 3.9.2
 Dm-Upload-Allowed: yes
 Homepage: http://mocha.rubyforge.org/
@@ -14,13 +14,26 @@ XS-Ruby-Versions: all
 Package: ruby-mocha
 Architecture: all
 Depends: ruby | ruby-interpreter, ruby-metaclass, rubygems, ${misc:Depends}
+Suggests: ruby-mocha-doc
 Replaces: libmocha-ruby (<< 0.9.12-1~), libmocha-ruby1.8 (<< 0.9.12-1~)
 Breaks: libmocha-ruby (<< 0.9.12-1~), libmocha-ruby1.8 (<< 0.9.12-1~)
 Provides: libmocha-ruby, libmocha-ruby1.8
 Description: Mocking and stubbing library for Ruby
- Mocking and stubbing library with JMock/SchMock syntax, which allows mocking
- and stubbing of methods on real (non-mock) classes. Mocking and stubbing are
- techiniques used to improve unit testing.
+ Mocha is a mocking and stubbing library with JMock/SchMock syntax, which
+ allows mocking and stubbing of methods on real (non-mock) classes. Mocking and
+ stubbing are techniques used to improve unit testing.
+
+Package: ruby-mocha-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Suggests: ruby-mocha, doc-base
+Description: Mocking and stubbing library for Ruby - documentation
+ Mocha is a mocking and stubbing library with JMock/SchMock syntax, which
+ allows mocking and stubbing of methods on real (non-mock) classes. Mocking and
+ stubbing are techniques used to improve unit testing.
+ .
+ This package contains the documentation of the Mocha library.
 
 Package: libmocha-ruby
 Section: oldlibs
diff --git a/debian/ruby-mocha-doc.doc-base b/debian/ruby-mocha-doc.doc-base
new file mode 100644
index 0000000..9424c0a
--- /dev/null
+++ b/debian/ruby-mocha-doc.doc-base
@@ -0,0 +1,11 @@
+Document: mocha-doc
+Title: Documentation of the Ruby Mocha library
+Author: James Mead et al.
+Abstract: This documentation is generated with YARD from the source of the
+ Mocha library. It contains the API documentation as well as some examples.
+Section: Programming/Ruby
+
+Format: HTML
+Index: /usr/share/doc/ruby-mocha-doc/doc/index.html
+Files: /usr/share/doc/ruby-mocha-doc/doc/*
+
diff --git a/debian/ruby-mocha-doc.docs b/debian/ruby-mocha-doc.docs
new file mode 100644
index 0000000..8e695ec
--- /dev/null
+++ b/debian/ruby-mocha-doc.docs
@@ -0,0 +1 @@
+doc
diff --git a/debian/ruby-mocha.examples b/debian/ruby-mocha-doc.examples
similarity index 100%
rename from debian/ruby-mocha.examples
rename to debian/ruby-mocha-doc.examples
diff --git a/debian/ruby-mocha-doc.links b/debian/ruby-mocha-doc.links
new file mode 100644
index 0000000..133eeff
--- /dev/null
+++ b/debian/ruby-mocha-doc.links
@@ -0,0 +1,2 @@
+usr/share/javascript/jquery/jquery.js usr/share/doc/ruby-mocha-doc/doc/js/jquery.js
+usr/share/doc/ruby-mocha-doc/doc/file.README.html usr/share/doc/ruby-mocha-doc/doc/index.html
diff --git a/debian/ruby-mocha.docs b/debian/ruby-mocha.docs
index d91d80a..e475c53 100644
--- a/debian/ruby-mocha.docs
+++ b/debian/ruby-mocha.docs
@@ -1,2 +1 @@
 README.rdoc
-debian/README.Debian-sources

-- 
ruby-mocha.git



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