(PUP-11786) Beaker 5 compatibility

Vox Pupuli has released Beaker 5, which drops older (< 2.7) Ruby
compatibility and adds compatibility for Ruby 3.2

This commit adds testing for Ruby 3.2, sets the dependency on
Beaker to ~> 5.0, replaces the File#exists? method that's been
deprecated since Ruby 2.7 and removed in 3.2, and updates the
dependency on FakeFS to the same version that Beaker uses (FakeFS
~> 2.4).
This commit is contained in:
Michael Hashizume 2023-03-27 13:59:30 -07:00
parent 278515e460
commit 4f5ee09807
3 changed files with 4 additions and 12 deletions

View file

@ -14,6 +14,7 @@ jobs:
- '2.7'
- '3.0'
- '3.1'
- '3.2'
steps:
- uses: actions/checkout@v3
- name: Set up Ruby