Refactor annotate_routes (Reduced offenses).
Reduced the Cyclomatic complexity.
#330 By default didn't annotate activeadmin models.
This close #330
Showing
This diff is collapsed.
Click to expand it.
... | @@ -17,7 +17,7 @@ group :development, :test do | ... | @@ -17,7 +17,7 @@ group :development, :test do |
gem 'terminal-notifier-guard', require: false | gem 'terminal-notifier-guard', require: false | ||
gem 'simplecov', require: false | gem 'simplecov', require: false | ||
gem 'rubocop', require: false unless RUBY_VERSION =~ /^1.8/ | gem 'rubocop', require: false unless RUBY_VERSION =~ /^1.8/ | ||
gem 'coveralls' | # gem 'coveralls' | ||
gem 'codeclimate-test-reporter' | gem 'codeclimate-test-reporter' | ||
platforms :mri do | platforms :mri do | ||
... | ... |
This diff is collapsed.
Click to expand it.
lib/annotate/file_patterns.rb
0 → 100644
Please
register
or
sign in
to comment