From ec7b305f76446c8936517c19414bf6c836f38b37 Mon Sep 17 00:00:00 2001 From: hellekin Date: Tue, 2 Feb 2021 23:53:50 +0100 Subject: [FIX] Restore REUSE 3.0 compliance --- app/controllers/taxonomies/filter_controller.rb | 4 ++++ app/controllers/taxonomies_controller.rb | 4 ++++ app/helpers/leaflet_helper.rb | 4 ++++ app/helpers/sections_helper.rb | 4 ++++ app/javascript/controllers/index.js | 4 ++++ app/jobs/ensure_agent_job.rb | 4 ++++ app/models/map.rb | 4 ++++ 7 files changed, 28 insertions(+) (limited to 'app') diff --git a/app/controllers/taxonomies/filter_controller.rb b/app/controllers/taxonomies/filter_controller.rb index ad3514c..d366cae 100644 --- a/app/controllers/taxonomies/filter_controller.rb +++ b/app/controllers/taxonomies/filter_controller.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 IN COMMON Collective +# +# SPDX-License-Identifier: AGPL-3.0-or-later + class Taxonomies::FilterController < ApplicationController # GET /taxonomies/:id/filter def show diff --git a/app/controllers/taxonomies_controller.rb b/app/controllers/taxonomies_controller.rb index f33595a..cfdfa22 100644 --- a/app/controllers/taxonomies_controller.rb +++ b/app/controllers/taxonomies_controller.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 IN COMMON Collective +# +# SPDX-License-Identifier: AGPL-3.0-or-later + class TaxonomiesController < ApplicationController # GET /taxonomies def index diff --git a/app/helpers/leaflet_helper.rb b/app/helpers/leaflet_helper.rb index 67820d3..be42b66 100644 --- a/app/helpers/leaflet_helper.rb +++ b/app/helpers/leaflet_helper.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 IN COMMON Collective +# +# SPDX-License-Identifier: AGPL-3.0-or-later + module LeafletHelper def json_marker_for(resource, section) # Style according to requested section diff --git a/app/helpers/sections_helper.rb b/app/helpers/sections_helper.rb index 20f602b..83efa40 100644 --- a/app/helpers/sections_helper.rb +++ b/app/helpers/sections_helper.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 IN COMMON Collective +# +# SPDX-License-Identifier: AGPL-3.0-or-later + module SectionsHelper # Render a section as a GeoJSON FeatureCollection def geojson_feature_collection(section) diff --git a/app/javascript/controllers/index.js b/app/javascript/controllers/index.js index 6f53d84..9068264 100644 --- a/app/javascript/controllers/index.js +++ b/app/javascript/controllers/index.js @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2021 IN COMMON Collective +// +// SPDX-License-Identifier: AGPL-3.0-or-later + // Load all the controllers within this directory and all subdirectories. // Controller files must be named *_controller.js. diff --git a/app/jobs/ensure_agent_job.rb b/app/jobs/ensure_agent_job.rb index c754fc0..127cf1d 100644 --- a/app/jobs/ensure_agent_job.rb +++ b/app/jobs/ensure_agent_job.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 IN COMMON Collective +# +# SPDX-License-Identifier: AGPL-3.0-or-later + class EnsureAgentJob < ApplicationJob queue_as :default diff --git a/app/models/map.rb b/app/models/map.rb index 10a55f6..8c7d01e 100644 --- a/app/models/map.rb +++ b/app/models/map.rb @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2021 IN COMMON Collective +# +# SPDX-License-Identifier: AGPL-3.0-or-later + class Map < ApplicationRecord include UUIDParameter belongs_to :taxonomy -- cgit v1.2.3