Refactor Ripper-based optimization pipeline
by relying on Temple 0.8.2+ https://github.com/judofyr/temple/pull/127
This commit is contained in:
parent
003bf902e2
commit
cc0a02ab36
|
@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|||
spec.required_ruby_version = '>= 2.1.0'
|
||||
end
|
||||
|
||||
spec.add_dependency 'temple', '>= 0.8.0'
|
||||
spec.add_dependency 'temple', '>= 0.8.2'
|
||||
spec.add_dependency 'thor'
|
||||
spec.add_dependency 'tilt'
|
||||
|
||||
|
|
|
@ -25,10 +25,8 @@ module Hamlit
|
|||
use Parser
|
||||
use Compiler
|
||||
use HTML
|
||||
if Ripper.respond_to?(:lex) # No Ripper.lex in truffleruby
|
||||
use StringSplitter
|
||||
filter :StaticAnalyzer
|
||||
end
|
||||
use Escapable
|
||||
use ForceEscapable
|
||||
filter :ControlFlow
|
||||
|
|
Loading…
Reference in New Issue