103 Commits

Author SHA1 Message Date
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
Mike McQuaid
6119c78c5c
Cleanup other vendored gems.
Exclude subdirectories and specific files. This makes adding/removing files on newly vendored versions much easier.
2018-12-17 13:27:41 +00:00
Mike McQuaid
5fb9c255a5
i18n: vendor gem. 2018-12-17 13:27:40 +00:00
Mike McQuaid
8a87c6c202
RuboCop 0.60.0 2018-11-02 17:28:32 +00:00
Shaun Jackman
f4e61bcb14 Add Dockerfile 2018-10-24 15:45:13 -07:00
Mike McQuaid
800853a28d
Vendor rubocop-rspec
We aren't going to vendor its dependencies because we already require
a systemwide installation of `rubocop` to work in your editor. This
avoids requiring users to manually do another
`gem install rubocop-rspec` to have their editor integration behave as
expected.
2018-10-14 12:11:54 -07:00
Mike McQuaid
a4d9b4816d
Partially add ActiveSupport and Concurrent Ruby gems. 2018-09-14 17:01:48 +01:00
Mike McQuaid
d7eca0b57c
Use Bundler to manage vendor directory
Rather than having to manually keep track of what version each thing in
here is and copy files around by hand on update let's use Bundler's
standalone mode and careful use of `.gitignore` to help us do it.

This means a `bundle update --standalone` will allow us to update all
gems in vendor.

We could consider vendoring other gems this way in future but I'd
suggest only doing this for gems with no dependencies or at least gems
with no native extensions. The only gem this applies to that we
currently use is `ruby-prof` and I'm not convinced it's widely used
enough to warrant vendoring for everyone. Perhaps that's another
criteria: it should be functionality that's used by non-developer
commands and/or normal Homebrew usage.
2018-09-13 15:24:18 +01:00
Mike McQuaid
8bee36d0c6
gitignore: general cleanup
Remove a bunch of unneeded, old directories and generally cleanup.
2018-09-06 11:49:22 +01:00
Mike McQuaid
ec9e45a8f0
tests: handle file leaks and SVN test prompt.
- Ignore files that are generated by `brew tests`
- Make the SVN tests work without prompting for GitHub's SSL certificate
2018-09-02 13:43:58 +01:00