Commit 9a7b2158 authored by gfyoung's avatar gfyoung
Browse files

Enable frozen string for app/models/**/*.rb

Partially addresses #47424.
parent 552a9ae804ac
# frozen_string_literal: true
class ApplicationSetting
class Term < ActiveRecord::Base
include CacheMarkdownField
......
# frozen_string_literal: true
class GroupBadge < Badge
belongs_to :group
......
# frozen_string_literal: true
class ProjectBadge < Badge
belongs_to :project
......
# frozen_string_literal: true
module BlobViewer
module Auxiliary
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module BlobViewer
class Balsamiq < Base
include Rich
......
# frozen_string_literal: true
module BlobViewer
class Base
PARTIAL_PATH_PREFIX = 'projects/blob/viewers'.freeze
......
# frozen_string_literal: true
module BlobViewer
class BinarySTL < Base
include Rich
......
# frozen_string_literal: true
module BlobViewer
class Cartfile < DependencyManager
include Static
......
# frozen_string_literal: true
module BlobViewer
class Changelog < Base
include Auxiliary
......
# frozen_string_literal: true
module BlobViewer
module ClientSide
extend ActiveSupport::Concern
......
# frozen_string_literal: true
module BlobViewer
class ComposerJson < DependencyManager
include ServerSide
......
# frozen_string_literal: true
module BlobViewer
class Contributing < Base
include Auxiliary
......
# frozen_string_literal: true
module BlobViewer
class DependencyManager < Base
include Auxiliary
......
# frozen_string_literal: true
module BlobViewer
class Download < Base
include Simple
......
# frozen_string_literal: true
module BlobViewer
class Empty < Base
include Simple
......
# frozen_string_literal: true
module BlobViewer
class Gemfile < DependencyManager
include Static
......
# frozen_string_literal: true
module BlobViewer
class Gemspec < DependencyManager
include ServerSide
......
# frozen_string_literal: true
module BlobViewer
class GitlabCiYml < Base
include ServerSide
......
# frozen_string_literal: true
module BlobViewer
class GodepsJson < DependencyManager
include Static
......
# frozen_string_literal: true
module BlobViewer
class Image < Base
include Rich
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment