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 e8b3e3e Now using Ruby 2+
e8b3e3e is described below
commit e8b3e3ea29d0c2f77631d7f8640a37570db70795
Author: Sebb <[email protected]>
AuthorDate: Sun Nov 24 23:43:23 2019 +0000
Now using Ruby 2+
---
www/board/test.cgi | 5 ++---
www/committers/test.cgi | 4 +---
www/members/test.cgi | 5 ++---
www/officers/test.cgi | 2 +-
4 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/www/board/test.cgi b/www/board/test.cgi
index f3d862e..2489c0d 100755
--- a/www/board/test.cgi
+++ b/www/board/test.cgi
@@ -1,4 +1,3 @@
#!/usr/bin/env ruby
-# __dir__ requires 2.0
-#load "#{__dir__}/../test.cgi"
-load File.expand_path('../../test.cgi',__FILE__)
+PAGETITLE = "Whimsy Environment Tester" # Wvisible:tools
+load "#{__dir__}/../test.cgi"
diff --git a/www/committers/test.cgi b/www/committers/test.cgi
index ca7ead2..2489c0d 100755
--- a/www/committers/test.cgi
+++ b/www/committers/test.cgi
@@ -1,5 +1,3 @@
#!/usr/bin/env ruby
PAGETITLE = "Whimsy Environment Tester" # Wvisible:tools
-# __dir__ requires 2.0
-#load "#{__dir__}/../test.cgi"
-load File.expand_path('../../test.cgi',__FILE__)
+load "#{__dir__}/../test.cgi"
diff --git a/www/members/test.cgi b/www/members/test.cgi
index f3d862e..2489c0d 100755
--- a/www/members/test.cgi
+++ b/www/members/test.cgi
@@ -1,4 +1,3 @@
#!/usr/bin/env ruby
-# __dir__ requires 2.0
-#load "#{__dir__}/../test.cgi"
-load File.expand_path('../../test.cgi',__FILE__)
+PAGETITLE = "Whimsy Environment Tester" # Wvisible:tools
+load "#{__dir__}/../test.cgi"
diff --git a/www/officers/test.cgi b/www/officers/test.cgi
index 5de26a4..2489c0d 100755
--- a/www/officers/test.cgi
+++ b/www/officers/test.cgi
@@ -1,3 +1,3 @@
#!/usr/bin/env ruby
-
+PAGETITLE = "Whimsy Environment Tester" # Wvisible:tools
load "#{__dir__}/../test.cgi"