1
0
Fork 0
forked from gitea/nas

Enable Rubocop Style/FrozenStringLiteralComment (#23793)

This commit is contained in:
Nick Schonning 2023-07-12 03:47:08 -04:00 committed by GitHub
parent 9e8bc56d5a
commit 1d557305d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
394 changed files with 784 additions and 399 deletions

View file

@ -1 +1,3 @@
# frozen_string_literal: true
Doorkeeper::Application.create_with(name: 'Web', redirect_uri: Doorkeeper.configuration.native_redirect_uri, scopes: 'read write follow push').find_or_create_by(superapp: true)

View file

@ -1 +1,3 @@
# frozen_string_literal: true
Account.create_with(actor_type: 'Application', locked: true, username: 'mastodon.internal').find_or_create_by(id: -99)

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
# Pre-create base role
UserRole.everyone

View file

@ -1,3 +1,5 @@
# frozen_string_literal: true
if Rails.env.development?
domain = ENV['LOCAL_DOMAIN'] || Rails.configuration.x.local_domain