Fix Style/PercentLiteralDelimiters cop (#30006)

This commit is contained in:
Matt Jankowski 2024-04-19 16:32:26 -04:00 committed by GitHub
parent d24462c81a
commit 8d47ba893a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 10 deletions

View file

@ -13,8 +13,8 @@ set :migration_role, :app
append :linked_files, '.env.production', 'public/robots.txt'
append :linked_dirs, 'vendor/bundle', 'node_modules', 'public/system'
SYSTEMD_SERVICES = %i[sidekiq streaming web].freeze
SERVICE_ACTIONS = %i[reload restart status].freeze
SYSTEMD_SERVICES = %i(sidekiq streaming web).freeze
SERVICE_ACTIONS = %i(reload restart status).freeze
namespace :systemd do
SYSTEMD_SERVICES.each do |service|

View file

@ -150,7 +150,7 @@ Doorkeeper.configure do
#
# You can use this option in order to forbid URI's with 'javascript' scheme
# for example.
forbid_redirect_uri { |uri| %w[data vbscript javascript].include?(uri.scheme.to_s.downcase) }
forbid_redirect_uri { |uri| %w(data vbscript javascript).include?(uri.scheme.to_s.downcase) }
# Specify what grant flows are enabled in array of Strings. The valid
# strings and the flows they enable are: