aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-08-19 19:59:17 +0200
committerJoachim Filip Ignacy Bartosik <jbartosik@gmail.com>2010-09-01 15:08:47 +0200
commitddd715b3245808d726b3b6b1133b2eace6a96315 (patch)
treeb4584594f96c51a0129507d1b0a522380f79517e /lib
parentAdd AGPL licence (diff)
downloadrecruiting-webapp-ddd715b3245808d726b3b6b1133b2eace6a96315.tar.gz
recruiting-webapp-ddd715b3245808d726b3b6b1133b2eace6a96315.tar.bz2
recruiting-webapp-ddd715b3245808d726b3b6b1133b2eace6a96315.zip
Add copyright notice to *.rb files under lib/ and app/
Diffstat (limited to 'lib')
-rw-r--r--lib/permissions/anyone_can_view_admin_can_change.rb14
-rw-r--r--lib/permissions/anyone_can_view_recruiter_can_change.rb14
-rw-r--r--lib/permissions/inherit.rb14
-rw-r--r--lib/permissions/owned_model.rb14
-rw-r--r--lib/permissions/set.rb14
-rw-r--r--lib/rich_types/check_list.rb14
6 files changed, 84 insertions, 0 deletions
diff --git a/lib/permissions/anyone_can_view_admin_can_change.rb b/lib/permissions/anyone_can_view_admin_can_change.rb
index f323a51..4cea8dd 100644
--- a/lib/permissions/anyone_can_view_admin_can_change.rb
+++ b/lib/permissions/anyone_can_view_admin_can_change.rb
@@ -1,3 +1,17 @@
+# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better
+# Copyright (C) 2010 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/>.
require 'permissions/set'
# Modules helping to manage permissions
module Permissions
diff --git a/lib/permissions/anyone_can_view_recruiter_can_change.rb b/lib/permissions/anyone_can_view_recruiter_can_change.rb
index 89984a9..e40440c 100644
--- a/lib/permissions/anyone_can_view_recruiter_can_change.rb
+++ b/lib/permissions/anyone_can_view_recruiter_can_change.rb
@@ -1,3 +1,17 @@
+# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better
+# Copyright (C) 2010 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/>.
require 'permissions/set'
module Permissions
# If you include this recruiters will be allowed to do everything,
diff --git a/lib/permissions/inherit.rb b/lib/permissions/inherit.rb
index 2617d82..91fbf54 100644
--- a/lib/permissions/inherit.rb
+++ b/lib/permissions/inherit.rb
@@ -1,3 +1,17 @@
+# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better
+# Copyright (C) 2010 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/>.
require 'permissions/set.rb'
# If you call this in your model it will have exactly the same permissions as
# source.
diff --git a/lib/permissions/owned_model.rb b/lib/permissions/owned_model.rb
index 695add7..ae2f14a 100644
--- a/lib/permissions/owned_model.rb
+++ b/lib/permissions/owned_model.rb
@@ -1,3 +1,17 @@
+# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better
+# Copyright (C) 2010 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/>.
module Permissions
# Please don't include this directly - use owned_model method
module OwnedModel
diff --git a/lib/permissions/set.rb b/lib/permissions/set.rb
index 0038995..b10a2c4 100644
--- a/lib/permissions/set.rb
+++ b/lib/permissions/set.rb
@@ -1,3 +1,17 @@
+# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better
+# Copyright (C) 2010 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/>.
AllPermissions = [:create, :update, :destroy, :view, :edit]
# Block will be used to determine chosen permission
diff --git a/lib/rich_types/check_list.rb b/lib/rich_types/check_list.rb
index 5b948fa..9821368 100644
--- a/lib/rich_types/check_list.rb
+++ b/lib/rich_types/check_list.rb
@@ -1,3 +1,17 @@
+# Gentoo Recruiters Web App - to help Gentoo recruiters do their job better
+# Copyright (C) 2010 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/>.
# This module includes non-basic types used in models
module RichTypes
# Stores information on which options were selected.