Skip to content

Commit

Permalink
Fix CLI on Ruby 2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Nov 2, 2020
1 parent 2164320 commit ed25baa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ubuntu]
ruby: [2.4, 2.5, 2.6, 2.7, 'ruby-head']
ruby: [2.3, 2.4, 2.5, 2.6, 2.7, 'ruby-head']
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion lib/bootsnap/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Bootsnap
class CLI
unless Regexp.method_defined?(:match?)
module RegexpMatchBackport
refine Regepx do
refine Regexp do
def match?(string)
!!match(string)
end
Expand Down

0 comments on commit ed25baa

Please sign in to comment.