Sam Ford
e56735a171
ElectronBuilder: Allow Date/Time deserialization
...
The `ElectronBuilder` strategy uses `YAML#safe_load` to parse YAML
content and this limits deserialization to appropriate classes. We
recently encountered a `Tried to load unspecified class: Time` error
when using the `ElectronBuilder` strategy on a `latest-mac.yml` file
containing `releaseDate: 2022-12-01T02:02:46.419Z`.
The electron-builder YAML files we usually encounter use single
quotes around the `releaseDate` value to ensure it's treated as a
string (e.g., `releaseDate: '2022-10-12T17:55:26.718Z'`) and this is
what we do in `electron_builder_spec.rb`. The aforementioned YAML
file doesn't use single quotes around the value, so it's treated as
a timestamp and apparently this makes Psych use `Time` (which
`#safe_load` doesn't allow by default).
Seeing as we can't control the YAML content and there's a chance we
may encounter other files like this in the future, this commit
modifies the related `#safe_load` call to allow `Time` (and `Date`
for good measure). This will resolve the aforementioned error and
allow the `ElectronBuilder` strategy to work as expected in this
scenario.
2022-12-05 21:45:18 -05:00
Bevan Kay
839746cf99
dev-cmd/audit: enable --[no]-signing flag for audits
2022-12-06 11:00:59 +11:00
BrewTestBot
d14e5e0899
Update RBI files for rack.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-12-05 18:13:52 +00:00
BrewTestBot
66a7a230b2
Update RBI files for json.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-12-05 18:11:59 +00:00
BrewTestBot
2f74401433
brew vendor-gems: commit updates.
2022-12-05 18:09:00 +00:00
BrewTestBot
a63ab9372a
brew vendor-gems: commit updates.
2022-12-05 18:07:03 +00:00
BrewTestBot
de47bb678a
brew vendor-gems: commit updates.
2022-12-05 18:06:34 +00:00
dependabot[bot]
9bc0891f49
build(deps): bump did_you_mean from 1.6.1 to 1.6.2 in /Library/Homebrew
...
Bumps [did_you_mean](https://github.com/ruby/did_you_mean ) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/ruby/did_you_mean/releases )
- [Changelog](https://github.com/ruby/did_you_mean/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ruby/did_you_mean/compare/v1.6.1...v1.6.2 )
---
updated-dependencies:
- dependency-name: did_you_mean
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 18:02:58 +00:00
dependabot[bot]
464f1eb6b1
build(deps): bump json from 2.6.2 to 2.6.3 in /Library/Homebrew
...
Bumps [json](https://github.com/flori/json ) from 2.6.2 to 2.6.3.
- [Release notes](https://github.com/flori/json/releases )
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md )
- [Commits](https://github.com/flori/json/compare/v2.6.2...v2.6.3 )
---
updated-dependencies:
- dependency-name: json
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 18:01:32 +00:00
dependabot[bot]
1816bfb46b
build(deps): bump rack from 3.0.1 to 3.0.2 in /Library/Homebrew
...
Bumps [rack](https://github.com/rack/rack ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/compare/v3.0.1...v3.0.2 )
---
updated-dependencies:
- dependency-name: rack
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 18:01:21 +00:00
dependabot[bot]
614064d546
build(deps): bump reitermarkus/rerun-workflow from 1.2.2 to 1.3.0
...
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow ) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases )
- [Commits](c8d5bc3526...1a15891377
)
---
updated-dependencies:
- dependency-name: reitermarkus/rerun-workflow
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-05 18:00:59 +00:00
Dawid Dziurla
33f5c41cd2
dev-cmd/bump: check if Repology output is a version first
2022-12-05 16:20:35 +01:00
Dawid Dziurla
b8a505d0d8
Merge pull request #14190 from dawidd6/bump-favor-livecheckable
...
dev-cmd/bump: don't use Repology version if livecheckable
2022-12-05 16:00:56 +01:00
Mike McQuaid
2538223b8b
Merge pull request #14037 from timvisher/timvisher/livecheck/strategy/sparkle/add-macos-to-possible-os-values
...
livecheck/strategy/sparkle.rb: Add `macos` to the candidate `os` values list
2022-12-05 13:15:23 +00:00
Mike McQuaid
5f74734b3f
Merge pull request #14208 from Homebrew/sync-triage-config
...
Synchronize triage configuration
2022-12-05 13:08:05 +00:00
Sean Molenaar
0cd10ed65e
caveats: print sudo in caveats if service requires it
2022-12-05 12:12:51 +01:00
BrewTestBot
6793974b95
triage-issues.yml: update to match main configuration
2022-12-05 10:01:56 +00:00
apainintheneck
35500130c4
Update parser tests
...
- Remove named_args linux specs now that that
logic has been moved to the parser
2022-12-04 23:02:44 -08:00
Bevan Kay
96574c831f
fix tests
2022-12-05 15:20:45 +11:00
Bevan Kay
836efe621f
cask/artifiact/abstract_uninstall: allow wildcard entries for launchctl
2022-12-05 15:08:23 +11:00
apainintheneck
c8f256b21d
Cleanup brew prof
...
- Add exception in brew.rb require check for ruby-prof
2022-12-04 20:07:31 -08:00
apainintheneck
b7e28ef48f
Make :formula? the default on Linux
...
This makes :formula? the default whenever
defined throughout the codebase on Linux.
It also makes :cask? illegal for all Linux
users.
2022-12-04 19:43:12 -08:00
Bevan Kay
40fd8f7d78
unversioned_cask_checker: check installer artifacts
2022-12-05 14:26:38 +11:00
Bo Anderson
001bacee18
Merge pull request #14203 from kaykayehnn/improve-stash-snippet
...
doctor: add -u flag to suggested git stash command
3.6.14
2022-12-04 19:33:09 +00:00
Tim Visher
fc31d5560c
livecheck/strategy/sparkle.rb: Add macos
to the candidate os
values list
...
As can be seen by TextExpander's Sparkle Feed, `macos` is a possible
value.
```
$ date -u '+%FT%T%z' && xmlstarlet sel -t -v '//rss//channel//item//enclosure/@*[name()="url" or name()="sparkle:version" or name()="sparkle:shortVersionString" or name()="sparkle:os"]' <(curl --location --silent https://textexpander.com/appcast/TextExpander-macOS.xml )
2022-10-22T17:07:06+0000
https://cdn.textexpander.com/mac/731.2/TextExpander_7.3.1.dmg
731.2
7.3.1
macos
https://cdn.textexpander.com/mac/720.16/TextExpander_7.2.dmg
720.16
7.2
macos
https://cdn.textexpander.com/mac/710.6/TextExpander_7.1.dmg
710.6
7.1
macos
https://cdn.textexpander.com/mac/702.2/TextExpander_7.0.2.dmg
702.2
7.0.2
macos
https://cdn.textexpander.com/mac/701.2/TextExpander_7.0.1.dmg
701.2
7.0.1
macos
https://cdn.textexpander.com/mac/700.33/TextExpander_7.0.dmg
700.33
7.0
macos
https://cdn.textexpander.com/mac/685.6/TextExpander_6.8.5.zip
685.6
6.8.5
https://cdn.textexpander.com/mac/684.8/TextExpander_6.8.4.zip
684.8
6.8.4
https://cdn.textexpander.com/mac/683.2/TextExpander_6.8.3.zip
683.2
6.8.3
https://cdn.textexpander.com/mac/682.10/TextExpander_6.8.2.zip
682.10
6.8.2
https://cdn.textexpander.com/mac/681.3/TextExpander_6.8.1.zip
681.3
6.8.1
https://cdn.textexpander.com/mac/680.30/TextExpander_6.8.zip
680.30
6.8
https://cdn.textexpander.com/mac/TextExpander_6.5.6.zip
656.3
6.5.6
https://cdn.textexpander.com/mac/TextExpander_6.5.5.zip
655.0
6.5.5
https://cdn.textexpander.com/mac/TextExpander_6.5.4.zip
654.3
6.5.4
https://cdn.textexpander.com/mac/TextExpander_6.5.3.zip
653.3
6.5.3
https://cdn.textexpander.com/mac/TextExpander_6.5.2.zip
652.0
6.5.2
https://smilesoftware.com/downloads/test/TextExpander_6.5.1.zip
651.5
6.5.1
```
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-12-04 14:21:27 -05:00
Krasimir Nedelchev
92c7ede025
doctor: add -u flag to suggested git stash command
2022-12-04 11:59:15 +02:00
Bo Anderson
93660d3de4
Merge pull request #14200 from Bo98/dockerfile-acl
...
Dockerfile: install acl
2022-12-03 06:06:11 +00:00
Bo Anderson
8b6fbbaa2b
Dockerfile: install acl
2022-12-03 05:31:37 +00:00
Mike McQuaid
080a420ba4
Merge pull request #14199 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.24.0
...
build(deps): bump rubocop-ast from 1.23.0 to 1.24.0 in /Library/Homebrew
2022-12-02 09:18:50 +00:00
Eric Knibbe
b63830b92b
Merge pull request #14196 from EricFromCanada/membership-2022
...
docs: update membership & procedures
2022-12-01 22:06:42 -05:00
BrewTestBot
867a39f3e5
Update RBI files for rubocop-ast.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gemss.yml ) workflow.
2022-12-01 18:13:05 +00:00
BrewTestBot
50e0619a8c
brew vendor-gems: commit updates.
2022-12-01 18:06:47 +00:00
dependabot[bot]
86e2dda1ee
build(deps): bump rubocop-ast from 1.23.0 to 1.24.0 in /Library/Homebrew
...
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast ) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases )
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.23.0...v1.24.0 )
---
updated-dependencies:
- dependency-name: rubocop-ast
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-01 18:02:57 +00:00
Mike McQuaid
40852d73d3
Merge pull request #14195 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2022-12-01 10:33:36 +00:00
Mike McQuaid
66aa029f35
Merge pull request #14194 from Homebrew/spdx-update
...
spdx: update license data.
2022-12-01 10:23:29 +00:00
BrewTestBot
d4ab849721
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2022-12-01 00:31:19 +00:00
EricFromCanada
7bc427405a
governance: update membership procedures
2022-11-30 19:30:26 -05:00
EricFromCanada
a8b61a4226
governance: create 2022-membership.md
...
Based on survey in https://github.com/Homebrew/brew/issues/13180
2022-11-30 19:28:23 -05:00
BrewTestBot
02a55fd792
spdx: update license data.
...
Autogenerated by [a scheduled GitHub Action](https://github.com/Homebrew/brew/blob/master/.github/workflows/spdx.yml ).
2022-12-01 00:17:04 +00:00
Bo Anderson
9757cfe0ce
Merge pull request #14192 from Bo98/gpg-docker
...
Dockerfile: install gpg
2022-11-30 19:48:26 +00:00
Bo Anderson
2acabcae0d
Dockerfile: install gpg
2022-11-30 19:16:06 +00:00
Mike McQuaid
aea140c044
Merge pull request #14191 from Homebrew/sponsors-maintainers-man-completions
...
Update sponsors.
2022-11-30 13:33:42 +00:00
BrewTestBot
c315953149
Update sponsors.
...
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml ) workflow.
2022-11-30 13:10:12 +00:00
Mike McQuaid
0915cc7b80
Merge pull request #14163 from apainintheneck/create-cop-for-os-checks
...
Add cop for `OS.linux?` and `OS.mac?` usage
2022-11-30 13:09:21 +00:00
Mike McQuaid
cb5ce5b5a7
Merge pull request #14189 from Bo98/cc-rubylib
...
shims/super/cc: unset RUBYLIB
2022-11-30 13:03:36 +00:00
Dawid Dziurla
84795bdd02
dev-cmd/bump: don't use Repology version if livecheckable
2022-11-30 10:14:26 +01:00
apainintheneck
00990e34a7
Merge branch 'master' into create-cop-for-os-checks
2022-11-29 23:14:15 -08:00
apainintheneck
c477b9aab3
Cleanup after adding os specific rubocop
...
- Change name of rubocop warning
- Disable linting on remaining offending lines
- Add todos to move lines with disabled linting
checks to extend/os in the future
2022-11-29 23:13:50 -08:00
apainintheneck
d48859a9ce
Move FormulaInstaller check to extend/os
2022-11-29 23:13:50 -08:00
apainintheneck
2eee1e7c2a
Move SimulateSystem check to extend/os
2022-11-29 23:13:50 -08:00