Commit 8c42a0ea authored by Thong Kuah's avatar Thong Kuah

Add frozen_string_literal to lib part 2

Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
parent 34bf7df0
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::LegacyGithubImport::ReleaseFormatter do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::LegacyGithubImport::UserFormatter do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::LegacyGithubImport::WikiFormatter do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::LoopHelpers do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::ManifestImport::Manifest do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::ManifestImport::ProjectCreator do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::MarkupHelper do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::BackgroundTransaction do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Delta do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Instrumentation do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::MethodCall do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Methods do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Metric do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Prometheus, :prometheus do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::RackMiddleware do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::RequestsRackMiddleware do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Samplers::InfluxSampler do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Samplers::RubySampler do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Samplers::UnicornSampler do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::SidekiqMetricsExporter do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::SidekiqMiddleware do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Subscribers::ActionView do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Subscribers::ActiveRecord do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::Subscribers::RailsCache do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::System do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics::WebTransaction do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Metrics do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Middleware::BasicHealthCheck do
......
# frozen_string_literal: true
require 'spec_helper'
require 'tempfile'
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Middleware::RailsQueueDuration do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Middleware::ReadOnly do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Middleware::ReleaseEnv do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::MultiCollectionPaginator do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::ObjectHierarchy do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Octokit::Middleware do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::OmniauthInitializer do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::OptimisticLocking do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::OtherMarkup do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::OtpKeyRotator do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::PagesClient do
......
# coding: utf-8
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::PathRegex do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::PerformanceBar do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::PhabricatorImport::Importer do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::PhabricatorImport::UserFinder, :clean_gitlab_redis_cache do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::PhabricatorImport::WorkerState, :clean_gitlab_redis_shared_state do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Plugin do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::PollingInterval do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Popen::Runner do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Popen do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Profiler do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::ProjectAuthorizations do
......
# coding: utf-8
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::ProjectSearchResults do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::ProjectTemplate do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::ProjectTransfer do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Prometheus::AdditionalMetricsParser do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Prometheus::Queries::AdditionalMetricsDeploymentQuery do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Prometheus::Queries::AdditionalMetricsEnvironmentQuery do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Prometheus::Queries::DeploymentQuery do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Prometheus::Queries::MatchedMetricQuery do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::PrometheusClient do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::QueryLimiting::ActiveSupportSubscriber do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::QueryLimiting::Middleware do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::QueryLimiting::Transaction do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::QueryLimiting do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::QuickActions::CommandDefinition do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::QuickActions::Dsl do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::QuickActions::Extractor do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::QuickActions::SpendTimeAndDateSeparator do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::QuickActions::SubstitutionDefinition do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Redis::Cache do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Redis::Queues do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Redis::SharedState do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Redis::Wrapper do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::ReferenceCounter do
......
# coding: utf-8
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Regex do
......
# frozen_string_literal: true
require 'spec_helper'
describe ::Gitlab::RepoPath do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::RepositoryCacheAdapter do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::RepositoryCache do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::RepositorySetCache, :clean_gitlab_redis_cache do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::RequestContext do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::RequestForgeryProtection, :allow_forgery_protection do
......
# frozen_string_literal: true
require 'fast_spec_helper'
describe Gitlab::RequestProfiler::Profile do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::RequestProfiler do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::RouteMap do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Routing do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sanitizers::Exif do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sanitizers::SVG do
......
# coding: utf-8
# frozen_string_literal: true
require 'spec_helper'
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Search::Query do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SearchResults do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sentry do
......
# frozen_string_literal: true
require 'fast_spec_helper'
describe Gitlab::Serializer::Ci::Variables do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Serializer::Pagination do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::ShardHealthCache, :clean_gitlab_redis_cache do
......
# frozen_string_literal: true
require 'spec_helper'
require 'stringio'
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sherlock::Collection do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sherlock::FileSample do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sherlock::LineProfiler do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sherlock::LineSample do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sherlock::Location do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sherlock::Middleware do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sherlock::Query do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Sherlock::Transaction do
......
# frozen_string_literal: true
require 'rails_helper'
describe Gitlab::SidekiqConfig do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SidekiqLogging::JSONFormatter do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SidekiqLogging::StructuredLogger do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SidekiqMiddleware::MemoryKiller do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SidekiqSignals do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SidekiqStatus::ClientMiddleware do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SidekiqStatus::ServerMiddleware do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SidekiqStatus do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SidekiqVersioning::Manager do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SidekiqVersioning, :sidekiq, :redis do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::Command do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::Deploy do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::IssueMove, service: true do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::IssueNew do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::IssueSearch do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::IssueShow do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::Presenters::Access do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::Presenters::Deploy do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::Presenters::IssueMove do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::Presenters::IssueNew do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::Presenters::IssueSearch do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SlashCommands::Presenters::IssueShow do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SnippetSearchResults do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SQL::CTE do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SQL::Glob do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SQL::Pattern do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SQL::RecursiveCTE do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SQL::Union do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::SSHPublicKey, lib: true do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::StringPlaceholderReplacer do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::StringRangeMarker do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::StringRegexMarker do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::TcpChecker do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Template::Finders::GlobalTemplateFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Template::Finders::RepoTemplateFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Template::GitignoreTemplate do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Template::GitlabCiYmlTemplate do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Template::IssueTemplate do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Template::MergeRequestTemplate do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Themes, lib: true do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::TreeSummary do
......
# frozen_string_literal: true
require 'fast_spec_helper'
require 'support/shared_examples/malicious_regexp_shared_examples'
require 'support/helpers/stub_feature_flags'
......
# frozen_string_literal: true
require 'fast_spec_helper'
require 'support/shared_examples/malicious_regexp_shared_examples'
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::UploadsTransfer do
......
# coding: utf-8
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::UrlBlocker do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::UrlBuilder do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::UrlSanitizer do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::UserAccess do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Utils::DeepSize do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Utils::MergeHash do
describe '.crush' do
......
# frozen_string_literal: true
require 'fast_spec_helper'
describe Gitlab::Utils::Override do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Utils::SanitizeNodeLink do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Utils::StrongMemoize do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Utils do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Verify::JobArtifacts do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Verify::LfsObjects do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Verify::Uploads do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Gitlab::VersionInfo' do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::View::Presenter::Base do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::View::Presenter::Delegated do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::View::Presenter::Factory do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::View::Presenter::Simple do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::VisibilityLevel do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::WikiFileFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe Gitlab::Workhorse do
......
# frozen_string_literal: true
require 'fast_spec_helper'
require_dependency 'gitlab'
......
# frozen_string_literal: true
require 'spec_helper'
describe GoogleApi::Auth do
......
# frozen_string_literal: true
require 'spec_helper'
describe GoogleApi::CloudPlatform::Client do
......
# frozen_string_literal: true
describe JSONWebToken::RSAToken do
let(:rsa_key) do
OpenSSL::PKey::RSA.new <<-eos.strip_heredoc
......
# frozen_string_literal: true
describe JSONWebToken::Token do
let(:token) { described_class.new }
......
# frozen_string_literal: true
require 'spec_helper'
describe Mattermost::Client do
......
# frozen_string_literal: true
require 'spec_helper'
describe Mattermost::Command do
......
# frozen_string_literal: true
require 'spec_helper'
describe Mattermost::Session, type: :request do
......
# frozen_string_literal: true
require 'spec_helper'
describe Mattermost::Team do
......
# frozen_string_literal: true
require 'spec_helper'
describe MicrosoftTeams::Activity do
......
# frozen_string_literal: true
require 'spec_helper'
describe MicrosoftTeams::Notifier do
......
# frozen_string_literal: true
require 'spec_helper'
describe MilestoneArray do
......
# frozen_string_literal: true
require 'spec_helper'
describe ObjectStorage::DirectUpload do
......
# frozen_string_literal: true
require 'spec_helper'
describe OmniAuth::Strategies::Jwt do
......
# frozen_string_literal: true
require 'spec_helper'
describe RspecFlaky::Config, :aggregate_failures do
......
# frozen_string_literal: true
require 'spec_helper'
describe RspecFlaky::Example do
......
# frozen_string_literal: true
require 'spec_helper'
describe RspecFlaky::FlakyExample, :aggregate_failures do
......
# frozen_string_literal: true
require 'spec_helper'
describe RspecFlaky::FlakyExamplesCollection, :aggregate_failures do
......
# frozen_string_literal: true
require 'spec_helper'
describe RspecFlaky::Listener, :aggregate_failures do
......
# frozen_string_literal: true
require 'spec_helper'
describe RspecFlaky::Report, :aggregate_failures do
......
# frozen_string_literal: true
require 'spec_helper'
describe SafeZip::Entry do
......
# frozen_string_literal: true
require 'spec_helper'
describe SafeZip::ExtractParams do
......
# frozen_string_literal: true
require 'spec_helper'
describe SafeZip::Extract do
......
# frozen_string_literal: true
require 'fast_spec_helper'
describe Serializers::JSON do
......
# frozen_string_literal: true
require 'spec_helper'
describe SystemCheck::App::GitUserDefaultSSHConfigCheck do
......
# frozen_string_literal: true
require 'spec_helper'
describe SystemCheck::BaseCheck do
......
# frozen_string_literal: true
require 'spec_helper'
require 'rake_helper'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rake_helper'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rake_helper'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rake_helper'
......
# frozen_string_literal: true
require 'spec_helper'
describe UploadedFile do
......
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