Skip to content

Commit ca0f5b4

Browse files
committed
update branch
1 parent ba51dee commit ca0f5b4

16 files changed

Lines changed: 1737 additions & 1638 deletions

File tree

.github/workflows/main.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,23 @@ jobs:
1010

1111
matrix:
1212
ruby-version:
13+
- '2.4'
14+
- '2.5'
1315
- '2.6'
1416
- '2.7'
1517
- '3.0'
1618
- '3.1'
19+
- '3.2'
20+
- '3.3'
21+
- '3.4'
1722
- ruby-head
18-
- jruby-9.3
23+
- jruby
1924
- jruby-head
2025

2126
steps:
22-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
28+
29+
- run: rm Gemfile.lock
2330

2431
- uses: ruby/setup-ruby@v1
2532
with:

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,3 @@ coverage
2424
rdoc
2525
pkg
2626
.sass-cache
27-
28-
.ruby-version

.rubocop.yml

Lines changed: 13 additions & 154 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1+
require:
2+
- rubocop-minitest
3+
- rubocop-performance
4+
- rubocop-rake
5+
16
AllCops:
2-
TargetRubyVersion: 2.6
37
DisplayCopNames: true
8+
NewCops: enable
9+
TargetRubyVersion: 2.5
410

511
Bundler/DuplicatedGem:
612
Enabled: false
713

14+
Gemspec/RequiredRubyVersion:
15+
Enabled: false
16+
817
Layout/AccessModifierIndentation:
918
EnforcedStyle: outdent
1019

@@ -14,6 +23,9 @@ Layout/SpaceInsideHashLiteralBraces:
1423
Metrics/BlockNesting:
1524
Max: 2
1625

26+
Metrics/ClassLength:
27+
Enabled: false
28+
1729
Layout/LineLength:
1830
AllowURI: true
1931
Enabled: false
@@ -71,156 +83,3 @@ Style/TrailingCommaInHashLiteral:
7183

7284
Style/TrailingCommaInArrayLiteral:
7385
EnforcedStyleForMultiline: "comma"
74-
75-
Gemspec/DateAssignment: # new in 1.10
76-
Enabled: true
77-
78-
Layout/LineEndStringConcatenationIndentation: # new in 1.18
79-
Enabled: true
80-
81-
Layout/SpaceBeforeBrackets: # new in 1.7
82-
Enabled: true
83-
84-
Lint/AmbiguousAssignment: # new in 1.7
85-
Enabled: true
86-
87-
Lint/AmbiguousOperatorPrecedence: # new in 1.21
88-
Enabled: true
89-
90-
Lint/AmbiguousRange: # new in 1.19
91-
Enabled: true
92-
93-
Lint/DeprecatedConstants: # new in 1.8
94-
Enabled: true
95-
96-
Lint/DuplicateBranch: # new in 1.3
97-
Enabled: true
98-
99-
Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
100-
Enabled: true
101-
102-
Lint/EmptyBlock: # new in 1.1
103-
Enabled: true
104-
105-
Lint/EmptyClass: # new in 1.3
106-
Enabled: true
107-
108-
Lint/EmptyInPattern: # new in 1.16
109-
Enabled: true
110-
111-
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
112-
Enabled: true
113-
114-
Lint/LambdaWithoutLiteralBlock: # new in 1.8
115-
Enabled: true
116-
117-
Lint/NoReturnInBeginEndBlocks: # new in 1.2
118-
Enabled: true
119-
120-
Lint/NumberedParameterAssignment: # new in 1.9
121-
Enabled: true
122-
123-
Lint/OrAssignmentToConstant: # new in 1.9
124-
Enabled: true
125-
126-
Lint/RedundantDirGlobSort: # new in 1.8
127-
Enabled: true
128-
129-
Lint/RequireRelativeSelfPath: # new in 1.22
130-
Enabled: true
131-
132-
Lint/SymbolConversion: # new in 1.9
133-
Enabled: true
134-
135-
Lint/ToEnumArguments: # new in 1.1
136-
Enabled: true
137-
138-
Lint/TripleQuotes: # new in 1.9
139-
Enabled: true
140-
141-
Lint/UnexpectedBlockArity: # new in 1.5
142-
Enabled: true
143-
144-
Lint/UnmodifiedReduceAccumulator: # new in 1.1
145-
Enabled: true
146-
147-
Lint/UselessRuby2Keywords: # new in 1.23
148-
Enabled: true
149-
150-
Naming/BlockForwarding: # new in 1.24
151-
Enabled: true
152-
153-
Security/IoMethods: # new in 1.22
154-
Enabled: true
155-
156-
Style/ArgumentsForwarding: # new in 1.1
157-
Enabled: true
158-
159-
Style/CollectionCompact: # new in 1.2
160-
Enabled: true
161-
162-
Style/DocumentDynamicEvalDefinition: # new in 1.1
163-
Enabled: true
164-
165-
Style/EndlessMethod: # new in 1.8
166-
Enabled: true
167-
168-
Style/FileRead: # new in 1.24
169-
Enabled: true
170-
171-
Style/FileWrite: # new in 1.24
172-
Enabled: true
173-
174-
Style/HashConversion: # new in 1.10
175-
Enabled: true
176-
177-
Style/HashExcept: # new in 1.7
178-
Enabled: true
179-
180-
Style/IfWithBooleanLiteralBranches: # new in 1.9
181-
Enabled: true
182-
183-
Style/InPatternThen: # new in 1.16
184-
Enabled: true
185-
186-
Style/MapToHash: # new in 1.24
187-
Enabled: true
188-
189-
Style/MultilineInPatternThen: # new in 1.16
190-
Enabled: true
191-
192-
Style/NegatedIfElseCondition: # new in 1.2
193-
Enabled: true
194-
195-
Style/NestedFileDirname: # new in 1.26
196-
Enabled: true
197-
198-
Style/NilLambda: # new in 1.3
199-
Enabled: true
200-
201-
Style/NumberedParameters: # new in 1.22
202-
Enabled: true
203-
204-
Style/NumberedParametersLimit: # new in 1.22
205-
Enabled: true
206-
207-
Style/OpenStructUse: # new in 1.23
208-
Enabled: true
209-
210-
Style/QuotedSymbols: # new in 1.16
211-
Enabled: true
212-
213-
Style/RedundantArgument: # new in 1.4
214-
Enabled: true
215-
216-
Style/RedundantSelfAssignmentBranch: # new in 1.19
217-
Enabled: true
218-
219-
Style/SelectByRegexp: # new in 1.22
220-
Enabled: true
221-
222-
Style/StringChars: # new in 1.12
223-
Enabled: true
224-
225-
Style/SwapValues: # new in 1.1
226-
Enabled: true

CHANGELOG.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
0.13.2 (2025-07-16)
2+
==================
3+
4+
## Misc
5+
* Stop requiring cgi for Ruby 3.5 compatibility. See [#149](https://github.com/simplecov-ruby/simplecov-html/pull/149) (thanks [@Earlopain](https://github.com/Earlopain)).
6+
7+
0.13.1 (2024-09-09)
8+
==================
9+
10+
## Misc
11+
* Drop base64 dependency. See [#144](https://github.com/simplecov-ruby/simplecov-html/pull/144) (thanks [@Earlopain](https://github.com/Earlopain)).
12+
13+
0.13.0 (2024-09-08)
14+
==================
15+
16+
## Enhancements
17+
* Cache erb templates when generating report. See [#114](https://github.com/simplecov-ruby/simplecov-html/pull/114) (thanks [@fatkodima](https://github.com/fatkodima)).
18+
* Print branch coverage with line coverage. See [#103](https://github.com/simplecov-ruby/simplecov-html/pull/103) (thanks [@jeremyevans](https://github.com/jeremyevans)).
19+
* Add line number anchors. Thanks [@jantman](https://github.com/jantman) for the proposal [#49](https://github.com/simplecov-ruby/simplecov-html/issues/49) and [@nishidayuya](https://github.com/nishidayuya) for the patch [#106](https://github.com/simplecov-ruby/simplecov-html/pull/106)!
20+
* Add inline assets option. See [#107](https://github.com/simplecov-ruby/simplecov-html/pull/107) (thanks [@frankh](https://github.com/frankh)).
21+
* Make close button look better. See [#140](https://github.com/simplecov-ruby/simplecov-html/pull/140) (thanks [@anthony0030](https://github.com/anthony0030)).
22+
* Avoid "permission denied" errors by removing the destination before copying assets [#135](https://github.com/simplecov-ruby/simplecov-html/pull/135) (thanks [@tomeon](https://github.com/tomeon)).
23+
* Improve clarity of line and branch coverage format. See [#125](https://github.com/simplecov-ruby/simplecov-html/pull/125) (thanks [@joshuapinter](https://github.com/joshuapinter)).
24+
25+
## Bugfixes
26+
* Avoid loading favicon.png that does not exist. See [#123](https://github.com/simplecov-ruby/simplecov-html/pull/123) (thanks [@yyamanoi1222](https://github.com/yyamanoi1222)).
27+
28+
## Misc
29+
* Reduced gem size by not including development-only files.
30+
* Bundle jQuery 3.7.1. See [#108](https://github.com/simplecov-ruby/simplecov-html/issues/108) (thanks [@jgarland79](https://github.com/jgarland79) for reporting the issue).
31+
132
0.12.3 (2020-09-23)
233
==================
334

@@ -36,6 +67,8 @@ Yes it looks different, no it's not a redesign - just a side effect of lots of d
3667
* make sure encoding errors won't crash the formatter
3768
* When viewing a short source file while you have a big file list you will no longer be able to scroll on after the source file has ended
3869

70+
71+
3972
0.11.0 (2020-01-28)
4073
=======
4174

Gemfile

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,24 @@ gem "rake", ">= 11"
88

99
# Use local copy of simplecov in development if you want to
1010
# gem "simplecov", :path => File.dirname(__FILE__) + "/../simplecov"
11-
gem "simplecov", git: "https://github.com/simplecov-ruby/simplecov"
11+
if RUBY_VERSION < "2.5"
12+
gem "simplecov", "< 0.19"
13+
else
14+
gem "simplecov", git: "https://github.com/simplecov-ruby/simplecov"
15+
end
1216

1317
group :test do
1418
gem "minitest"
1519
end
1620

1721
group :development do
1822
gem "rubocop"
19-
# sprockets 4.0 requires ruby 2.5+
20-
gem "sprockets", "~> 3.7"
23+
gem "rubocop-minitest"
24+
gem "rubocop-performance"
25+
gem "rubocop-rake"
26+
gem "sass"
27+
gem "sprockets"
2128
gem "uglifier"
22-
gem "yui-compressor"
2329
end
30+
31+
gem "logger" if RUBY_VERSION >= "3.4"

0 commit comments

Comments
 (0)