whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Emeritus files have their own directory
Date Tue, 26 May 2020 22:08:41 GMT
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 d18836c  Emeritus files have their own directory
d18836c is described below

commit d18836c3cf68418bd26eaf6761fee667e36576d5
Author: Sebb <sebb@apache.org>
AuthorDate: Tue May 26 23:08:32 2020 +0100

    Emeritus files have their own directory
---
 lib/whimsy/asf/memapps.rb | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/lib/whimsy/asf/memapps.rb b/lib/whimsy/asf/memapps.rb
index fe8bc6a..0d56f0e 100644
--- a/lib/whimsy/asf/memapps.rb
+++ b/lib/whimsy/asf/memapps.rb
@@ -12,10 +12,10 @@ module ASF
     @@files = nil
     @@tag = nil
 
-    # list the stems of the files (excluding any ones which record emeritus)
+    # list the stems of the files
     def self.stems
       refresh
-      apps = @@files.reject{|f| f =~ /_emeritus\.\w+$/}.map do |file|
+      apps = @@files.map do |file|
         file.sub(/\.\w+$/, '')
       end
       apps
@@ -24,16 +24,7 @@ module ASF
     # list the names of the files (excluding any ones which record emeritus)
     def self.names
       refresh
-      @@files.reject{|f| f =~ /_emeritus\.\w+$/}
-    end
-
-    # names of emeritus files
-    def self.emeritus
-      refresh
-      apps = @@files.select {|f| f =~ /_emeritus\.\w+$/}.map do |file|
-        file.sub(/_emeritus\.\w+$/, '')
-      end
-      apps
+      @@files
     end
 
     def self.sanitize(name)
@@ -105,5 +96,4 @@ if __FILE__ == $0
   puts ASF::MemApps.files.length
   puts ASF::MemApps.names.length
   puts ASF::MemApps.stems.length
-  puts ASF::MemApps.emeritus.length
 end


Mime
View raw message