Skip to content

Commit 65770b5

Browse files
committed
Refactor annotate_routes (Reduced offenses).
Reduced the Cyclomatic complexity. #330 By default didn't annotate activeadmin models. This close #330
1 parent 3e441d1 commit 65770b5

21 files changed

+549
-594
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
.bundle
66
.gems
77
.rbenv-version
8+
.ruby-*
89
/.idea/
910
/.rbx
1011
/.rvmrc

.rubocop.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
inherit_from: ./.rubocop_todo.yml
22

33
AllCops:
4-
Include:
5-
- '**/Rakefile'
6-
- '**/config.ru'
74
Exclude:
8-
- 'bin/**/*'
5+
- 'vendor/**/*'
6+
- 'spec/fixtures/**/*'
7+
- 'tmp/**/*'

0 commit comments

Comments
 (0)