Specify frozen_string_literal: true

This commit is contained in:
SHIBATA Hiroshi 2017-06-20 09:26:16 +09:00
parent 8f6206bfc8
commit 68ef9140c1
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2
94 changed files with 94 additions and 94 deletions

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module RDoc
module Page

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
#--
# Copyright 2003-2010 by Jim Weirich (jim.weirich@gmail.com)
#

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "optparse"
require "rake/task_manager"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
module Backtrace # :nodoc: all
SYS_KEYS = RbConfig::CONFIG.keys.grep(/(?:[a-z]prefix|libdir)\z/)

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
# The 'rake/clean' file defines two file lists (CLEAN and CLOBBER) and
# two rake tasks (:clean and :clobber).
#

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
##
# Mixin for creating easily cloned objects.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# Based on a script at:

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# Default Rakefile loader used by +import+.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
# Rake DSL functions.
require "rake/file_utils_ext"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# EarlyTime is a fake timestamp that occurs _before_ any other time value.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
class Module
# Check for an existing method in the current class before extending. If
# the method already exists, then a warning is printed and the extension is

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake/ext/core"
class String

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake/file_task"
require "rake/early_time"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake/cloneable"
require "rake/file_utils_ext"
require "rake/ext/string"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake/task.rb"
require "rake/early_time"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rbconfig"
require "fileutils"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake/file_utils"
module Rake

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# InvocationChain tracks the chain of task invocations to detect

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
module InvocationExceptionMixin
# Return the invocation chain (list of Rake tasks) that were in

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# LateTime is a fake timestamp that occurs _after_ any other time value.
class LateTime

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# Polylithic linked list structure used to implement several data

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# Makefile loader to be used with the import file loader. Use this to

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# Same as a regular task, but the immediate prerequisites are done in

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
##
# The NameSpace class will lookup task names in the scope defined by a
# +namespace+ command.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
# Define a package task library to aid in the definition of
# redistributable package files.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
# Defines a :phony task that you can use as a dependency. This allows
# file-based tasks to use non-file-based tasks as prerequisites
# without forcing them to rebuild.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# Include PrivateReader to use +private_reader+.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# A Promise object represents a promise to do work (a chore) in the

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
##

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake/application"
module Rake

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake"
# Load the test files from the command line.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# Error indicating a recursion overflow error in task selection.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
class Scope < LinkedList # :nodoc: all

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake/invocation_exception_mixin"
module Rake

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# Error indicating an ill-formed task declaration.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
##

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
# The TaskManager module is a mixin for managing tasks.

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake"
module Rake

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake"
require "rake/tasklib"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rake/private_reader"
module Rake

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "set"
require "rake/promise"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
module TraceOutput # :nodoc: all

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module Rake
VERSION = "12.0.0"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require "rbconfig"
module Rake

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
$:.unshift File.expand_path("../../lib", __FILE__)
require 'coveralls'

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module FileCreation
OLDFILE = "old"
NEWFILE = "new"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module RakefileDefinitions
include FileUtils

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
module RubyRunner
include FileUtils

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "rake/private_reader"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRake < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeApplication < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
TESTING_REQUIRE = []

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "open3"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "rake/clean"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeCpuCounter < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "fileutils"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "fileutils"
require "pathname"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeDsl < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeEarlyTime < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "stringio"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "fileutils"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "pathname"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeFileListPathMap < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "fileutils"
require "pathname"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "fileutils"
require "stringio"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "fileutils"
require "open3"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeInvocationChain < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeLateTime < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestLinkedList < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "rake/loaders/makefile"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "thread"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeNameSpace < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "rake/packagetask"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakePathMap < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakePathMapExplode < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakePathMapPartial < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakePseudoStatus < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeRakeTestLoader < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "open3"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeRequire < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "fileutils"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeScope < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "fileutils"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeTaskArgumentParsing < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeTaskArguments < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeTaskManager < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeTaskManagerArgumentResolution < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeTaskWithArguments < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "rake/testtask"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "rake/thread_pool"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeTopLevelFunctions < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
class TestRakeWin32 < Rake::TestCase

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "rake/thread_history_display"

View File

@ -1,4 +1,4 @@
# frozen_string_literal: false
# frozen_string_literal: true
require File.expand_path("../helper", __FILE__)
require "stringio"