language stringclasses 1
value | owner stringlengths 2 15 | repo stringlengths 2 21 | sha stringlengths 45 45 | message stringlengths 7 36.3k | path stringlengths 1 199 | patch stringlengths 15 102k | is_multipart bool 2
classes |
|---|---|---|---|---|---|---|---|
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/home.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class Home < AbstractCommand | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/info.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "json"
require "cask/installer"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/install.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class Install < AbstractCommand | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/internal_help.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class InternalHelp < AbstractInternalCommand | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/internal_stanza.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class InternalStanza < AbstractInternalCommand | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/list.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class List < AbstractCommand | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/options.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
module Options | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/outdated.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class Outdated < AbstractCommand | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/reinstall.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class Reinstall < Install | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/style.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class Style < AbstractCommand | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/uninstall.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class Uninstall < AbstractCommand | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/upgrade.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cask/config"
module Cask | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/cmd/zap.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Cmd
class Zap < AbstractCommand | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/config.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "json"
require "extend/hash_validator" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/download.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "fileutils"
require "cask/cache"
require "cask/quarantine" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "locale"
require "lazy_object"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/appcast.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class DSL
class Appcast | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/base.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class DSL
class Base | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/caveats.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
# Caveats DSL. Each method should handle output, following the
# convention of at least one trailing blank line so that the user
# can distinguish separate caveats. | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/conflicts_with.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "extend/hash_validator"
using HashValidator
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/container.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "unpack_strategy"
module Cask | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/depends_on.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "rubygems"
module Cask | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/postflight.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cask/staged"
module Cask | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/preflight.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class DSL
class Preflight < Base | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/uninstall_postflight.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class DSL
class UninstallPostflight < Base | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/uninstall_preflight.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cask/staged"
module Cask | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/dsl/version.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class DSL
class Version < ::String | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/exceptions.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class CaskError < RuntimeError; end
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/installer.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "rubygems"
require "formula_installer" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/macos.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "os/mac/version"
module OS | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/metadata.rb | @@ -1,6 +1,8 @@
+# frozen_string_literal: true
+
module Cask
module Metadata
- METADATA_SUBDIR = ".metadata".freeze
+ METADATA_SUBDIR = ".metadata"
def metadata_master_container_path
@metadata_master_container_path ||= caskroom_path.join(METADATA_SUBDIR) | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/pkg.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
class Pkg
def self.all_matching(regexp, command) | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/quarantine.rb | @@ -1,9 +1,11 @@
+# frozen_string_literal: true
+
require "development_tools"
module Cask
module Quarantine
module_function
- QUARANTINE_ATTRIBUTE = "com.apple.quarantine".freeze
+ QUARANTINE_ATTRIBUTE = "com.apple.quarantine"
QUARANTINE_SCRIPT = (HOMEBREW_LIBRARY_PATH/"cask/utils/quarantine.swift").freeze
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/staged.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "utils/user"
module Cask | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/topological_hash.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "tsort"
# a basic topologically sortable hashmap | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/url.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class URL
ATTRIBUTES = [
:using, | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/utils.rb | @@ -1,9 +1,11 @@
+# frozen_string_literal: true
+
require "utils/user"
require "yaml"
require "open3"
require "stringio"
-BUG_REPORTS_URL = "https://github.com/Homebrew/homebrew-cask#reporting-bugs".freeze
+BUG_REPORTS_URL = "https://github.com/Homebrew/homebrew-cask#reporting-bugs"
module Cask
module Utils | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cask/verify.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Cask
module Verify
module_function | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/caveats.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "language/python"
class Caveats | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/checksum.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
class Checksum
extend Forwardable
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cleaner.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
# Cleans a newly installed keg.
# By default:
# | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cleanup.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "utils/bottles"
require "utils/gems"
require "formula" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cli/args.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "ostruct"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cli/parser.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/args"
require "optparse"
require "set" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/--cache.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "fetch"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/--cellar.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/--env.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "extend/ENV"
require "build_environment"
require "utils/shell" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/--prefix.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/--repository.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/--version.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/analytics.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/cask.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cask/all"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/cat.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/cleanup.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cleanup"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/command.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "commands"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/commands.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/config.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "system_config"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/deps.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "ostruct"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/desc.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "descriptions"
require "search"
require "description_cache_store" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/diy.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/doctor.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "diagnostic"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/fetch.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "fetch"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/gist-logs.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "install"
require "system_config" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/help.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "help"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/home.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/info.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "missing_formula"
require "caveats"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/install.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "missing_formula"
require "formula_installer"
require "development_tools" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/leaves.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "tab"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/link.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "ostruct"
require "caveats"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/list.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "metafiles"
require "formula"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/log.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/migrate.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "migrator"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/missing.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "tab"
require "diagnostic" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/options.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "options"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/outdated.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "keg"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/pin.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/postinstall.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "sandbox"
require "formula_installer"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/readall.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "readall"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/reinstall.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula_installer"
require "development_tools"
require "messages" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/search.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "missing_formula"
require "descriptions" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/sh.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "extend/ENV"
require "formula"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/style.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "json"
require "open3"
require "style" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/switch.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "keg"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/tap-info.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/tap-pin.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/tap-unpin.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/tap.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/uninstall.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "keg"
require "formula"
require "diagnostic" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/unlink.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "ostruct"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/unpack.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "stringio"
require "formula"
require "cli/parser" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/unpin.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/untap.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "cli/parser"
module Homebrew | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/update-report.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula_versions"
require "migrator"
require "formulary" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/upgrade.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "install"
require "reinstall"
require "formula_installer" | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cmd/uses.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "formula"
require "cli/parser"
| true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/commands.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module Commands
def self.path(cmd)
[ | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/compilers.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
# @private
module CompilerConstants
GNU_GCC_VERSIONS = %w[4.9 5 6 7 8].freeze | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/config.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
raise "HOMEBREW_BREW_FILE was not exported! Please call bin/brew directly!" unless ENV["HOMEBREW_BREW_FILE"]
# Path to `bin/brew` main executable in `HOMEBREW_PREFIX` | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/cxxstdlib.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "compilers"
class CxxStdlib | true |
Other | Homebrew | brew | 36dbad3922ad984f7c396a9757fe8ae9750c44b0.json | Add frozen_string_literal to all files. | Library/Homebrew/debrew.rb | @@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require "mutex_m"
require "debrew/irb"
| true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.