[Rubygems-developers] Typo in gem_commands.rb

Doug Kearns dougkearns at gmail.com
Sun Jul 10 06:17:48 EDT 2005


On Sun, Jul 10, 2005 at 05:22:00PM +1000, Doug Kearns wrote:
> Patch against CVS HEAD.

Another one.

Regards,
Doug

<snip>

Index: lib/rubygems/gem_commands.rb
===================================================================
RCS file: /var/cvs/rubygems/rubygems/lib/rubygems/gem_commands.rb,v
retrieving revision 1.62
diff -u -r1.62 gem_commands.rb
--- lib/rubygems/gem_commands.rb	10 Jul 2005 04:07:23 -0000	1.62
+++ lib/rubygems/gem_commands.rb	10 Jul 2005 10:16:38 -0000
@@ -574,7 +574,7 @@
         summary,
         {:name=>/.*/, :domain=>:local, :details=>false}
         )
-      add_option('-n', '--name-matches REGEXP', 'Name of gem(s) to query on maches the provided REGEXP') do |value, options|
+      add_option('-n', '--name-matches REGEXP', 'Name of gem(s) to query on matches the provided REGEXP') do |value, options|
         options[:name] = /#{value}/i
       end
       add_option('-d', '--[no-]details', 'Display detailed information of gem(s)') do |value, options|


More information about the Rubygems-developers mailing list