160 Commits

Author SHA1 Message Date
Bo Anderson
754d580a91
Replace ronn with Kramdown's converter 2024-03-10 22:31:38 +00:00
Carl Fürstenberg
aadd7bbbd8 Be more lenient with the unignore of Library in .gitignore
vscode for example has a issue in that it won't unignore Library if the
unignore line ends with a slash.
2024-03-02 17:48:18 +01:00
Douglas Eichelberger
07fad780de Remove hidden defs references 2024-02-11 20:27:38 -08:00
Douglas Eichelberger
bec27d44c6 Remove stray ActiveSupport references 2024-01-26 15:38:13 -08:00
Douglas Eichelberger
53bba9c00f cleanup 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
Douglas Eichelberger
f6c7eb7124 Add hash/keys to extend/ 2024-01-19 13:36:17 -08:00
Douglas Eichelberger
a87cdf0d21 Add Hash#deep_transform_values to extend/ 2024-01-19 13:36:16 -08:00
Douglas Eichelberger
0cdd4eee3b Add Hash#deep_merge to extend/ 2024-01-19 13:36:16 -08:00
Douglas Eichelberger
c02520f604 Fix style/type violations 2024-01-19 13:36:16 -08:00
Douglas Eichelberger
2e21efff46 Add ActiveSupport String#exclude? to extend/ 2024-01-19 13:35:34 -08:00
Douglas Eichelberger
08e12b2383 Remove ActiveSupport Array access core extensions 2024-01-19 13:34:52 -08:00
Douglas Eichelberger
7b1a3c7535 Remove ActiveSupport String indent core extension 2024-01-08 13:36:45 -08:00
Douglas Eichelberger
b3522b3bb8 Remove ActiveSupport String filters 2024-01-02 16:56:27 -08:00
Bo Anderson
89531e9ff3
Update all dependencies 2023-12-15 16:24:46 +00:00
Douglas Eichelberger
0ce84387fd Also remove Hash#slice! 2023-12-12 10:41:47 -08:00
Douglas Eichelberger
2f22ad40c8 Add h Hash#except to gitignore list 2023-12-12 10:12:35 -08:00
Bo Anderson
0bc2028c44
Remove vendored Ruby 2.6 gems 2023-12-11 16:30:01 +00:00
Bo Anderson
c9974cd828
Vendor Ruby 3.1 gems 2023-11-30 06:09:56 +00:00
Douglas Eichelberger
61667a8023 Ignore non-required dependencies 2023-11-26 09:56:17 -08:00
Douglas Eichelberger
00ba09d73d Remove use of ActiveSupport try 2023-11-05 09:28:19 -08:00
Bo Anderson
71f558229a
Test on Ruby 3.1 2023-09-29 04:46:16 +01:00
Bo Anderson
582049454f
vendor/bundle/ruby: cleanup unneeded files 2023-09-26 18:39:57 +01:00
Bo Anderson
9cf0d34ee0
Move gem group setting to separate, cacheable file 2023-09-13 14:04:13 +01:00
Mike McQuaid
c5afd5d056
macOS .pkg improvements
- don't include GitHub Actions credentials
- generate and include RTF version of Homebrew BSD license
- create nicer installer with `productbuild`
- customise welcome/conclusion messages
- add Homebrew logo as a background image
- remove unnecessary `preinstall` script
- cleanup `postinstall` script to pass `brew doctor`
- use `Distribution.xml` for a nicer installer
- require CLT or Xcode rather than using our hacks to try and install
  CLT during installation
2023-07-25 15:47:34 +01:00
Mike McQuaid
043b9512e4
Merge pull request #15487 from Homebrew/dependabot/bundler/Library/Homebrew/json_schemer-0.2.25
build(deps): bump json_schemer from 0.2.24 to 0.2.25 in /Library/Homebrew
2023-06-28 12:53:32 +01:00
Mike McQuaid
b9c4671139
gitignore: ignore more Bundler files. 2023-06-28 11:45:39 +01:00
Mike McQuaid
80f96ca5fd
gitignore: fix activesupport ignores. 2023-06-28 11:23:00 +01:00
Douglas Eichelberger
03ee70b1ae Remove kernel/reporting extension 2023-04-26 09:16:55 -07:00
Douglas Eichelberger
e16f4ef1c2 Ignore unused transitive dependencies: tzinfo & zeitwerk 2023-04-25 16:46:33 -07:00
Douglas Eichelberger
6f9aa98e52 Update .gitignore 2023-04-25 11:08:08 -07:00
Douglas Eichelberger
f52cbbb9da
Vendor mechanize gem outside Gemfile
We only need a single file and it avoids pulling in e.g. `nokogiri`
which is vulnerable.

Allow updating it using `brew vendor-gems`.
2023-04-24 14:03:55 +01:00
apainintheneck
6ab6d7c8ee irb: save repl history
This enables history for `brew irb` sessions.
It saves that history to the repository directory.
2023-03-06 22:24:14 -08:00
apainintheneck
39c6f7d6fb Stop including *flight block source in cask API
Originally we were going to try and load the *flight blocks from the API
but we ended up going with downloading the caskfile for the subset of
casks that need this functionality for consisty's sake.

This reverts the following commits from most recent to oldest:
- ffc74a51fb32b66a4cd8bc41dbd076dd23d9100e
- e5616e94fe42505434c330be35eeafef2739944f
- d1490c3d5c087d00f2bca1787cce331202b195c5
- 7ca5a5d9a71a73f21bbb8555a38048f027bee89b
- 2d5d132713d0701d02d5ff33e9918812d13d2a83

It also changes how *flight blocks are handled in `.to_h`.
Essentially, when *flight blocks exist they are just included
as a hash of the artifact to nil to indicate that they exist.

More information isn't necessary since we don't evaluate
the current source code in the *flight artifacts that
we get from the API.
2023-02-13 21:22:18 -08:00
Rylan Polster
e5616e94fe
Vendor method_source gem 2023-01-03 23:27:31 -05:00
apainintheneck
d318c56013 Add integration tests for profiler 2022-12-30 19:37:32 -08:00
Sean Molenaar
72b3348fb1
feature: generate macOS pkg files 2022-12-19 21:26:24 +01:00
Bo Anderson
796bad98ff
Allow gem installation on Rubies other than 2.6 2022-11-05 15:23:19 +00:00
Mike McQuaid
dd39b2be64
Add VSCode devcontainers
Should be useful for getting a development environment setup quickly.
2022-10-27 09:18:49 +01:00
Bo Anderson
e4264c9f35
Replace sorbet-runtime-stub with sorbet-runtime 2022-07-19 23:43:14 +01:00
Sam Ford
e34cb92d13
Vendor public_suffix data dir
The `addressable` gem depends on the `public_suffix` gem but we also
need to vendor the `data` dir from `public_suffix` for `addressable`
to function correctly.
2022-05-18 20:40:42 -04:00
Sam Ford
d0961a4e3e
Add addressable to vendored gems 2022-05-18 18:48:16 -04:00
Mike McQuaid
15541f082c
docs: remove Gemfile.lock.
We don't use this for anything and approving the dependabot PRs is a bit
of a waste of time.
2022-03-31 12:03:27 +01:00
XuehaiPan
d78c11361a .shellcheckrc: disable unneeded check SC2310-SC2312 globally 2021-11-08 23:50:54 +08:00
Bo Anderson
106bd64e30
Don't vendor YARD 2021-10-23 01:27:13 +01:00
Bo Anderson
1537e2eccd
Ignore new dependencies 2021-09-17 19:18:39 +01:00
Misty De Meo
04c8e896a5
edit: enable Sublime Text project view 2021-08-01 15:36:48 -07:00
Jason Rudolph
e163eb8650
Enhance test suite to emit JUnit XML test reports
In preparation for detecting flaky tests with BuildPulse, this commit
sets up the rspec_junit_formatter gem to output JUnit XML reports of the
test suite, which is the format used by BuildPulse and various other
tooling that interprets test results.

Because the test suite uses the parallel_tests gem, this commit
incorporates some related changes to make all the parallel_tests gem and
the rspec_junit_formatter gem to cooperate with each other.

rspec_junit_formatter writes everything to a single XML file. That works
fine when there's only one process writing to the file. By default,
whatever process finishes last will write to the file and clobber the
output of all the other processes that wrote to the file. 🙈

To prevent this issue, the parallel_tests wiki recommends adding a
`.rspec_parallel` file to specify its RSpec options
(https://github.com/grosser/parallel_tests/wiki#with-rspec_junit_formatter----by-jgarber),
then the project can specify different files for each process to write
to like so:

  --format RspecJunitFormatter
  --out tmp/rspec<%= ENV['TEST_ENV_NUMBER'] %>.xml

However, prior to this commit, the Homebrew/brew test suite specified
its RSpec options via the command line. Unfortunately though, there's no
way (AFAICT) to set the equivalent of these options via the command
line:

  --format RspecJunitFormatter
  --out tmp/rspec<%= ENV['TEST_ENV_NUMBER'] %>.xml

So, we need to use a `.rspec_parallel` file to specify these options ☝️.

However, it appears that RSpec allows you to specify formatters _either_
in an options file (like `.rspec_parallel`) _or_ via command-line args.
But if you specify any formatters via command-line args, then all
formatters in the options file are ignored.  (I suspect that's somehow
related to this bit of code in rspec-core:
https://github.com/rspec/rspec-core/blob/v3.10.0/lib/rspec/core/configuration_options.rb#L64.)

With that in mind, in order to have the RspecJunitFormatter configured
 in `.rspec_parallel`, we need to move the other formatters into
 `.rpsec_parallel` as well, instead of passing them as command-line
 args. Therefore, this commit moves all the formatters into a
 `.rspec_parallel` file.
2021-06-21 13:14:18 -04:00
Markus Reiter
0e71efb131
Merge pull request #10969 from reitermarkus/yard
Move YARD config into `Library/Homebrew`.
2021-04-02 23:48:55 +02:00
Markus Reiter
7ada548868
Move YARD config into Library/Homebrew. 2021-04-02 23:21:03 +02:00