112 Commits

Author SHA1 Message Date
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
Mike McQuaid
bd4c37bfda
Merge pull request #10514 from thomasrockhu/codecov-action
Add Codecov GitHub Action step
2021-04-02 20:02:51 +01:00
Mike McQuaid
5f31ebd8d4
github_packages: use json_schemer gem.
Instead of the deprecated json-schema.
2021-03-29 14:48:58 +01:00
Mike McQuaid
169a1bae13
github_packages: various improvements.
- validate all JSON files against their JSON schemas
- remove existing/lingering JSON files
- improve naming based on schema understanding
- add more (empty) annotations hashes where valid
- output prettier JSON
- fix non-SHA256 output filenames
2021-03-25 10:29:26 +00:00
Mike McQuaid
1b2dab5efa
Remove more codecov gem references. 2021-02-04 09:06:52 +00:00
Mike McQuaid
683ae7ff53
Add HOMEBREW_BOOTSNAP to optionally use Bootsnap
> Bootsnap is a library that plugs into Ruby, with optional support
> for ActiveSupport and YAML, to optimize and cache expensive
> computations.
https://github.com/Shopify/bootsnap

For our case that translates to "repeated calls to `brew` have
reductions in the time spend `require`ing speeding up the process
boot time".

For example:

```
$ hyperfine --warmup=2 "unset HOMEBREW_BOOTSNAP; brew info wget" "export HOMEBREW_BOOTSNAP=1; brew info wget"
Benchmark #1: unset HOMEBREW_BOOTSNAP; brew info wget
  Time (mean ± σ):      2.417 s ±  0.032 s    [User: 659.0 ms, System: 855.5 ms]
  Range (min … max):    2.382 s …  2.464 s    10 runs

Benchmark #2: export HOMEBREW_BOOTSNAP=1; brew info wget
  Time (mean ± σ):      1.862 s ±  0.064 s    [User: 425.3 ms, System: 566.8 ms]
  Range (min … max):    1.736 s …  1.952 s    10 runs

Summary
  'export HOMEBREW_BOOTSNAP=1; brew info wget' ran
    1.30 ± 0.05 times faster than 'unset HOMEBREW_BOOTSNAP; brew info wget'
```
2021-01-21 12:34:04 +00:00
Rylan Polster
b39c0f71f3
vscode: add configuration 2021-01-07 13:27:18 +00:00
Markus Reiter
da86bb50c9 Ignore racc gem. 2021-01-06 06:25:06 +01:00
Mike McQuaid
8528eff604
Add and enable rubocop-rails.
This will help us catch and cleanup usage of e.g. `.blank?` and other
helpers we use from ActiveSupport.
2020-12-02 10:43:04 +00:00
Markus Reiter
ae8ebf9464 Add rspec-sorbet. 2020-11-19 16:14:22 +01:00
Markus Reiter
aa6a8e5c13 Add --update option to brew vendor-gems. 2020-11-19 10:11:19 +01:00
Jonathan Chang
a2079e67d3 gitignore: update for rubocop 1.0 2020-11-10 23:28:31 +11:00
Markus Reiter
772a45e758 Vendor sorbet-runtime-stub. 2020-10-09 16:45:13 +02:00
Markus Reiter
f27d7a21d7 Vendor rubocop-sorbet. 2020-10-09 16:45:13 +02:00
Jonathan Chang
cc1d0842bc gitignore: add strscan 2020-09-29 01:52:11 +10:00
nandahkrishna
cf293d0ef5
livecheck: progress bar for JSON output
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
Co-authored-by: Dustin Rodrigues <dust.rod@gmail.com>
2020-09-18 02:40:51 +05:30
Mike McQuaid
6f311852d6 Fix unvendored RubyGems
- Avoid caching RubyGems in GitHub Actions `tests.yml` to catch this in
  future.
- Run `brew doctor` in GitHub Actions `tests.yml` after installing
  RubyGems to catch this in future.
- Ignore relevant RubyGems (and fix outdated comments)
- Never auto-`require` RubyGems that aren't vendored.
- Update `bundler/setup.rb`.
2020-08-27 14:03:03 +01:00
Mike McQuaid
a4d0174d7b
prof: improve brew prof functionality.
- Add `--stackprof` to allow using stackprof
- Use the latest version of `ruby-prof`
- Automatically open the generated HTML output
2020-08-20 13:01:58 +01:00
Mike McQuaid
845d3a2f20
Merge pull request #8309 from Bo98/rexml
vendor/bundle/ruby: unvendor REXML
2020-08-12 10:53:34 +01:00
Bo Anderson
46433de1ca .gitignore: correct mechanize ignore matching 2020-08-11 19:42:54 +01:00
Bo Anderson
d6c389f4df vendor/bundle/ruby: unvendor REXML 2020-08-11 19:13:45 +01:00
Mike McQuaid
763bf6f699
Use vendored patchelf.rb. 2020-08-11 08:41:31 +01:00
vidusheeamoli
17d0a46afd .gitignore: add sorbet and tapioca dependencies 2020-08-01 00:53:51 +05:30
Mike McQuaid
5168e14796
.gitignore: update codecov dependencies. 2020-07-08 11:50:21 +01:00
vidusheeamoli
59abfed56d srb/tapioca: update rbi of recently bumped gems 2020-07-03 11:52:15 +05:30
Mike McQuaid
170b38892a
Use CodeCov for coverage reporting. 2020-07-02 10:22:54 +01:00
rmnull
486114282c
In ELFShim, #needed_libraries, #dynamic_elf? and #with_interpreter? check using patchelf gem.
Having HOMEBREW_PATCHELF_RB set in the ENV,
will conditionally install patchelf.rb gem,
use patchelf.rb in the above mentioned methods.
The installed vendored gems are listed in .gitignore
to maintain a clean state.
2020-06-19 21:23:57 +05:30
vidusheeamoli
5b877cdd96 gitignore: add sorbet/errors.txt 2020-06-17 22:19:54 +05:30
vidusheeamoli
73d2c98689 Gemfile: add tapioca gem 2020-06-14 02:01:10 +05:30
vidusheeamoli
536726799d Gemfile: add sorbet and sorbet-runtime
bundler/setup: add sorbet and sorbet-runtime
2020-06-11 11:41:53 +05:30
Mike McQuaid
ed9cd2d296
gitignore: ignore regexp_parser. 2020-06-02 09:49:01 +01:00
Mike McQuaid
223762915f
gitignore: don't vendor rubocop-ast. 2020-05-21 10:14:57 +01:00
vidusheeamoli
afb29035bd update gitignore 2020-05-18 23:49:44 +05:30
vidusheeamoli
4f1e9f44a1 set up byebug debugger 2020-05-18 16:28:43 +05:30
Shaun Jackman
5052f49f40 Build Docker images for Ubuntu 18.04 and 20.04 2020-05-02 21:04:08 -07:00
Issy Long
de622a2a21
Exclude .vale.ini from .gitignore
- Without this, vale won't correctly detect where the styles are.
2019-12-17 21:42:54 +00:00
Mike McQuaid
a36f00ae8b
Ruby 2.6 (and remove backports) gems 2019-10-10 16:17:05 +01:00
Mike McQuaid
4b30a61732
prof: use ruby-prof 0.18.0
This is the newest version that works with Ruby 2.3.

Also, update the `.gitignore` to hide it while we're here.
2019-09-11 13:57:20 +01:00
Mike McQuaid
a84a20e97b
.github/: defer to Homebrew/.github repo.
This allows maintaining more settings in one place.
2019-05-23 09:46:28 +02:00
Mike McQuaid
9c693d7dc8
gitignore: add rubocop-performance. 2019-05-20 16:56:13 +01:00
Mike McQuaid
710859e300
Update Linuxbrew references to Homebrew on Linux
This is a clearer branding for us to use.

Also, as part of testing this, make some fixes to Jekyll in the docs folder.

Fixes #5835
2019-03-12 20:13:38 +00:00
Mike McQuaid
ea92fa608b
Remove, ignore concurrent_ruby.jar 2019-03-11 12:50:46 +00:00
Mike McQuaid
6b326f4465
Move all gems to vendor/bundle, remove vendor/bundle-standlone. 2019-02-21 16:34:20 +00:00
Mike McQuaid
c16e60ef1e
gitignore: ignore 2.6.0 backports. 2019-02-21 11:53:01 +00:00
Mike McQuaid
bcc92258bd
gitignore: ignore psych gem. 2019-02-21 11:47:17 +00:00
Markus Reiter
de5b35876f Use Mechanize to parse Content-Disposition. 2019-01-30 04:15:34 +01:00
Chongyu Zhu
91ef2babdd
gitignore: ignore pinned taps 2019-01-18 20:27:10 +08:00
Mike McQuaid
4f86e1d54e
brew vendor-gems: commit updates. 2019-01-04 08:46:22 +00:00
Mike McQuaid
0de21812a7
Use Coveralls for coverage reporting. 2018-12-30 20:06:13 +00:00