File tree Expand file tree Collapse file tree 4 files changed +29
-21
lines changed Expand file tree Collapse file tree 4 files changed +29
-21
lines changed Original file line number Diff line number Diff line change 1
1
AllCops :
2
2
TargetRubyVersion : 2.6
3
3
DisplayCopNames : true
4
+ NewCops : enable
4
5
5
6
Bundler/DuplicatedGem :
6
7
Enabled : false
Original file line number Diff line number Diff line change 1
1
GIT
2
2
remote: https://github.com/simplecov-ruby/simplecov.git
3
- revision: 80700ec9f9b5ae426c22d06f62620f7e7b71ff42
3
+ revision: 441d8ca6249c07275202880f3ff604272a4a3b76
4
4
specs:
5
- simplecov (0.18.5 )
5
+ simplecov (0.21.2 )
6
6
docile (~> 1.1 )
7
7
simplecov-html (~> 0.11 )
8
+ simplecov_json_formatter (~> 0.1 )
8
9
9
10
PATH
10
11
remote: .
14
15
GEM
15
16
remote: https://rubygems.org/
16
17
specs:
17
- ast (2.4.0 )
18
- concurrent-ruby (1.1.5 )
19
- docile (1.3.2 )
18
+ ast (2.4.2 )
19
+ concurrent-ruby (1.1.8 )
20
+ docile (1.3.5 )
20
21
execjs (2.7.0 )
21
- jaro_winkler (1.5.4 )
22
- minitest (5.14.0 )
23
- parallel (1.19.1 )
24
- parser (2.7.0.2 )
25
- ast (~> 2.4.0 )
22
+ minitest (5.14.4 )
23
+ parallel (1.20.1 )
24
+ parser (3.0.1.0 )
25
+ ast (~> 2.4.1 )
26
26
rack (2.2.3 )
27
27
rainbow (3.0.0 )
28
- rake (13.0.1 )
29
- rubocop (0.79.0 )
30
- jaro_winkler (~> 1.5.1 )
28
+ rake (13.0.3 )
29
+ regexp_parser (2.1.1 )
30
+ rexml (3.2.5 )
31
+ rubocop (1.13.0 )
31
32
parallel (~> 1.10 )
32
- parser (>= 2.7 .0.1 )
33
+ parser (>= 3.0 .0.0 )
33
34
rainbow (>= 2.2.2 , < 4.0 )
35
+ regexp_parser (>= 1.8 , < 3.0 )
36
+ rexml
37
+ rubocop-ast (>= 1.2.0 , < 2.0 )
34
38
ruby-progressbar (~> 1.7 )
35
- unicode-display_width (>= 1.4.0 , < 1.7 )
36
- ruby-progressbar (1.10.1 )
39
+ unicode-display_width (>= 1.4.0 , < 3.0 )
40
+ rubocop-ast (1.4.1 )
41
+ parser (>= 2.7.1.5 )
42
+ ruby-progressbar (1.11.0 )
43
+ simplecov_json_formatter (0.1.2 )
37
44
sprockets (3.7.2 )
38
45
concurrent-ruby (~> 1.0 )
39
46
rack (> 1 , < 3 )
40
47
uglifier (4.2.0 )
41
48
execjs (>= 0.3.0 , < 3 )
42
- unicode-display_width (1.6.1 )
49
+ unicode-display_width (2.0.0 )
43
50
yui-compressor (0.12.0 )
44
51
45
52
PLATFORMS
@@ -56,4 +63,4 @@ DEPENDENCIES
56
63
yui-compressor
57
64
58
65
BUNDLED WITH
59
- 2.1.4
66
+ 2.2.16
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ guard "bundler" do
10
10
end
11
11
12
12
guard "rake" , :task => "assets:compile" do
13
- watch ( %r{^assets\ / } )
13
+ watch ( %r{^assets/} )
14
14
end
Original file line number Diff line number Diff line change @@ -96,11 +96,11 @@ def formatted_source_file(source_file)
96
96
97
97
# Returns a table containing the given source files
98
98
def formatted_file_list ( title , source_files )
99
- title_id = title . gsub ( /^[^a-zA-Z]+/ , "" ) . gsub ( /[^a-zA-Z0-9\- \ _ ]/ , "" )
99
+ title_id = title . gsub ( /^[^a-zA-Z]+/ , "" ) . gsub ( /[^a-zA-Z0-9\- _]/ , "" )
100
100
# Silence a warning by using the following variable to assign to itself:
101
101
# "warning: possibly useless use of a variable in void context"
102
102
# The variable is used by ERB via binding.
103
- title_id = title_id
103
+ title_id = title_id # rubocop:disable Lint/SelfAssignment
104
104
template ( "file_list" ) . result ( binding )
105
105
end
106
106
You can’t perform that action at this time.
0 commit comments