This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 81f3da6  Agree with capitalisation everywhere else
81f3da6 is described below

commit 81f3da61405f14f7e29021104d678c5fc3895de0
Author: Sebb <[email protected]>
AuthorDate: Wed Jul 1 12:27:06 2020 +0100

    Agree with capitalisation everywhere else
---
 tools/wwwdocs.rb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/wwwdocs.rb b/tools/wwwdocs.rb
index 5090ee0..08d4316 100755
--- a/tools/wwwdocs.rb
+++ b/tools/wwwdocs.rb
@@ -1,6 +1,6 @@
 #!/usr/bin/env ruby
 # Utility function to scan various scripts
-#   Docs: for WVisible PAGETITLE and categories in .cgi
+#   Docs: for Wvisible PAGETITLE and categories in .cgi
 #   Repos: for ASF::SVN access in .cgi|rb
 $LOAD_PATH.unshift '/srv/whimsy/lib'
 require 'wunderbar'
@@ -47,12 +47,12 @@ def emit_auth_level(level)
   end
 end
 
-# Scan single file for PAGETITLE and categories when WVisible
+# Scan single file for PAGETITLE and categories when Wvisible
 # @return [PAGETITLE, [cat,egories] ] or ["!Bogosity error", "stacktrace"]
 def scan_file(f)
   begin
     File.open(f).each_line.map(&:chomp).each do |line|
-      if line =~ /\APAGETITLE\s?=\s?"([^"]+)"\s?#\s?WVisible:(.*)/i then
+      if line =~ /\APAGETITLE\s?=\s?"([^"]+)"\s?#\s?Wvisible:(.*)/i then
         return [$1, $2.chomp.split(%r{[\s,]})]
       end
     end
@@ -62,7 +62,7 @@ def scan_file(f)
   end
 end
 
-# Return data only about WVisible cgis, plus any errors
+# Return data only about Wvisible cgis, plus any errors
 # @return [ [PAGETITLE, [cat,egories] ], ... ]
 def scan_dir(dir)
   links = {}

Reply via email to