tasks/reek.rake in kevinrutherford-reek-1.1.3.3 vs tasks/reek.rake in kevinrutherford-reek-1.1.3.4
- old
+ new
@@ -1,7 +1,10 @@
-require 'reek/rake_task'
+begin
+ require 'reek/rake_task'
-Reek::RakeTask.new do |t|
- t.fail_on_error = true
- t.verbose = false
-# t.reek_opts = '-f "Smell: %s: %c %w"'
+ Reek::RakeTask.new do |t|
+ t.fail_on_error = true
+ t.verbose = false
+ # t.reek_opts = '-f "Smell: %s: %c %w"'
+ end
+rescue Gem::LoadError
end