presidentbeef/brakeman — pull request #54 by oreoshake (2012-03-13 23:51:48+00:00)
Title:  I was getting a NoMethodError when rescanning a file in the lib directo...

I was getting a NoMethodError when rescanning a file in the lib directory. Changed method call to process_lib which lives in scanner.rb

NoMethodError: undefined method `process_library' for #
/Users/neilm/workspace/brakeman/lib/brakeman/rescanner.rb:77:in `rescan_file'
/Users/neilm/workspace/brakeman/lib/brakeman/rescanner.rb:50:in `rescan'
/Users/neilm/workspace/brakeman/lib/brakeman/rescanner.rb:47:in `each'
/Users/neilm/workspace/brakeman/lib/brakeman/rescanner.rb:47:in `rescan'
/Users/neilm/workspace/brakeman/lib/brakeman/rescanner.rb:46:in `each'
/Users/neilm/workspace/brakeman/lib/brakeman/rescanner.rb:46:in `rescan'
/Users/neilm/workspace/brakeman/lib/brakeman/rescanner.rb:22:in `recheck'
/Users/neilm/workspace/brakeman/lib/brakeman.rb:291:in `rescan'
/usr/local/rvm/gems/ree-1.8.7-2011.12/gems/guard-brakeman-0.3.1/lib/guard/brakeman.rb:73:in `run_on_change'