From 45fea420bddcf9d370b681b766a622da6f11eb38 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 17 Jun 2018 20:08:13 +0200 Subject: Add license header to files. --- lib/capistrano/tasks/configure_piwik.rake | 18 +++++++++++++++++- lib/capistrano/tasks/configure_puma.rake | 18 +++++++++++++++++- lib/capistrano/tasks/create_secret_token.rake | 18 +++++++++++++++++- lib/capistrano/tasks/refinery_setup.rake | 18 +++++++++++++++++- lib/tasks/dev_load_sample_data.rake | 15 +++++++++++++++ lib/tasks/dev_setup.rake | 15 +++++++++++++++ 6 files changed, 98 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/capistrano/tasks/configure_piwik.rake b/lib/capistrano/tasks/configure_piwik.rake index 54f458b..612b765 100644 --- a/lib/capistrano/tasks/configure_piwik.rake +++ b/lib/capistrano/tasks/configure_piwik.rake @@ -1,4 +1,18 @@ -# :mode=ruby: +# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no +# Copyright (C) 2018 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License version 3 +# as published by the Free Software Foundation. +# +# 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 . + namespace :deploy do namespace :piwik do desc 'Configure piwik for site' @@ -25,3 +39,5 @@ namespace :deploy do before 'deploy:check:linked_files', 'deploy:piwik:configure' end + +# :mode=ruby: diff --git a/lib/capistrano/tasks/configure_puma.rake b/lib/capistrano/tasks/configure_puma.rake index ccea36b..46e1daa 100644 --- a/lib/capistrano/tasks/configure_puma.rake +++ b/lib/capistrano/tasks/configure_puma.rake @@ -1,4 +1,18 @@ -# :mode=ruby: +# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no +# Copyright (C) 2018 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License version 3 +# as published by the Free Software Foundation. +# +# 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 . + namespace :deploy do desc 'Configure Puma' task :configure_puma do @@ -13,3 +27,5 @@ namespace :deploy do before 'deploy:finishing', 'deploy:generate_secret_token' end + +# :mode=ruby: diff --git a/lib/capistrano/tasks/create_secret_token.rake b/lib/capistrano/tasks/create_secret_token.rake index e51a486..01658cf 100644 --- a/lib/capistrano/tasks/create_secret_token.rake +++ b/lib/capistrano/tasks/create_secret_token.rake @@ -1,4 +1,18 @@ -# :mode=ruby: +# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no +# Copyright (C) 2018 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License version 3 +# as published by the Free Software Foundation. +# +# 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 . + require 'securerandom' namespace :deploy do @@ -15,3 +29,5 @@ namespace :deploy do before 'deploy:check:linked_files', 'deploy:generate_secret_token' end + +# :mode=ruby: diff --git a/lib/capistrano/tasks/refinery_setup.rake b/lib/capistrano/tasks/refinery_setup.rake index 8192130..4978800 100644 --- a/lib/capistrano/tasks/refinery_setup.rake +++ b/lib/capistrano/tasks/refinery_setup.rake @@ -1,4 +1,18 @@ -# :mode=ruby: +# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no +# Copyright (C) 2018 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License version 3 +# as published by the Free Software Foundation. +# +# 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 . + require 'securerandom' require 'active_support/inflector' @@ -20,3 +34,5 @@ namespace :deploy do before 'deploy:check:linked_files', 'deploy:refinery:setup' end + +# :mode=ruby: diff --git a/lib/tasks/dev_load_sample_data.rake b/lib/tasks/dev_load_sample_data.rake index c9333b9..da43843 100644 --- a/lib/tasks/dev_load_sample_data.rake +++ b/lib/tasks/dev_load_sample_data.rake @@ -1,3 +1,18 @@ +# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no +# Copyright (C) 2018 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License version 3 +# as published by the Free Software Foundation. +# +# 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 . + namespace :dev do task :create_sample_user => [:environment] do Refinery::User.create(:username => "sample user", diff --git a/lib/tasks/dev_setup.rake b/lib/tasks/dev_setup.rake index 7042710..7d7cbc7 100644 --- a/lib/tasks/dev_setup.rake +++ b/lib/tasks/dev_setup.rake @@ -1,3 +1,18 @@ +# This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no +# Copyright (C) 2018 Harald Eilertsen +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License version 3 +# as published by the Free Software Foundation. +# +# 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 . + # Rake task for local development setup namespace :dev do -- cgit v1.2.3