blob: fd6d425f1362b559167331989f0832df688e12bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Gentoo Council Web App - to help Gentoo Council do their job better
# Copyright (C) 2011 Joachim Filip Bartosik
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, version 3 of the License
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
if Object.const_defined? :CustomConfig
if CustomConfig.is_a? Hash
CustomConfig.clear
else
puts "Warning constant CustomConfig is defined and is not a Hash. Something is wrong."
CustomConfig = {}
end
else
CustomConfig = {}
end
CustomConfig['CouncilTerm'] = {}
CustomConfig['CouncilTerm']['start_time'] = 1.year.ago
CustomConfig['CouncilTerm']['min_days_between_meetings'] = 7
CustomConfig['CouncilTerm']['days_for_meeting'] = 7
CustomConfig['Reminders'] = {}
CustomConfig['Reminders']['hours_before_meeting_to_send_irc_reminders'] = 2
CustomConfig['Reminders']['hours_before_meeting_to_send_email_reminders'] = 2
|