Merge branch 'brakeman-level'

Conflicts:
	lib/tasks/brakeman.rake
This commit is contained in:
Dmitriy Zaporozhets 2015-05-12 13:21:11 +03:00
commit ff13fb0ab5
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
desc 'Security check via brakeman'
task :brakeman do
# We get 0 warnings at level 'w3' but we would like to reach 'w2'. Merge
# requests are welcome!
if system(*%W(brakeman --skip-files lib/backup/repository.rb -w3 -z))
puts 'Security check succeed'
else