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

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