File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def category
24
24
"Rails/HasAndBelongsToMany" => "Style" ,
25
25
"Rails/TimeZone" => "Style" ,
26
26
"Rails/Validation" => "Style" ,
27
- "Standard/SemanticBlocks" => "Style" ,
27
+ "Standard/SemanticBlocks" => "Style"
28
28
} . freeze
29
29
30
30
attr_reader :cop_name
Original file line number Diff line number Diff line change @@ -31,23 +31,23 @@ namespace :docs do
31
31
32
32
def collect_standard_files
33
33
`git clone https://github.com/testdouble/standard`
34
- FileUtils . cd ( ' standard' ) do
34
+ FileUtils . cd ( " standard" ) do
35
35
`git checkout tags/v#{ Standard ::VERSION . version } `
36
36
end
37
37
Dir . glob ( "./standard/lib/standard/cop/**.rb" )
38
38
end
39
39
40
40
def collect_rubocop_files
41
41
`git clone https://github.com/rubocop-hq/rubocop`
42
- FileUtils . cd ( ' rubocop' ) do
42
+ FileUtils . cd ( " rubocop" ) do
43
43
`git checkout tags/v#{ RuboCop ::Version . version } `
44
44
end
45
45
Dir . glob ( "./rubocop/lib/rubocop/cop/{#{ COP_FOLDERS . join ( "," ) } }/**.rb" )
46
46
end
47
47
48
48
def collect_rubocop_performance_files
49
49
`git clone https://github.com/rubocop-hq/rubocop-performance`
50
- FileUtils . cd ( ' rubocop-performance' ) do
50
+ FileUtils . cd ( " rubocop-performance" ) do
51
51
`git checkout tags/v#{ RuboCop ::Performance ::Version ::STRING } `
52
52
end
53
53
Dir . glob ( "./rubocop-performance/lib/rubocop/cop/performance/**.rb" )
You can’t perform that action at this time.
0 commit comments