Commit f288f2fe authored by gfyoung's avatar gfyoung Committed by Thong Kuah

Expand frozen string to most of spec

spec/lib/**/* will be covered in subsequent
MR's, but at least we can lint the rest of
the directory.
parent bc8581ab
......@@ -56,7 +56,7 @@ Style/FrozenStringLiteralComment:
- 'qa/**/*'
- 'rubocop/**/*'
- 'scripts/**/*'
- 'spec/**/*'
- 'spec/lib/**/*'
RSpec/FilePath:
Exclude:
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
# frozen_string_literal: true
require 'spec_helper'
require 'rubocop'
......
#!/usr/bin/env ruby
# frozen_string_literal: true
#
# # generate-seed-repo-rb
#
......@@ -15,9 +16,9 @@
require 'erb'
require 'tempfile'
SOURCE = File.expand_path('gitlab-git-test.git', __dir__).freeze
SCRIPT_NAME = 'generate-seed-repo-rb'.freeze
REPO_NAME = 'gitlab-git-test.git'.freeze
SOURCE = File.expand_path('gitlab-git-test.git', __dir__)
SCRIPT_NAME = 'generate-seed-repo-rb'
REPO_NAME = 'gitlab-git-test.git'
def main
Dir.mktmpdir do |dir|
......
#!/usr/bin/env ruby
# frozen_string_literal: true
abort unless [
system('spec/support/generate-seed-repo-rb', out: 'spec/support/helpers/seed_repo.rb'),
......
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'fileutils'
REPO = 'spec/support/gitlab-git-test.git'.freeze
REPO = 'spec/support/gitlab-git-test.git'
PACK_DIR = REPO + '/objects/pack'
GIT = %W[git --git-dir=#{REPO}].freeze
BASE_PACK = 'pack-691247af2a6acb0b63b73ac0cb90540e93614043'.freeze
BASE_PACK = 'pack-691247af2a6acb0b63b73ac0cb90540e93614043'
def main
unpack
......
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