From d04425904e8da9e4fc8c5462586f0cbcde961043 Mon Sep 17 00:00:00 2001 From: Markus Schirp Date: Sun, 24 Jan 2016 09:15:57 +0000 Subject: [PATCH] Bump parser version to pull csend fix --- lib/mutant/ast/types.rb | 6 +----- mutant.gemspec | 4 ++-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/lib/mutant/ast/types.rb b/lib/mutant/ast/types.rb index db8b4a7d..593b369b 100644 --- a/lib/mutant/ast/types.rb +++ b/lib/mutant/ast/types.rb @@ -41,12 +41,8 @@ module Mutant # Nodes that are NOT generated by parser but used by mutant / unparser. EXTRA = symbolset.(%w[empty]) - # Nodes that are currently missing from Parser::Meta::NODE_TYPES - # * https://github.com/whitequark/parser/pull/251 - MISSING = symbolset.(%w[csend]) - # All node types mutant handles - ALL = symbolset.((Parser::Meta::NODE_TYPES + EXTRA + MISSING) - BLACKLIST) + ALL = symbolset.((Parser::Meta::NODE_TYPES + EXTRA) - BLACKLIST) end # Types end # AST end # Mutant diff --git a/mutant.gemspec b/mutant.gemspec index 24527a58..7cfcf911 100644 --- a/mutant.gemspec +++ b/mutant.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |gem| gem.required_ruby_version = '>= 2.1' - gem.add_runtime_dependency('parser', '~> 2.3.0') + gem.add_runtime_dependency('parser', '~> 2.3.0', '>= 2.3.0.2') gem.add_runtime_dependency('ast', '~> 2.2') gem.add_runtime_dependency('diff-lcs', '~> 1.2') gem.add_runtime_dependency('parallel', '~> 1.3') @@ -36,7 +36,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency('anima', '~> 0.3.0') gem.add_runtime_dependency('concord', '~> 0.1.5') - gem.add_development_dependency('devtools', '~> 0.1.3') + gem.add_development_dependency('devtools', '~> 0.1.4') gem.add_development_dependency('bundler', '~> 1.10') gem.add_development_dependency('ffi', '~> 1.9.6') end