Merge pull request #20451 from Homebrew/dependabot/all-dbdec0a9b9
Bump the "all" group with 2 updates across multiple ecosystems
This commit is contained in:
commit
5602f0e11e
4
.github/workflows/actionlint.yml
vendored
4
.github/workflows/actionlint.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
- name: Install tools
|
||||
run: brew install actionlint shellcheck zizmor
|
||||
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
@ -93,7 +93,7 @@ jobs:
|
||||
path: results.sarif
|
||||
|
||||
- name: Upload SARIF file
|
||||
uses: github/codeql-action/upload-sarif@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
|
||||
uses: github/codeql-action/upload-sarif@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9
|
||||
with:
|
||||
sarif_file: results.sarif
|
||||
category: zizmor
|
||||
|
||||
2
.github/workflows/autogenerated-files.yml
vendored
2
.github/workflows/autogenerated-files.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
test-bot: true
|
||||
|
||||
- name: Cache Bundler RubyGems
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
|
||||
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
|
||||
|
||||
6
.github/workflows/codeql-analysis.yml
vendored
6
.github/workflows/codeql-analysis.yml
vendored
@ -22,12 +22,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
|
||||
uses: github/codeql-action/init@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9
|
||||
with:
|
||||
languages: ruby
|
||||
config: |
|
||||
@ -35,4 +35,4 @@ jobs:
|
||||
- Library/Homebrew/vendor
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@4e828ff8d448a8a6e532957b1811f387a63867e8 # v3.29.4
|
||||
uses: github/codeql-action/analyze@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9
|
||||
|
||||
14
.github/workflows/docker.yml
vendored
14
.github/workflows/docker.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
merge: ${{ steps.attributes.outputs.merge }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
@ -160,7 +160,7 @@ jobs:
|
||||
arch: "arm64"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
@ -188,7 +188,7 @@ jobs:
|
||||
echo "push=$(jq --raw-output "${filter}" <<<"${PUSH}")" >>"${GITHUB_OUTPUT}"
|
||||
|
||||
- name: Log in to GitHub Packages (github-actions[bot])
|
||||
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
||||
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: github-actions[bot]
|
||||
@ -223,7 +223,7 @@ jobs:
|
||||
|
||||
- name: Log in to GitHub Packages (BrewTestBot)
|
||||
if: fromJSON(steps.attributes.outputs.push)
|
||||
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
||||
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: BrewTestBot
|
||||
@ -273,20 +273,20 @@ jobs:
|
||||
cache-binary: false
|
||||
|
||||
- name: Download Docker image digests
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
path: ${{ runner.temp }}/digests
|
||||
pattern: digest-${{ matrix.version }}-*
|
||||
merge-multiple: true
|
||||
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
||||
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
|
||||
with:
|
||||
username: brewtestbot
|
||||
password: ${{ secrets.HOMEBREW_BREW_DOCKER_TOKEN }}
|
||||
|
||||
- name: Log in to GitHub Packages (BrewTestBot)
|
||||
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
|
||||
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: BrewTestBot
|
||||
|
||||
4
.github/workflows/docs.yml
vendored
4
.github/workflows/docs.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
test-bot: false
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
@ -70,7 +70,7 @@ jobs:
|
||||
run: ../script/generate-api-samples.rb --template
|
||||
|
||||
- name: Cache HTML Proofer
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: tmp/.htmlproofer
|
||||
key: ${{ runner.os }}-htmlproofer
|
||||
|
||||
6
.github/workflows/pkg-installer.yml
vendored
6
.github/workflows/pkg-installer.yml
vendored
@ -81,7 +81,7 @@ jobs:
|
||||
run: rm -f "${RUNNER_TEMP}/${TEMPORARY_CERTIFICATE_FILE}"
|
||||
|
||||
- name: Checkout another Homebrew to brew subdirectory
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
path: brew
|
||||
fetch-depth: 0
|
||||
@ -162,7 +162,7 @@ jobs:
|
||||
name: macos-15-arm64
|
||||
steps:
|
||||
- name: Download installer from GitHub Actions
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
name: "${{ needs.build.outputs.installer_path }}"
|
||||
|
||||
@ -215,7 +215,7 @@ jobs:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Download installer from GitHub Actions
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
|
||||
with:
|
||||
name: "${{ needs.build.outputs.installer_path }}"
|
||||
|
||||
|
||||
2
.github/workflows/rubydoc.yml
vendored
2
.github/workflows/rubydoc.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
test-bot: false
|
||||
|
||||
- name: Checkout Homebrew/rubydoc.brew.sh
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
repository: Homebrew/rubydoc.brew.sh
|
||||
path: rubydoc
|
||||
|
||||
@ -50,7 +50,7 @@ jobs:
|
||||
signing_key: ${{ secrets.BREWTESTBOT_SSH_SIGNING_KEY }}
|
||||
|
||||
- name: Cache Bundler RubyGems
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
|
||||
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
|
||||
|
||||
2
.github/workflows/sync-default-branches.yml
vendored
2
.github/workflows/sync-default-branches.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
echo "target=${target}" >> "$GITHUB_OUTPUT"
|
||||
echo "source=${source}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||
with:
|
||||
fetch-depth: 1
|
||||
persist-credentials: true
|
||||
|
||||
14
.github/workflows/tests.yml
vendored
14
.github/workflows/tests.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
||||
test-bot: false
|
||||
|
||||
- name: Cache Bundler RubyGems
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
|
||||
key: ${{ runner.os }}-rubygems-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }}
|
||||
@ -53,7 +53,7 @@ jobs:
|
||||
run: brew install shellcheck shfmt
|
||||
|
||||
- name: Cache style cache
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ~/.cache/Homebrew/style
|
||||
key: syntax-style-cache-${{ github.sha }}
|
||||
@ -92,7 +92,7 @@ jobs:
|
||||
test-bot: true
|
||||
|
||||
- name: Cache Bundler RubyGems
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
|
||||
key: ${{ runner.os }}-rubygems-tap-syntax-${{ steps.set-up-homebrew.outputs.gems-hash }}
|
||||
@ -102,7 +102,7 @@ jobs:
|
||||
run: brew install-bundler-gems --groups=style
|
||||
|
||||
- name: Cache style cache
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ~/.cache/Homebrew/style
|
||||
key: tap-syntax-style-cache-${{ github.sha }}
|
||||
@ -266,7 +266,7 @@ jobs:
|
||||
test-bot: false
|
||||
|
||||
- name: Cache Bundler RubyGems
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
|
||||
key: ${{ matrix.runs-on }}-tests-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
|
||||
@ -281,7 +281,7 @@ jobs:
|
||||
run: mkdir tests
|
||||
|
||||
- name: Cache parallel tests log
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: tests
|
||||
key: ${{ runner.os }}-${{ matrix.test-flags }}-parallel_runtime_rspec-${{ github.sha }}
|
||||
@ -505,7 +505,7 @@ jobs:
|
||||
|
||||
- name: Cache Homebrew Bundler RubyGems
|
||||
id: cache
|
||||
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
|
||||
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
|
||||
with:
|
||||
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
|
||||
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
|
||||
|
||||
2
.github/workflows/vendor-gems.yml
vendored
2
.github/workflows/vendor-gems.yml
vendored
@ -92,7 +92,7 @@ jobs:
|
||||
fi
|
||||
|
||||
- name: Generate push token
|
||||
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
|
||||
uses: actions/create-github-app-token@a8d616148505b5069dccd32f177bb87d7f39123b # v2.1.1
|
||||
id: app-token
|
||||
if: github.event_name == 'workflow_dispatch'
|
||||
with:
|
||||
|
||||
@ -96,6 +96,11 @@ Layout/ArgumentAlignment:
|
||||
Layout/CaseIndentation:
|
||||
EnforcedStyle: end
|
||||
|
||||
# currently bugged and as relevant/urgent in taps:
|
||||
# https://github.com/rubocop/rubocop/issues/14443
|
||||
Layout/EmptyLinesAfterModuleInclusion:
|
||||
Enabled: false
|
||||
|
||||
# significantly less indentation involved; more consistent
|
||||
Layout/FirstArrayElementIndentation:
|
||||
EnforcedStyle: consistent
|
||||
|
||||
@ -17,7 +17,7 @@ GEM
|
||||
bindata (~> 2)
|
||||
erubi (1.13.1)
|
||||
hana (1.3.7)
|
||||
json (2.13.0)
|
||||
json (2.13.2)
|
||||
json_schemer (2.4.0)
|
||||
bigdecimal
|
||||
hana (~> 1.3)
|
||||
@ -32,7 +32,7 @@ GEM
|
||||
minitest (5.25.5)
|
||||
netrc (0.11.0)
|
||||
parallel (1.27.0)
|
||||
parallel_tests (5.3.1)
|
||||
parallel_tests (5.4.0)
|
||||
parallel
|
||||
parser (3.3.9.0)
|
||||
ast (~> 2.4.1)
|
||||
@ -55,7 +55,7 @@ GEM
|
||||
logger
|
||||
prism (>= 1.3.0)
|
||||
redcarpet (3.6.1)
|
||||
regexp_parser (2.10.0)
|
||||
regexp_parser (2.11.2)
|
||||
require-hooks (0.2.2)
|
||||
rexml (3.4.1)
|
||||
rspec (3.13.1)
|
||||
@ -79,7 +79,7 @@ GEM
|
||||
rspec-support (3.13.4)
|
||||
rspec_junit_formatter (0.6.0)
|
||||
rspec-core (>= 2, < 4, != 2.12.0)
|
||||
rubocop (1.78.0)
|
||||
rubocop (1.79.2)
|
||||
json (~> 2.3)
|
||||
language_server-protocol (~> 3.17.0.2)
|
||||
lint_roller (~> 1.1.0)
|
||||
@ -87,7 +87,7 @@ GEM
|
||||
parser (>= 3.3.0.2)
|
||||
rainbow (>= 2.2.2, < 4.0)
|
||||
regexp_parser (>= 2.9.3, < 3.0)
|
||||
rubocop-ast (>= 1.45.1, < 2.0)
|
||||
rubocop-ast (>= 1.46.0, < 2.0)
|
||||
ruby-progressbar (~> 1.7)
|
||||
unicode-display_width (>= 2.4.0, < 4.0)
|
||||
rubocop-ast (1.46.0)
|
||||
@ -106,7 +106,7 @@ GEM
|
||||
rubocop-sorbet (0.10.5)
|
||||
lint_roller
|
||||
rubocop (>= 1.75.2)
|
||||
ruby-lsp (0.25.0)
|
||||
ruby-lsp (0.26.1)
|
||||
language_server-protocol (~> 3.17.0)
|
||||
prism (>= 1.2, < 2.0)
|
||||
rbs (>= 3, < 5)
|
||||
@ -118,22 +118,22 @@ GEM
|
||||
docile (~> 1.1)
|
||||
simplecov-html (~> 0.11)
|
||||
simplecov_json_formatter (~> 0.1)
|
||||
simplecov-cobertura (2.1.0)
|
||||
simplecov-cobertura (3.0.0)
|
||||
rexml
|
||||
simplecov (~> 0.19)
|
||||
simplecov-html (0.13.2)
|
||||
simplecov_json_formatter (0.1.4)
|
||||
simpleidn (0.2.3)
|
||||
sorbet (0.5.12357)
|
||||
sorbet-static (= 0.5.12357)
|
||||
sorbet-runtime (0.5.12357)
|
||||
sorbet-static (0.5.12357-aarch64-linux)
|
||||
sorbet-static (0.5.12357-universal-darwin)
|
||||
sorbet-static (0.5.12357-x86_64-linux)
|
||||
sorbet-static-and-runtime (0.5.12357)
|
||||
sorbet (= 0.5.12357)
|
||||
sorbet-runtime (= 0.5.12357)
|
||||
spoom (1.7.5)
|
||||
sorbet (0.5.12389)
|
||||
sorbet-static (= 0.5.12389)
|
||||
sorbet-runtime (0.5.12389)
|
||||
sorbet-static (0.5.12389-aarch64-linux)
|
||||
sorbet-static (0.5.12389-universal-darwin)
|
||||
sorbet-static (0.5.12389-x86_64-linux)
|
||||
sorbet-static-and-runtime (0.5.12389)
|
||||
sorbet (= 0.5.12389)
|
||||
sorbet-runtime (= 0.5.12389)
|
||||
spoom (1.7.6)
|
||||
erubi (>= 1.10.0)
|
||||
prism (>= 0.28.0)
|
||||
rbi (>= 0.3.3)
|
||||
|
||||
@ -8,6 +8,7 @@ module Cask
|
||||
# Abstract superclass for all artifacts.
|
||||
class AbstractArtifact
|
||||
extend T::Helpers
|
||||
|
||||
abstract!
|
||||
|
||||
include Comparable
|
||||
|
||||
@ -18,6 +18,7 @@ module Cask
|
||||
|
||||
module ILoader
|
||||
extend T::Helpers
|
||||
|
||||
interface!
|
||||
|
||||
sig { abstract.params(config: T.nilable(Config)).returns(Cask) }
|
||||
@ -28,6 +29,7 @@ module Cask
|
||||
class AbstractContentLoader
|
||||
include ILoader
|
||||
extend T::Helpers
|
||||
|
||||
abstract!
|
||||
|
||||
sig { returns(String) }
|
||||
|
||||
@ -40,6 +40,7 @@ module Cask
|
||||
attr_reader :tag, :branch, :revision, :only_path, :verified
|
||||
|
||||
extend Forwardable
|
||||
|
||||
def_delegators :uri, :path, :scheme, :to_s
|
||||
|
||||
# Creates a `url` stanza.
|
||||
|
||||
@ -10,6 +10,7 @@ module Homebrew
|
||||
module Cmd
|
||||
class Deps < AbstractCommand
|
||||
include DependenciesHelpers
|
||||
|
||||
cmd_args do
|
||||
description <<~EOS
|
||||
Show dependencies for <formula>. When given multiple formula arguments,
|
||||
|
||||
@ -11,6 +11,7 @@ module Homebrew
|
||||
module Cmd
|
||||
class FetchCmd < AbstractCommand
|
||||
include Fetch
|
||||
|
||||
FETCH_MAX_TRIES = 5
|
||||
|
||||
cmd_args do
|
||||
|
||||
@ -12,6 +12,7 @@ module Homebrew
|
||||
module Cmd
|
||||
class GistLogs < AbstractCommand
|
||||
include Install
|
||||
|
||||
cmd_args do
|
||||
description <<~EOS
|
||||
Upload logs for a failed build of <formula> to a new Gist. Presents an
|
||||
|
||||
@ -1000,12 +1000,12 @@ module Homebrew
|
||||
|
||||
locale_variables = ENV.keys.grep(/^(?:LC_\S+|LANG|LANGUAGE)\Z/).sort
|
||||
|
||||
add_info "Cask Environment Variables:", ((locale_variables + environment_variables).sort.each do |var|
|
||||
add_info "Cask Environment Variables:", (locale_variables + environment_variables).sort.each do |var|
|
||||
next unless ENV.key?(var)
|
||||
|
||||
var = %Q(#{var}="#{ENV.fetch(var)}")
|
||||
user_tilde(var)
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
def check_cask_xattr
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
module Ignorable
|
||||
include Kernel
|
||||
|
||||
# This is a workaround to enable `raise` to be aliased
|
||||
# @see https://github.com/sorbet/sorbet/issues/2378#issuecomment-569474238
|
||||
def self.raise(*); end
|
||||
|
||||
@ -8,6 +8,7 @@ module Homebrew
|
||||
# method implementations here.
|
||||
module Strategic
|
||||
extend T::Helpers
|
||||
|
||||
interface!
|
||||
|
||||
# Whether the strategy can be applied to the provided URL.
|
||||
|
||||
@ -3,5 +3,6 @@
|
||||
module RuboCop::Cop::Cask::CaskHelp
|
||||
# Sorbet doesn't understand `prepend`: https://github.com/sorbet/sorbet/issues/259
|
||||
include RuboCop::Cop::CommentsHelp
|
||||
|
||||
requires_ancestor { RuboCop::Cop::Base }
|
||||
end
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -3003,6 +3003,12 @@ RuboCop::Cop::Layout::EmptyLines::LINE_OFFSET = T.let(T.unsafe(nil), Integer)
|
||||
|
||||
RuboCop::Cop::Layout::EmptyLines::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Layout::EmptyLinesAfterModuleInclusion::MODULE_INCLUSION_METHODS = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::Layout::EmptyLinesAfterModuleInclusion::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Layout::EmptyLinesAfterModuleInclusion::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier::MSG_AFTER = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Layout::EmptyLinesAroundAccessModifier::MSG_AFTER_FOR_ONLY_BEFORE = T.let(T.unsafe(nil), String)
|
||||
@ -3629,10 +3635,14 @@ RuboCop::Cop::Lint::RedundantRequireStatement::RESTRICT_ON_SEND = T.let(T.unsafe
|
||||
|
||||
RuboCop::Cop::Lint::RedundantRequireStatement::RUBY_22_LOADED_FEATURES = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::Lint::RedundantSafeNavigation::GUARANTEED_INSTANCE_METHODS = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::Lint::RedundantSafeNavigation::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Lint::RedundantSafeNavigation::MSG_LITERAL = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Lint::RedundantSafeNavigation::MSG_NON_NIL = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Lint::RedundantSafeNavigation::NIL_SPECIFIC_METHODS = T.let(T.unsafe(nil), Set)
|
||||
|
||||
RuboCop::Cop::Lint::RedundantSafeNavigation::SNAKE_CASE = T.let(T.unsafe(nil), Regexp)
|
||||
@ -3845,6 +3855,8 @@ RuboCop::Cop::Lint::UselessTimes::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Lint::UselessTimes::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::Lint::Utils::NilReceiverChecker::NIL_METHODS = T.let(T.unsafe(nil), Set)
|
||||
|
||||
RuboCop::Cop::Lint::Void::BINARY_OPERATORS = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::Lint::Void::CONST_MSG = T.let(T.unsafe(nil), String)
|
||||
@ -3990,6 +4002,8 @@ RuboCop::Cop::Naming::MethodName::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Naming::MethodName::MSG_FORBIDDEN = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Naming::MethodName::OPERATOR_METHODS = T.let(T.unsafe(nil), Set)
|
||||
|
||||
RuboCop::Cop::Naming::PredicateMethod::MSG_NON_PREDICATE = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Naming::PredicateMethod::MSG_PREDICATE = T.let(T.unsafe(nil), String)
|
||||
@ -4633,8 +4647,6 @@ RuboCop::Cop::Style::AmbiguousEndlessMethodDefinition::MSG = T.let(T.unsafe(nil)
|
||||
|
||||
RuboCop::Cop::Style::AndOr::MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Style::ArgumentsForwarding::ADDITIONAL_ARG_TYPES = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::Style::ArgumentsForwarding::ARGS_MSG = T.let(T.unsafe(nil), String)
|
||||
|
||||
RuboCop::Cop::Style::ArgumentsForwarding::BLOCK_MSG = T.let(T.unsafe(nil), String)
|
||||
@ -6152,6 +6164,8 @@ RuboCop::Cop::VariableForce::ARGUMENT_DECLARATION_TYPES = T.let(T.unsafe(nil), A
|
||||
|
||||
RuboCop::Cop::VariableForce::Assignment::MULTIPLE_LEFT_HAND_SIDE_TYPE = T.let(T.unsafe(nil), Symbol)
|
||||
|
||||
RuboCop::Cop::VariableForce::BRANCH_NODES = T.let(T.unsafe(nil), Array)
|
||||
|
||||
RuboCop::Cop::VariableForce::Branch::CLASSES_BY_TYPE = T.let(T.unsafe(nil), Hash)
|
||||
|
||||
RuboCop::Cop::VariableForce::LOGICAL_OPERATOR_ASSIGNMENT_TYPES = T.let(T.unsafe(nil), Array)
|
||||
@ -6920,7 +6934,7 @@ class RuboCop::ResultCache
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rubocop//lib/rubocop/result_cache.rb#229
|
||||
# source://rubocop//lib/rubocop/result_cache.rb#231
|
||||
def context_checksum(team, options); end
|
||||
|
||||
# @api private
|
||||
@ -6939,7 +6953,7 @@ class RuboCop::ResultCache
|
||||
#
|
||||
# @api private
|
||||
#
|
||||
# source://rubocop//lib/rubocop/result_cache.rb#220
|
||||
# source://rubocop//lib/rubocop/result_cache.rb#222
|
||||
def relevant_options_digest(options); end
|
||||
|
||||
# The checksum of the RuboCop program running the inspection.
|
||||
@ -1,191 +0,0 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `simplecov-cobertura` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem simplecov-cobertura`.
|
||||
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura/version.rb#1
|
||||
module SimpleCov
|
||||
class << self
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#174
|
||||
def at_exit_behavior; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#170
|
||||
def clear_result; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#86
|
||||
def collate(result_filenames, profile = T.unsafe(nil), ignore_timeout: T.unsafe(nil), &block); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#223
|
||||
def exit_and_report_previous_error(exit_status); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#200
|
||||
def exit_status_from_exception; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#28
|
||||
def external_at_exit; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#28
|
||||
def external_at_exit=(_arg0); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#28
|
||||
def external_at_exit?; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#131
|
||||
def filtered(files); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#268
|
||||
def final_result_process?; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#142
|
||||
def grouped(files); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#162
|
||||
def load_adapter(name); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#158
|
||||
def load_profile(name); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
||||
def pid; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
||||
def pid=(_arg0); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#213
|
||||
def previous_error?(error_exit_status); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#248
|
||||
def process_result(result); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#233
|
||||
def process_results_and_report_error; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#229
|
||||
def ready_to_process_results?; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#101
|
||||
def result; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#124
|
||||
def result?; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#256
|
||||
def result_exit_status(result); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#296
|
||||
def round_coverage(coverage); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#186
|
||||
def run_exit_tasks!; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
||||
def running; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#24
|
||||
def running=(_arg0); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#48
|
||||
def start(profile = T.unsafe(nil), &block); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#276
|
||||
def wait_for_other_processes; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#285
|
||||
def write_last_run(result); end
|
||||
|
||||
private
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#399
|
||||
def adapt_coverage_result; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#371
|
||||
def add_not_loaded_files(result); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#302
|
||||
def initial_setup(profile, &block); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#363
|
||||
def lookup_corresponding_ruby_coverage_name(criterion); end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#425
|
||||
def make_parallel_tests_available; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#434
|
||||
def probably_running_parallel_tests?; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#388
|
||||
def process_coverage_result; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#410
|
||||
def remove_useless_results; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#420
|
||||
def result_with_not_loaded_files; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#314
|
||||
def start_coverage_measurement; end
|
||||
|
||||
# source://simplecov/0.22.0/lib/simplecov.rb#349
|
||||
def start_coverage_with_criteria; end
|
||||
end
|
||||
end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura/version.rb#2
|
||||
module SimpleCov::Formatter; end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura/version.rb#3
|
||||
class SimpleCov::Formatter::CoberturaFormatter
|
||||
# @return [CoberturaFormatter] a new instance of CoberturaFormatter
|
||||
#
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#15
|
||||
def initialize(result_file_name: T.unsafe(nil)); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#19
|
||||
def format(result); end
|
||||
|
||||
private
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#151
|
||||
def coverage_output(result); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#166
|
||||
def extract_rate(percent); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#170
|
||||
def project_root; end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#162
|
||||
def resolve_filename(filename); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#36
|
||||
def result_to_xml(result); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#134
|
||||
def set_branch_attributes(line, file_line, branched_lines, branched_lines_covered); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#115
|
||||
def set_class_attributes(class_, file); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#86
|
||||
def set_coverage_attributes(coverage, result); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#129
|
||||
def set_line_attributes(line, file_line); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#103
|
||||
def set_package_attributes(package, name, result); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#144
|
||||
def set_xml_head(lines = T.unsafe(nil)); end
|
||||
end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#13
|
||||
SimpleCov::Formatter::CoberturaFormatter::DTD_URL = T.let(T.unsafe(nil), String)
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#12
|
||||
SimpleCov::Formatter::CoberturaFormatter::RESULT_FILE_NAME = T.let(T.unsafe(nil), String)
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura/version.rb#4
|
||||
SimpleCov::Formatter::CoberturaFormatter::VERSION = T.let(T.unsafe(nil), String)
|
||||
69
Library/Homebrew/sorbet/rbi/gems/simplecov-cobertura@3.0.0.rbi
generated
Normal file
69
Library/Homebrew/sorbet/rbi/gems/simplecov-cobertura@3.0.0.rbi
generated
Normal file
@ -0,0 +1,69 @@
|
||||
# typed: true
|
||||
|
||||
# DO NOT EDIT MANUALLY
|
||||
# This is an autogenerated file for types exported from the `simplecov-cobertura` gem.
|
||||
# Please instead update this file by running `bin/tapioca gem simplecov-cobertura`.
|
||||
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura/version.rb#1
|
||||
module SimpleCov; end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura/version.rb#2
|
||||
module SimpleCov::Formatter; end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura/version.rb#3
|
||||
class SimpleCov::Formatter::CoberturaFormatter
|
||||
# @return [CoberturaFormatter] a new instance of CoberturaFormatter
|
||||
#
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#13
|
||||
def initialize(result_file_name: T.unsafe(nil)); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#17
|
||||
def format(result); end
|
||||
|
||||
private
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#162
|
||||
def extract_rate(percent); end
|
||||
|
||||
# Roughly mirrors private method SimpleCov::Formatter::HTMLFormatter#output_coverage
|
||||
#
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#151
|
||||
def output_message(result, output_path); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#166
|
||||
def project_root; end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#158
|
||||
def resolve_filename(filename); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#35
|
||||
def result_to_xml(result); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#133
|
||||
def set_branch_attributes(line, file_line, branched_lines, branched_lines_covered); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#114
|
||||
def set_class_attributes(class_, file); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#85
|
||||
def set_coverage_attributes(coverage, result); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#128
|
||||
def set_line_attributes(line, file_line); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#102
|
||||
def set_package_attributes(package, name, result); end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#143
|
||||
def set_xml_head(lines = T.unsafe(nil)); end
|
||||
end
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#11
|
||||
SimpleCov::Formatter::CoberturaFormatter::DTD_URL = T.let(T.unsafe(nil), String)
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura.rb#10
|
||||
SimpleCov::Formatter::CoberturaFormatter::RESULT_FILE_NAME = T.let(T.unsafe(nil), String)
|
||||
|
||||
# source://simplecov-cobertura//lib/simplecov-cobertura/version.rb#4
|
||||
SimpleCov::Formatter::CoberturaFormatter::VERSION = T.let(T.unsafe(nil), String)
|
||||
@ -146,6 +146,7 @@ class Tap
|
||||
|
||||
class << self
|
||||
extend T::Generic
|
||||
|
||||
Elem = type_member(:out) { { fixed: Tap } }
|
||||
|
||||
# @api public
|
||||
|
||||
@ -5,6 +5,7 @@ require "cmd/shared_examples/args_parse"
|
||||
|
||||
RSpec.describe Homebrew::Cmd::InstallCmd do
|
||||
include FileUtils
|
||||
|
||||
it_behaves_like "parseable arguments"
|
||||
|
||||
it "installs formulae", :integration_test do
|
||||
|
||||
@ -5,6 +5,7 @@ require "cmd/upgrade"
|
||||
|
||||
RSpec.describe Homebrew::Cmd::UpgradeCmd do
|
||||
include FileUtils
|
||||
|
||||
it_behaves_like "parseable arguments"
|
||||
|
||||
it "upgrades a Formula and cleans up old versions", :integration_test do
|
||||
|
||||
@ -8,6 +8,7 @@ RSpec.describe Dependable do
|
||||
subject(:dependable) do
|
||||
Class.new do
|
||||
include Dependable
|
||||
|
||||
def initialize
|
||||
@tags = ["foo", "bar", :build]
|
||||
end
|
||||
|
||||
@ -19,7 +19,7 @@ RSpec.describe LazyObject do
|
||||
|
||||
describe "#!" do
|
||||
it "delegates to the underlying object" do
|
||||
expect(!(described_class.new { false })).to be true
|
||||
expect(!described_class.new { false }).to be true
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@ -8,6 +8,7 @@ require "system_command"
|
||||
module UnpackStrategy
|
||||
extend T::Helpers
|
||||
include SystemCommand::Mixin
|
||||
|
||||
abstract!
|
||||
|
||||
requires_ancestor { Kernel }
|
||||
@ -16,6 +17,7 @@ module UnpackStrategy
|
||||
|
||||
module ClassMethods
|
||||
extend T::Helpers
|
||||
|
||||
abstract!
|
||||
|
||||
sig { abstract.returns(T::Array[String]) }
|
||||
|
||||
24
Library/Homebrew/vendor/bundle/bundler/setup.rb
vendored
24
Library/Homebrew/vendor/bundle/bundler/setup.rb
vendored
@ -50,9 +50,9 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/elftools-1.3.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/erubi-1.13.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/hana-1.3.7/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.13.0")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.13.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.10.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/json-2.13.2")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json-2.13.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/regexp_parser-2.11.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simpleidn-0.2.3/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/json_schemer-2.4.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rexml-3.4.1/lib")
|
||||
@ -64,7 +64,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/minitest-5.25.5/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/netrc-0.11.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel-1.27.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-5.3.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parallel_tests-5.4.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/racc-1.8.1")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.8.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.9.0/lib")
|
||||
@ -89,31 +89,31 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-3.13.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-github-3.0.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-retry-0.6.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.12357/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-runtime-0.5.12389/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec-sorbet-1.9.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rspec_junit_formatter-0.6.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-ast-1.46.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-progressbar-1.13.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-emoji-4.0.4/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/unicode-display_width-3.1.4/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.78.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-1.79.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-md-2.0.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-performance-1.25.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-rspec-3.6.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/rubocop-sorbet-0.10.5/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.25.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-lsp-0.26.1/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-macho-4.1.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/ruby-prof-1.7.2")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ruby-prof-1.7.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-html-0.13.2/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov_json_formatter-0.1.4/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-0.22.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-2.1.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.12357-universal-darwin/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.12357/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.12357/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/simplecov-cobertura-3.0.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-0.5.12389-universal-darwin/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-0.5.12389/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/sorbet-static-and-runtime-0.5.12389/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/thor-1.4.0/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.7.5/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/spoom-1.7.6/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/arm64-darwin-20/#{Gem.extension_api_version}/stackprof-0.2.27")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/stackprof-0.2.27/lib")
|
||||
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/yard-0.9.37/lib")
|
||||
|
||||
@ -384,7 +384,7 @@ class T::Props::Decorator
|
||||
#
|
||||
if sensitivity_and_pii[:pii] && @class.is_a?(Class) && !T.unsafe(@class).contains_pii?
|
||||
raise ArgumentError.new(
|
||||
'Cannot include a pii prop in a class that declares `contains_no_pii`'
|
||||
"Cannot define pii prop `#{@class}##{name}` because `#{@class}` is `contains_no_pii`"
|
||||
)
|
||||
end
|
||||
end
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user