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 33a857c Docn
33a857c is described below
commit 33a857c6e8e09d504e8153dbec0746404cf0b9fc
Author: Sebb <[email protected]>
AuthorDate: Thu Jun 29 21:04:43 2017 +0100
Docn
---
lib/whimsy/asf/mlist.rb | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/whimsy/asf/mlist.rb b/lib/whimsy/asf/mlist.rb
index a5cb6b7..6debf13 100644
--- a/lib/whimsy/asf/mlist.rb
+++ b/lib/whimsy/asf/mlist.rb
@@ -24,6 +24,10 @@ module ASF
end
# return a hash of subscriptions for the list of emails provided
+ # the following keys are added to the response hash:
+ # :subtime - the timestamp when the data was last updated
+ # :subscriptions - an array of pairs: [list name, subscriber email]
+ # N.B. not the same format as the moderates() method
def self.subscriptions(emails, response = {})
return response unless File.exists? LIST_SUBS
@@ -51,6 +55,10 @@ module ASF
end
# return the mailing lists which are moderated by any of the list of emails
+ # the following keys are added to the response hash:
+ # :modtime - the timestamp when the data was last updated
+ # :moderates - a hash. key: list name; entry: array of moderators
+ # N.B. not the same format as the subscriptions() method
def self.moderates(user_emails, response = {})
return response unless File.exists? LIST_MODS
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].