diff --git a/Gemfile b/Gemfile index ebd7190fa..843e166a1 100644 --- a/Gemfile +++ b/Gemfile @@ -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' diff --git a/tasks/compile.rake b/tasks/compile.rake index 42f179f54..db781c775 100644 --- a/tasks/compile.rake +++ b/tasks/compile.rake @@ -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))