aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/capistrano-refinerycms.rb16
-rw-r--r--lib/capistrano/refinerycms.rb16
-rw-r--r--lib/capistrano/refinerycms/helpers.rb16
-rw-r--r--lib/capistrano/tasks/refinerycms.rake16
-rw-r--r--lib/generators/capistrano/refinerycms/templates/config_initializers_refinery_core.rb.erb18
5 files changed, 82 insertions, 0 deletions
diff --git a/lib/capistrano-refinerycms.rb b/lib/capistrano-refinerycms.rb
index e69de29..2553365 100644
--- a/lib/capistrano-refinerycms.rb
+++ b/lib/capistrano-refinerycms.rb
@@ -0,0 +1,16 @@
+# Recipes for installing RefineryCMS using Capistrano 3.x
+# Copyright (C) 2015 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
diff --git a/lib/capistrano/refinerycms.rb b/lib/capistrano/refinerycms.rb
index 14e1f02..f60e9ec 100644
--- a/lib/capistrano/refinerycms.rb
+++ b/lib/capistrano/refinerycms.rb
@@ -1 +1,17 @@
+# Recipes for installing RefineryCMS using Capistrano 3.x
+# Copyright (C) 2015 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
load File.expand_path('../tasks/refinerycms.rake', __FILE__)
diff --git a/lib/capistrano/refinerycms/helpers.rb b/lib/capistrano/refinerycms/helpers.rb
index 565f450..f0864c4 100644
--- a/lib/capistrano/refinerycms/helpers.rb
+++ b/lib/capistrano/refinerycms/helpers.rb
@@ -1,3 +1,19 @@
+# Recipes for installing RefineryCMS using Capistrano 3.x
+# Copyright (C) 2015 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
module Capistrano
module RefineryCMS
module Helpers
diff --git a/lib/capistrano/tasks/refinerycms.rake b/lib/capistrano/tasks/refinerycms.rake
index 0574c93..0589058 100644
--- a/lib/capistrano/tasks/refinerycms.rake
+++ b/lib/capistrano/tasks/refinerycms.rake
@@ -1,3 +1,19 @@
+# Recipes for installing RefineryCMS using Capistrano 3.x
+# Copyright (C) 2015 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
require 'capistrano/refinerycms/helpers'
require 'securerandom'
require 'active_support/inflector'
diff --git a/lib/generators/capistrano/refinerycms/templates/config_initializers_refinery_core.rb.erb b/lib/generators/capistrano/refinerycms/templates/config_initializers_refinery_core.rb.erb
index 296924b..e0bc23a 100644
--- a/lib/generators/capistrano/refinerycms/templates/config_initializers_refinery_core.rb.erb
+++ b/lib/generators/capistrano/refinerycms/templates/config_initializers_refinery_core.rb.erb
@@ -1,3 +1,21 @@
+<%
+# Recipes for installing RefineryCMS using Capistrano 3.x
+# Copyright (C) 2015 Harald Eilertsen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+%>
# encoding: utf-8
Refinery::Core.configure do |config|
config.rescue_not_found = Rails.env.production?