Issy Long
28c513ac9d
Fix basic Ruby syntax errors in docs example code
...
- Blocks should open with `do` and close with `end`.
- `...` is not valid Ruby syntax, so comment it out so that the user
knows that it's a placeholder for "other things here".
- Reword the "header line details" in `Cask-Cookbook` otherwise RuboCop
crashes even with an `end` because of the empty block. There was
already an example of a valid header line in the first code block on
the page, so it's not a big loss.
2024-01-24 00:01:39 +00:00
Issy Long
e2251ad4be
brew vendor-gems
for rubocop-md
2024-01-24 00:01:38 +00:00
Issy Long
7c25ea6e3a
Configure RuboCop to use rubocop-md
2024-01-24 00:01:37 +00:00
Issy Long
9786955abe
Add rubocop-md
gem to the Gemfile in the style group
...
- This could be useful for linting code in our docs.
2024-01-24 00:01:36 +00:00
Patrick Linnane
044d06d105
Merge pull request #16524 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11216
...
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-01-23 09:16:21 -08:00
BrewTestBot
c8f328b36c
brew vendor-gems: commit updates.
2024-01-23 16:51:43 +00:00
dependabot[bot]
00ff71d00e
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-runtime` from 0.5.11214 to 0.5.11216
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static-and-runtime` from 0.5.11214 to 0.5.11216
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 16:47:49 +00:00
Mike McQuaid
0c738cacd0
Merge pull request #16522 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2024-01-23 08:45:07 +00:00
BrewTestBot
82e6a9226b
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-01-23 00:26:37 +00:00
Mike McQuaid
86e1c8aacf
Merge pull request #16463 from dduugg/no-active-support
...
Remove ActiveSupport from runtime
2024-01-22 19:22:12 +00:00
Douglas Eichelberger
e574904cb7
Use each_with_object
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
1a40468ce4
Fix compact_blank style
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
2f8ad2f5e6
Inline index_by
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
df140b329f
brew style --fix
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
53bba9c00f
cleanup
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
66aff2af7b
concise
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
44e6b48fd7
revert bundler/setup changes
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
4c25250e72
Improve atomic_write sig
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
1790904152
Resolve 'Error: can't add a new key into hash during iteration'
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
fa7b8ff0df
brew vendor-gems: commit updates.
2024-01-22 10:52:43 -08:00
Douglas Eichelberger
8efe73b32c
Add Object#deep_dup to extend/
2024-01-22 10:52:43 -08:00
Mike McQuaid
aa1f3de597
Merge pull request #16520 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.3.0.5
...
build(deps-dev): bump parser from 3.3.0.4 to 3.3.0.5 in /Library/Homebrew
2024-01-22 16:16:16 +00:00
Patrick Linnane
c1d8e07f59
Merge pull request #16521 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11214
...
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-01-22 08:09:04 -08:00
BrewTestBot
039d5f7676
Update RBI files for parser.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-01-22 16:02:41 +00:00
BrewTestBot
f837504e13
brew vendor-gems: commit updates.
2024-01-22 15:48:23 +00:00
BrewTestBot
6c7c38f8b3
brew vendor-gems: commit updates.
2024-01-22 15:46:46 +00:00
dependabot[bot]
150c9d6b94
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-runtime` from 0.5.11213 to 0.5.11214
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static-and-runtime` from 0.5.11213 to 0.5.11214
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 15:44:22 +00:00
dependabot[bot]
593e2a6cab
build(deps-dev): bump parser in /Library/Homebrew
...
Bumps [parser](https://github.com/whitequark/parser ) from 3.3.0.4 to 3.3.0.5.
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/whitequark/parser/compare/v3.3.0.4...v3.3.0.5 )
---
updated-dependencies:
- dependency-name: parser
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-22 15:43:13 +00:00
Patrick Linnane
9c8374d3b7
Merge pull request #16519 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
4.2.5
2024-01-21 18:18:41 -08:00
BrewTestBot
fddcc0e370
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-01-22 00:27:45 +00:00
Issy Long
c5b35b87ab
Merge pull request #16508 from issyl0/handle-auth-errors
...
dev-cmd/bump: Don't fall over when retrieving PRs 404s
2024-01-21 19:54:43 +00:00
Issy Long
693a27d48b
Treat zap
and uninstall
the same
...
- Since `zap` can have more than just `trash`.
2024-01-21 19:48:30 +00:00
Issy Long
22203fb6d9
dev-cmd/bump: Be more explicit that we have no PRs
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-01-21 19:41:49 +00:00
Mike McQuaid
2ed2b337c2
Merge pull request #16507 from bevanjkay/cask-uninstall-upgrade-skip
...
cask/uninstall: skip quit/signal directives when upgrading or reinstalling
2024-01-21 19:16:36 +00:00
Mike McQuaid
25bef3dc10
Merge pull request #16509 from dduugg/canonical-segments
...
Remove canonical_segments check
2024-01-21 19:15:42 +00:00
Issy Long
d5f9eef1b5
Empty line after guard clause, gah
2024-01-21 12:47:33 +00:00
Issy Long
458844af44
Move multi-line comments with the code they're 'attached' to
...
Co-authored-by: Bevan J. Kay <email@bevankay.me>
2024-01-21 12:42:22 +00:00
Patrick Linnane
c8acc44232
Merge pull request #16516 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11213
...
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-01-20 22:27:54 -08:00
BrewTestBot
6b2ad35b6f
brew vendor-gems: commit updates.
2024-01-21 02:32:48 +00:00
dependabot[bot]
0759b90698
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-runtime` from 0.5.11212 to 0.5.11213
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static-and-runtime` from 0.5.11212 to 0.5.11213
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-21 02:29:53 +00:00
Issy Long
8910d5a479
Remove the single-element array in everything.json
used for Cask tests
...
```
1) Cask::Cask#to_h when loaded from cask file returns expected hash
Failure/Error: expect(JSON.pretty_generate(hash)).to eq(expected_json)
Diff:
@@ -28,9 +28,7 @@
"uninstall": [
{
"launchctl": "com.every.thing.agent",
- "delete": [
- "/Library/EverythingHelperTools"
- ],
+ "delete": "/Library/EverythingHelperTools",
"kext": "com.every.thing.driver",
"signal": [
[
@@ -103,7 +101,7 @@
],
"ruby_source_path": "Casks/everything.rb",
"ruby_source_checksum": {
- "sha256": "b2707d1952f02c3fa566b7ad2a707a847a959d36f51d3dee642dbe5deec12f27"
+ "sha256": "0c4af571cce1632fc6a3dcf3e75ba82a3283077ef12399428192c26f9d6f779b"
}
}
# ./test/cask/cask_spec.rb:225:in `block (4 levels) in <top (required)>'
# ./test/support/helper/spec/shared_context/homebrew_cask.rb:53:in `block (2 levels) in <top (required)>'
```
2024-01-21 01:32:15 +00:00
Issy Long
c7ed62a7d6
dev-cmd/bump: Point out if formulae should be kept in sync with others
...
- This will give some information to users of `brew bump` that they
should keep the version of the formula in sync with other formulae.
- A future enhancement is actually making the bumping of the "related"
formulae automatic with `--open-pr`. But for now, telling people so
that they don't have to wait until `brew audit` fails either locally
or in CI at a later stage is a good start.
2024-01-21 00:43:50 +00:00
Issy Long
9b4427d9d8
Merge pull request #16512 from issyl0/another-cask-library-path
...
Add `~/Library/Containers` to the list of `Layout/LineLength` exclusions
2024-01-20 19:51:30 +00:00
Issy Long
a9d0d229f5
Add ~/Library/Containers
to the list of Layout/LineLength
exclusions
...
- This was found in https://github.com/Homebrew/homebrew-cask/pull/164915/files#r1460533604 .
2024-01-20 19:36:07 +00:00
Issy Long
50bb7c1d87
Merge pull request #16513 from issyl0/fix-buildpulse-link
...
docs/Maintainer-Guide: Fix BuildPulse links
2024-01-20 19:32:55 +00:00
Issy Long
b3fad798be
docs/Maintainer-Guide: Fix BuildPulse links
...
https://github.com/Homebrew/brew/actions/runs/7596213836/job/20689665591?pr=16512
2024-01-20 19:18:46 +00:00
Issy Long
de6ec7c54e
dev-cmd/bump: Don't fall over when retrieving PRs errors
...
- Instead, let the `pull_requests&.any?` check do its job and not show
PRs that we couldn't find or fetch.
- In the `--debug` output, show the error message that we got from GitHub.
2024-01-20 16:41:47 +00:00
Issy Long
13c4d0ac11
Merge pull request #16511 from issyl0/codeql-cleanup
2024-01-20 10:53:52 +00:00
Issy Long
eec7a96fbe
Use Ruby 3.1's intersect\?
method
2024-01-20 00:38:34 +00:00
Issy Long
e9bcb64000
Double quotes not single
2024-01-20 00:35:40 +00:00