c52a67186e
I've moved the workers code into the `lib` subdirectory with other library-ish code; this puts it into the ruby load path used by most scripts so referencing files is easier. I've applied various style cleanups based on the rubocop config present. The `events` processing step has been integrated as a new worker `EventsWorker`, there is no longer a separate `events/events.rb` script. I've reworked the `rap-starter.rb` script to check for the done files in both the events and recorded status directories.
22 lines
957 B
Ruby
22 lines
957 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Copyright © 2019 BigBlueButton Inc. and by respective authors.
|
|
#
|
|
# This file is part of BigBlueButton open source conferencing system.
|
|
#
|
|
# BigBlueButton is free software: you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by the
|
|
# Free Software Foundation, either version 3 of the License, or (at your
|
|
# option) any later version.
|
|
#
|
|
# BigBlueButton 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 Lesser General Public License for more
|
|
# details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
# along with BigBlueButton. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# Set up the load path for requiring recordandplayback modules
|
|
$LOAD_PATH.unshift(__dir__) unless $LOAD_PATH.include?(__dir__)
|