# Band registration form for Norsk Urskog Metal Sampler
# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net>
#
# 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, either version 3 of the License, or
# (at your option) any later version.
#
# 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/>.
require_relative 'lib/registration'
require 'prawn'
params = {
'name' => 'Imbalance',
'city' => 'Oslo',
'website' => 'http://imbalance.no',
'label' => 'Calculated Imperfection',
'shortbio' => 'Thrash metal from Norway',
'members' => "Harald Eilertsen, Bass/Vocals\nWelle, Drums\nThormodr, Guitar",
'contact' => {
'name' => 'Harald Eilertsen',
'addr' => "Gamleveien 13\n1289 Snufstad",
'phone' => '98765432',
'email' => 'mail@imbalance.no'
},
'songs' => {
'1' => {
'title' => 'Bestial by Nature',
'time' => '02:80',
'isrc' => '',
'performers' => "Harald Eilertsen\nThormod Steinert\nLars Welle",
'composers' => "Harald Eilertsen\nThormod Steinert",
'notes' => 'Rævrukkje rum kjurr!'
},
'2' => {
'title' => 'The Prophecy',
'time' => '06:40',
'isrc' => 'NO-2GC-12010001-1',
'performers' => "Harald Eilertsen\nThormod Steinert\nLars Welle",
'composers' => "Harald Eilertsen\nThormod Steinert",
'notes' => 'Ulven kjæm!'
}
}
}
generate_pdf_for(Band.new(params), "output.pdf")