From bc486c6818949309ba90e9c7cb5d0a3fbd39b43a Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 29 Oct 2020 22:50:49 +0100 Subject: REUSE: Add AGPL-3.0-or-later on remaining IN COMMON code --- config/initializers/inflections.rb | 4 ++++ config/initializers/sso_config.rb | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'config') diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index 13e8739..0e49cd1 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 IN COMMON Collective +# +# SPDX-License-Identifier: AGPL-3.0-or-later + # Be sure to restart your server when you modify this file. # Add new inflection rules using the following format. Inflections diff --git a/config/initializers/sso_config.rb b/config/initializers/sso_config.rb index d88b595..cf3bf3f 100644 --- a/config/initializers/sso_config.rb +++ b/config/initializers/sso_config.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018-2020 IN COMMON Collective +# +# SPDX-License-Identifier: AGPL-3.0-or-later + # frozen_string_literal: true # See lib/sso/from_discourse.rb -- cgit v1.2.3 From 80c8aefde9558bd6350153120ebdac66c9255772 Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 29 Oct 2020 22:56:37 +0100 Subject: REUSE: Add MIT to original Rails files --- config/database.yml | 4 ++++ config/initializers/kaminari_config.rb | 4 ++++ config/puma.rb | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'config') diff --git a/config/database.yml b/config/database.yml index 74519f2..1912468 100644 --- a/config/database.yml +++ b/config/database.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2004-2020 David Heinemeier Hansson +# +# SPDX-License-Identifier: MIT +# # PostgreSQL. Versions 9.3 and up are supported. # # Install the pg driver: diff --git a/config/initializers/kaminari_config.rb b/config/initializers/kaminari_config.rb index 4ba6ee3..2165cf2 100644 --- a/config/initializers/kaminari_config.rb +++ b/config/initializers/kaminari_config.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2011 Akira Matsuda +# +# SPDX-License-Identifier: MIT + # frozen_string_literal: true Kaminari.configure do |config| diff --git a/config/puma.rb b/config/puma.rb index 98bdd50..8879c35 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2004-2020 David Heinemeier Hansson +# SPDX-FileCopyrightText: 2020 IN COMMON Collective +# SPDX-License-Identifier: MIT + # Puma can serve each request in a thread from an internal thread pool. # The `threads` method setting takes two numbers: a minimum and maximum. # Any libraries that use thread pools should be configured to match -- cgit v1.2.3 From 2cd2d1cb95e9a5ca8c651a676e39a237408e8721 Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 29 Oct 2020 22:57:12 +0100 Subject: REUSE: Add LAL-1.3 to translation strings --- config/locales/en.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') diff --git a/config/locales/en.yml b/config/locales/en.yml index cf9b342..125f659 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2020 IN COMMON Collective Date: Thu, 29 Oct 2020 22:57:45 +0100 Subject: REUSE: Add AGPL-3.0-or-later to routes --- config/routes.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') diff --git a/config/routes.rb b/config/routes.rb index 0de14b5..a3fcf8c 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2020 IN COMMON Collective +# SPDX-License-Identifier: AGPL-3.0-or-later + Rails.application.routes.draw do # For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html -- cgit v1.2.3 From 757decefafb5d82557a8b7fa9691f94f19c3207e Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 29 Oct 2020 23:27:23 +0100 Subject: Allow using INCOMMON as a module name --- config/initializers/inflections.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config') diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index 0e49cd1..2292fab 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -23,4 +23,5 @@ ActiveSupport::Inflector.inflections do |inflect| inflect.irregular 'human', 'humans' inflect.acronym 'API' inflect.acronym 'SSO' + inflect.acronym 'INCOMMON' end -- cgit v1.2.3