From 8e310ec84ce651d415f97d81bf56b08f98940a8e Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Fri, 3 May 2024 18:21:58 +0200 Subject: [PATCH 1/2] Update RuboCop configuration --- .rubocop_todo.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 862949f..d09a552 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp` -# using RuboCop version 1.60.2. +# using RuboCop version 1.63.4. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -48,6 +48,7 @@ Naming/AccessorMethodName: # AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS Naming/FileName: Exclude: + - 'Rakefile.rb' - 'lib/omniauth-cas.rb' RSpec/AnyInstance: From 4a3e52fc47fad1bf9f43698ec46686a5bc902dd2 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Fri, 3 May 2024 18:25:00 +0200 Subject: [PATCH 2/2] Fix yard warning --- lib/omniauth/strategies/cas.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/omniauth/strategies/cas.rb b/lib/omniauth/strategies/cas.rb index d60e9fe..7975dba 100644 --- a/lib/omniauth/strategies/cas.rb +++ b/lib/omniauth/strategies/cas.rb @@ -152,7 +152,7 @@ def validate_cas_setup # +service+ and add it and the +ticket+ as paraemters to the # CAS serviceValidate URL. # - # @param [String] service the service (a.k.a. return-to) URL + # @param [String] service_url the service (a.k.a. return-to) URL # @param [String] ticket the ticket to validate # # @return [String] a URL like `http://cas.mycompany.com/serviceValidate?service=...&ticket=...`