[DRE-commits] [SCM] ruby-policy.git branch, master, updated. 48aaed4ad9ae903de1f53b5a9149a63435b2730d
Cédric Boutillier
cedric.boutillier at gmail.com
Mon Mar 26 21:30:07 UTC 2012
The following commit has been merged in the master branch:
commit 48aaed4ad9ae903de1f53b5a9149a63435b2730d
Author: Cédric Boutillier <cedric.boutillier at gmail.com>
Date: Mon Mar 26 23:29:55 2012 +0200
Proofread
diff --git a/ruby-policy.xml b/ruby-policy.xml
index f245b07..5fb13e4 100644
--- a/ruby-policy.xml
+++ b/ruby-policy.xml
@@ -69,7 +69,7 @@
<abstract>
<title>Abstract</title>
<para>
- This is the ruby policy for Debian.
+ This is the Ruby policy for Debian.
</para>
</abstract>
</bookinfo>
@@ -177,7 +177,7 @@
<para>
In the case a Ruby interpreter provides the
<literal>ruby-interpreter</literal> virtual package, then it &must;
- depend in the <literal>ruby-common</literal> package.
+ depend on the <literal>ruby-common</literal> package.
</para>
<sect2>
@@ -189,13 +189,13 @@
<itemizedlist>
<listitem>
<para>
- <filename>/usr/lib/vendor_ruby</filename>, a location
+ <filename>/usr/lib/ruby/vendor_ruby</filename>, a location
containing plain Ruby files;
</para>
</listitem>
<listitem>
<para>
- <filename>/usr/lib/vendor_ruby/</filename>&pkg;, where
+ <filename>/usr/lib/ruby/vendor_ruby/</filename>&pkg;, where
&pkg; is the package name (and the interpreter name
too), and/or a subdirectory of that directory whose
name is architecture-dependant. This
@@ -213,22 +213,22 @@
<itemizedlist>
<listitem>
<para>
- The <emphasis>site directory</emphasis>, where files
+ the <emphasis>site directory</emphasis>, where files
installed by local administrator (typically a
subdirectory of <filename>/usr/local</filename>;
</para>
</listitem>
<listitem>
<para>
- The aforementioned subdirectories in
- <filename>/usr/lib/vendor_ruby/</filename>.
+ the aforementioned subdirectories in
+ <filename>/usr/lib/ruby/vendor_ruby/</filename>;
</para>
</listitem>
<listitem>
<para>
- And, finally, the system directories, where the system
+ and, finally, the system directories, where the system
libraries bundled with the interpreter are installed
- (the ruby standard library).
+ (the Ruby standard library).
</para>
</listitem>
</itemizedlist>
@@ -245,7 +245,7 @@
<title>Ruby libraries</title>
<para>
- By library, we mean <quote>every package that contains ruby
+ By library, we mean <quote>every package that contains Ruby
code and is not a Ruby interpreter</quote>. In particular,
this also includes applications not necessarily meant to be used
as libraries. For applications additional requirements and/or
@@ -267,7 +267,7 @@
<itemizedlist>
<listitem>
<para>
- ruby interpreters, such as
+ Ruby interpreters, such as
<literal>ruby-1.9.1</literal> or
<literal>jruby</literal>;
</para>
@@ -286,7 +286,7 @@
binary package.
</para>
<para>
- In the case of software previoulsy relased with the old
+ In the case of software previously released with the old
package name policy
(<literal>lib-</literal>&pkg;<literal>-ruby</literal> and
versioned variants thereof), packagers &must; provide
@@ -335,7 +335,7 @@
<sect2>
<title>Installation paths</title>
<para>
- Pure ruby code (ie ruby files) &must; be installed under
+ Pure Ruby code (i.e. Ruby files) &must; be installed under
<filename>/usr/lib/ruby/vendor_ruby</filename>.
</para>
<para>
@@ -367,7 +367,7 @@
<sect2>
<title>Rubygems</title>
<para>
- To avoid hard-to-detect mixes of Debian and local ruby
+ To avoid hard-to-detect mixes of Debian and local Ruby
libraries, packages &mustnot; use
<literal>rubygems</literal>. In particular the use of
<literal>require 'rubygems'</literal> and
@@ -419,9 +419,9 @@
<title>Handling the different Ruby interpreters</title>
<para>
If the application is supposed to work correcly with any Ruby
- interpreter, than it &must; have a <literal>#!/usr/bin/ruby</literal>
+ interpreter, then it &must; have a <literal>#!/usr/bin/ruby</literal>
shebang, and &must; depend on
- <literal>ruby |ruby-interpreter</literal>.
+ <literal>ruby | ruby-interpreter</literal>.
This &should; be the default for most packages, since it will ease
the transition to new default versions of the Ruby interpreter.
</para>
--
ruby-policy.git
More information about the Pkg-ruby-extras-commits
mailing list