Gentoo Archives: gentoo-dev

From: Ben Kohler <bkohler@g.o>
To: gentoo-dev@l.g.o
Cc: ruby@g.o
Subject: [gentoo-dev] [PATCH] ruby-fakegem.eclass: function name typo fix & minor @USAGE fixes
Date: Fri, 06 Sep 2019 19:08:25
Message-Id: 20190906190820.1404-1-bkohler@gentoo.org
1 Signed-off-by: Ben Kohler <bkohler@g.o>
2 ---
3 eclass/ruby-fakegem.eclass | 14 +++++++-------
4 1 file changed, 7 insertions(+), 7 deletions(-)
5
6 diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
7 index a6a7654f9e6..f75e1669b0c 100644
8 --- a/eclass/ruby-fakegem.eclass
9 +++ b/eclass/ruby-fakegem.eclass
10 @@ -207,7 +207,7 @@ ruby_fakegem_gemsdir() {
11 }
12
13 # @FUNCTION: ruby_fakegem_doins
14 -# @USAGE: file [file...]
15 +# @USAGE: <file> [file...]
16 # @DESCRIPTION:
17 # Installs the specified file(s) into the gems directory.
18 ruby_fakegem_doins() {
19 @@ -217,8 +217,8 @@ ruby_fakegem_doins() {
20 ) || die "failed $0 $@"
21 }
22
23 -# @FUNCTION: ruby_fakegem_newsins
24 -# @USAGE: file filename
25 +# @FUNCTION: ruby_fakegem_newins
26 +# @USAGE: <file> <newname>
27 # @DESCRIPTION:
28 # Installs the specified file into the gems directory using the provided filename.
29 ruby_fakegem_newins() {
30 @@ -262,7 +262,7 @@ ruby_fakegem_install_gemspec() {
31 }
32
33 # @FUNCTION: ruby_fakegem_gemspec_gemspec
34 -# @USAGE: gemspec-input gemspec-output
35 +# @USAGE: <gemspec-input> <gemspec-output>
36 # @DESCRIPTION:
37 # Generates an installable version of the specification indicated by
38 # RUBY_FAKEGEM_GEMSPEC. This file is eval'ed to produce a final specification
39 @@ -272,7 +272,7 @@ ruby_fakegem_gemspec_gemspec() {
40 }
41
42 # @FUNCTION: ruby_fakegem_metadata_gemspec
43 -# @USAGE: gemspec-metadata gemspec-output
44 +# @USAGE: <gemspec-metadata> <gemspec-output>
45 # @DESCRIPTION:
46 # Generates an installable version of the specification indicated by
47 # the metadata distributed by the gem itself. This is similar to how
48 @@ -282,7 +282,7 @@ ruby_fakegem_metadata_gemspec() {
49 }
50
51 # @FUNCTION: ruby_fakegem_genspec
52 -# @USAGE: output-gemspec
53 +# @USAGE: <output-gemspec>
54 # @DESCRIPTION:
55 # Generates a gemspec for the package and places it into the "specifications"
56 # directory of RubyGems.
57 @@ -327,7 +327,7 @@ EOF
58 }
59
60 # @FUNCTION: ruby_fakegem_binwrapper
61 -# @USAGE: command [path] [content]
62 +# @USAGE: <command> [path] [content]
63 # @DESCRIPTION:
64 # Creates a new binary wrapper for a command installed by the RubyGem.
65 # path defaults to /usr/bin/$command content is optional and can be used
66 --
67 2.23.0

Replies