Enable Rubocop Style/FrozenStringLiteralComment (#23793)
This commit is contained in:
parent
9e8bc56d5a
commit
1d557305d2
394 changed files with 784 additions and 399 deletions
|
@ -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)
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Account.create_with(actor_type: 'Application', locked: true, username: 'mastodon.internal').find_or_create_by(id: -99)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# Pre-create base role
|
||||
UserRole.everyone
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
if Rails.env.development?
|
||||
domain = ENV['LOCAL_DOMAIN'] || Rails.configuration.x.local_domain
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue