diff --git a/CHANGELOG.md b/CHANGELOG.md index 55a043b3a..b4f08d929 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## master (unreleased) +### Bug fixes + +* [#288](https://github.com/rubocop/rubocop-ast/pull/288): Fix a Ruby warning (`RUBYOPT=-w`) when doing `bundle exec rubocop` during `rubocop-ast` development. ([@Earlopain][]) + ## 1.31.2 (2024-03-08) ### Bug fixes @@ -451,3 +455,4 @@ [@tdeo]: https://github.com/tdeo [@ydah]: https://github.com/ydah [@sambostock]: https://github.com/sambostock +[@Earlopain]: https://github.com/Earlopain diff --git a/rubocop-ast.gemspec b/rubocop-ast.gemspec index 7d79bfd7e..99cf3f375 100644 --- a/rubocop-ast.gemspec +++ b/rubocop-ast.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |s| s.email = 'rubocop@googlegroups.com' s.files = `git ls-files lib LICENSE.txt README.md` - .split($RS) + %w[ + .split($/) + %w[ lib/rubocop/ast/node_pattern/parser.racc.rb lib/rubocop/ast/node_pattern/lexer.rex.rb ]