提交 b090a75f 编写于 作者: J Justin Collins

Ignore non-string gem names in Gemfile

上级 0579dd81
......@@ -35,6 +35,8 @@ class Brakeman::GemProcessor < Brakeman::BaseProcessor
def process_call exp
if exp.target == nil and exp.method == :gem
gem_name = exp.first_arg
return exp unless string? gem_name
gem_version = exp.second_arg
if string? gem_version
......
......@@ -25,6 +25,9 @@ gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.0.1'
gem people do
strange things
end
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册