Skip to content

Commit

Permalink
Apply new legal comments to config Ruby files
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Altmann committed Oct 13, 2015
1 parent c5e2677 commit 12c2f7b
Show file tree
Hide file tree
Showing 42 changed files with 164 additions and 444 deletions.
25 changes: 4 additions & 21 deletions config/application.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require File.expand_path('../boot', __FILE__)

require 'csv'
Expand Down
25 changes: 4 additions & 21 deletions config/boot.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

require 'rubygems'

# Set up gems listed in the Gemfile.
Expand Down
4 changes: 4 additions & 0 deletions config/deploy.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

# config valid only for Capistrano 3.1
lock '3.3.5'

Expand Down
4 changes: 4 additions & 0 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

set :stage, :production

server '78.109.61.168', user: 'deploy', roles: %w{web app db}
Expand Down
4 changes: 4 additions & 0 deletions config/deploy/staging.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

set :stage, :staging

server '78.109.61.137', user: 'deploy', roles: %w{web app db sidekiq console}
Expand Down
25 changes: 4 additions & 21 deletions config/environment.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

# Load the rails application
require File.expand_path('../application', __FILE__)

Expand Down
25 changes: 4 additions & 21 deletions config/environments/development.example.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

Fairmondo::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

Expand Down
25 changes: 4 additions & 21 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

Fairmondo::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

Expand Down
25 changes: 4 additions & 21 deletions config/environments/staging.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

Fairmondo::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

Expand Down
25 changes: 4 additions & 21 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

Fairmondo::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

Expand Down
25 changes: 4 additions & 21 deletions config/initializers/backtrace_silencers.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

# Be sure to restart your server when you modify this file.

# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
Expand Down
4 changes: 4 additions & 0 deletions config/initializers/belboon_config.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

begin
if Rails.env.production?
BELBOON_IDS = YAML.load(File.read('/var/www/fairnopoly/shared/config/belboon_trackable_users.yml'))['belboon']['users']
Expand Down
4 changes: 4 additions & 0 deletions config/initializers/canonical_rails.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

# Do yourself a favor and set these up right when you install the engine.

CanonicalRails.setup do |config|
Expand Down
4 changes: 4 additions & 0 deletions config/initializers/cleverreach.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

CleverreachAPI::API_KEY = Rails.application.secrets.cleverreach_api_key
CleverreachAPI::LIST_ID = Rails.application.secrets.cleverreach_list_id
4 changes: 4 additions & 0 deletions config/initializers/courier.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

begin
courier = {}
if Rails.env == 'production'
Expand Down
25 changes: 4 additions & 21 deletions config/initializers/devise.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

# Use this hook to configure devise mailer, warden hooks and so forth.
# Many of these configuration options can be set straight in your model.
Devise.setup do |config|
Expand Down
4 changes: 4 additions & 0 deletions config/initializers/discourse.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

if Rails.env.production?
DISCOURSE_SECRET = Rails.application.secrets.discourse_secret
DISCOURSE_URL = Rails.application.secrets.discourse_url
Expand Down
23 changes: 4 additions & 19 deletions config/initializers/email_addresses.rb
Original file line number Diff line number Diff line change
@@ -1,22 +1,7 @@
#
# Farinopoly - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Farinopoly.
#
# Farinopoly 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.
#
# Farinopoly 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 Farinopoly. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

begin

addresses = YAML.load(File.read(File.expand_path(File.join( Rails.root, 'config', 'email_addresses.yml'))))
Expand Down
24 changes: 3 additions & 21 deletions config/initializers/exceptions.rb
Original file line number Diff line number Diff line change
@@ -1,24 +1,6 @@
#
#
# == License:
# Fairmondo - Fairmondo is an open-source online marketplace.
# Copyright (C) 2013 Fairmondo eG
#
# This file is part of Fairmondo.
#
# Fairmondo 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.
#
# Fairmondo 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 Fairmondo. If not, see <http://www.gnu.org/licenses/>.
#
# Copyright (c) 2012-2015, Fairmondo eG. This file is
# licensed under the GNU Affero General Public License version 3 or later.
# See the COPYRIGHT file for details.

begin
# Loading Exceptions
Expand Down
Loading

0 comments on commit 12c2f7b

Please sign in to comment.