提交 3fc06bf4 编写于 作者: J Justin Collins

Upgrade ruby2ruby to 2.1.1 and remove temp fix

上级 cca23f00
......@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
s.cert_chain = ['brakeman-public_cert.pem']
s.signing_key = gem_priv_key if File.exist? gem_priv_key and $0 =~ /gem\z/
s.add_dependency "ruby_parser", "~>3.5.0"
s.add_dependency "ruby2ruby", "~>2.0.5"
s.add_dependency "ruby2ruby", "~>2.1.1"
s.add_dependency "terminal-table", "~>1.4"
s.add_dependency "fastercsv", "~>1.5"
s.add_dependency "highline", "~>1.6.20"
......
#Temporary fix for https://github.com/seattlerb/ruby_parser/issues/154
class Regexp
[:ENC_NONE, :ENC_EUC, :ENC_SJIS, :ENC_UTF8].each do |enc|
remove_const enc if const_defined? enc
end
end
require 'ruby2ruby'
require 'brakeman/util'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册