Skip to content

Commit

Permalink
Bump oedipus_lex, remove hack
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre authored and mergify[bot] committed Oct 27, 2021
1 parent 2cdf308 commit cdc39d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -9,7 +9,7 @@ source 'https://rubygems.org'
gemspec

gem 'bump', require: false
gem 'oedipus_lex', require: false
gem 'oedipus_lex', '>= 2.6.0', require: false
gem 'racc'
gem 'rake', '~> 13.0'
gem 'rspec', '~> 3.7'
Expand Down
6 changes: 0 additions & 6 deletions tasks/compile.rake
Expand Up @@ -3,12 +3,6 @@
require 'oedipus_lex'
Rake.application.rake_require 'oedipus_lex'

# Patch gem, see https://github.com/seattlerb/oedipus_lex/pull/15
class OedipusLex
remove_const :RE
RE = %r{(/(?:\\.|[^/])*/[ion]?)}.freeze
end

def update_file(path)
content = File.read(path)
File.write(path, yield(content))
Expand Down

0 comments on commit cdc39d3

Please sign in to comment.