File tree Expand file tree Collapse file tree 7 files changed +55
-29
lines changed Expand file tree Collapse file tree 7 files changed +55
-29
lines changed Original file line number Diff line number Diff line change
1
+ name : test
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ tests :
7
+ runs-on : ubuntu-latest
8
+ strategy :
9
+ fail-fast : false
10
+
11
+ matrix :
12
+ ruby-version :
13
+ - ' 2.5'
14
+ - ' 2.6'
15
+ - ' 2.7'
16
+ - ' 3.0'
17
+ - ' 3.1'
18
+ - ruby-head
19
+ - jruby
20
+ - jruby-head
21
+
22
+ steps :
23
+ - uses : actions/checkout@v3
24
+
25
+ - uses : ruby/setup-ruby@v1
26
+ with :
27
+ ruby-version : ${{ matrix.ruby-version }}
28
+ bundler-cache : true
29
+ continue-on-error : ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}
30
+
31
+ - run : |
32
+ bundle exec rake
33
+ continue-on-error: ${{ (matrix.ruby-version == 'ruby-head') || (matrix.ruby-version == 'jruby-head') }}
Original file line number Diff line number Diff line change @@ -54,9 +54,6 @@ Style/ExpandPathArguments:
54
54
Style/FrozenStringLiteralComment :
55
55
Enabled : true
56
56
57
- Style/HashSyntax :
58
- EnforcedStyle : hash_rockets
59
-
60
57
Style/MutableConstant :
61
58
Exclude :
62
59
- " lib/simplecov-html/version.rb"
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ gem "rake", ">= 11"
8
8
9
9
# Use local copy of simplecov in development if you want to
10
10
# gem "simplecov", :path => File.dirname(__FILE__) + "/../simplecov"
11
- gem "simplecov" , :github => " simplecov-ruby/simplecov"
11
+ gem "simplecov" , git : "https://github.com/ simplecov-ruby/simplecov"
12
12
13
13
group :test do
14
14
gem "minitest"
Original file line number Diff line number Diff line change 1
1
GIT
2
- remote: https://github.com/simplecov-ruby/simplecov.git
3
- revision: 441d8ca6249c07275202880f3ff604272a4a3b76
2
+ remote: https://github.com/simplecov-ruby/simplecov
3
+ revision: 0260b1f309e76c8ed87731ebbc348b05d753b8a2
4
4
specs:
5
- simplecov (0.21.2 )
5
+ simplecov (0.20.0 )
6
6
docile (~> 1.1 )
7
7
simplecov-html (~> 0.11 )
8
8
simplecov_json_formatter (~> 0.1 )
16
16
remote: https://rubygems.org/
17
17
specs:
18
18
ast (2.4.2 )
19
- concurrent-ruby (1.1.8 )
20
- docile (1.3.5 )
19
+ concurrent-ruby (1.1.5 )
20
+ docile (1.4.0 )
21
21
execjs (2.7.0 )
22
- minitest (5.14.4 )
23
- parallel (1.20 .1 )
24
- parser (3.0 .1.0 )
22
+ minitest (5.15.0 )
23
+ parallel (1.22 .1 )
24
+ parser (3.1 .1.0 )
25
25
ast (~> 2.4.1 )
26
26
rack (2.2.3 )
27
- rainbow (3.0.0 )
28
- rake (13.0.3 )
29
- regexp_parser (2.1 .1 )
27
+ rainbow (3.1.1 )
28
+ rake (13.0.1 )
29
+ regexp_parser (2.2 .1 )
30
30
rexml (3.2.5 )
31
- rubocop (1.13.0 )
31
+ rubocop (1.26.1 )
32
32
parallel (~> 1.10 )
33
- parser (>= 3.0 .0.0 )
33
+ parser (>= 3.1 .0.0 )
34
34
rainbow (>= 2.2.2 , < 4.0 )
35
35
regexp_parser (>= 1.8 , < 3.0 )
36
36
rexml
37
- rubocop-ast (>= 1.2 .0 , < 2.0 )
37
+ rubocop-ast (>= 1.16 .0 , < 2.0 )
38
38
ruby-progressbar (~> 1.7 )
39
39
unicode-display_width (>= 1.4.0 , < 3.0 )
40
- rubocop-ast (1.4.1 )
41
- parser (>= 2.7 .1.5 )
40
+ rubocop-ast (1.16.0 )
41
+ parser (>= 3.1 .1.0 )
42
42
ruby-progressbar (1.11.0 )
43
- simplecov_json_formatter (0.1.2 )
43
+ simplecov_json_formatter (0.1.4 )
44
44
sprockets (3.7.2 )
45
45
concurrent-ruby (~> 1.0 )
46
46
rack (> 1 , < 3 )
47
47
uglifier (4.2.0 )
48
48
execjs (>= 0.3.0 , < 3 )
49
- unicode-display_width (2.0 .0 )
49
+ unicode-display_width (2.1 .0 )
50
50
yui-compressor (0.12.0 )
51
51
52
52
PLATFORMS
@@ -63,4 +63,4 @@ DEPENDENCIES
63
63
yui-compressor
64
64
65
65
BUNDLED WITH
66
- 2.2.16
66
+ 2.4.3
Original file line number Diff line number Diff line change @@ -9,6 +9,6 @@ guard "bundler" do
9
9
# watch(/^.+\.gemspec/)
10
10
end
11
11
12
- guard "rake" , : task => "assets:compile" do
12
+ guard "rake" , task : "assets:compile" do
13
13
watch ( %r{^assets/} )
14
14
end
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ rescue LoadError
27
27
end
28
28
end
29
29
30
- task : default => [ :test , :rubocop ]
30
+ task default : [ :test , :rubocop ]
31
31
32
32
namespace :assets do
33
33
desc "Compiles all assets"
Original file line number Diff line number Diff line change @@ -97,10 +97,6 @@ def formatted_source_file(source_file)
97
97
# Returns a table containing the given source files
98
98
def formatted_file_list ( title , source_files )
99
99
title_id = title . gsub ( /^[^a-zA-Z]+/ , "" ) . gsub ( /[^a-zA-Z0-9\- _]/ , "" )
100
- # Silence a warning by using the following variable to assign to itself:
101
- # "warning: possibly useless use of a variable in void context"
102
- # The variable is used by ERB via binding.
103
- title_id = title_id # rubocop:disable Lint/SelfAssignment
104
100
template ( "file_list" ) . result ( binding )
105
101
end
106
102
You can’t perform that action at this time.
0 commit comments