From be9ca9e6b01e95d6875a334ff04f69f128ed8ac5 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sun, 1 Dec 2024 18:43:28 +0000 Subject: [PATCH] Add copyright notice --- app/controllers/captcha_controller.rb | 2 ++ app/services/libre_captcha.rb | 2 ++ spec/requests/captcha_spec.rb | 2 ++ 3 files changed, 6 insertions(+) diff --git a/app/controllers/captcha_controller.rb b/app/controllers/captcha_controller.rb index 79f84ea..428328d 100644 --- a/app/controllers/captcha_controller.rb +++ b/app/controllers/captcha_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + class CaptchaController < ApplicationController skip_before_action :authenticate_user! diff --git a/app/services/libre_captcha.rb b/app/services/libre_captcha.rb index 3d49e5a..d811437 100644 --- a/app/services/libre_captcha.rb +++ b/app/services/libre_captcha.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + class LibreCaptcha def get_id HTTParty.post("http://libre-captcha:8888/v2/captcha", diff --git a/spec/requests/captcha_spec.rb b/spec/requests/captcha_spec.rb index adac1a8..4cde63a 100644 --- a/spec/requests/captcha_spec.rb +++ b/spec/requests/captcha_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'swagger_helper' RSpec.describe 'captcha', type: :request do