lib/whimsy/asf/agenda.rb in whimsy-asf-0.0.26 vs lib/whimsy/asf/agenda.rb in whimsy-asf-0.0.27
- old
+ new
@@ -69,11 +69,11 @@
@sections[section][:index] = index if @sections[section]
end
# look for flags
flagged_reports = Hash[@file[/ \d\. Committee Reports.*?\n\s+A\./m].
- scan(/# Apache (.*?) \[(.*)\]/)]
+ scan(/# (.*?) \[(.*)\]/)]
# cleanup text and comment whitespace, add flags
@sections.each do |section, hash|
text = hash['text'] || hash['report']
if text
@@ -91,10 +91,10 @@
text.gsub! /^ {#{unindent-1}}/, ''
end
# add flags
flags = flagged_reports[hash['title']]
- hash['flags'] = flags.split(', ') if flags
+ hash['flagged_by'] = flags.split(', ') if flags
end
unless @quick
# add roster and prior report link
whimsy = 'https://whimsy.apache.org'