simplecov-html 0.13.0 → 0.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/simplecov-html/version.rb +1 -1
- data/lib/simplecov-html.rb +2 -2
- metadata +2 -3
- data/.tool-versions +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a569e518b4658566f6c74bde026cf0b489b16ff7b9f541fbeae4bf44754fa6d7
|
4
|
+
data.tar.gz: a67d0c6e72883aaed402a3d5a6e315b1536a7d4f6ceb968ef8d8d2378701299a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00ffcd1b0f918e85bf88073dfe4df938e972575c8efec45195b376349b24775cad6ee0b7310fae8af910a8c9e45f9e2c55e554dbc2ff8458f6da6674f2d98637
|
7
|
+
data.tar.gz: bf5324db14d60e9f9a6c53569a5cd0effd8814b8e7d5ac5160416b12e1bcf05e2c839b5c51742a1c614f1370c353d7161f8ad9f286afa8028d2585302ab03981
|
data/CHANGELOG.md
CHANGED
data/lib/simplecov-html.rb
CHANGED
@@ -5,7 +5,6 @@ require "cgi"
|
|
5
5
|
require "fileutils"
|
6
6
|
require "digest/sha1"
|
7
7
|
require "time"
|
8
|
-
require "base64"
|
9
8
|
|
10
9
|
# Ensure we are using a compatible version of SimpleCov
|
11
10
|
major, minor, patch = SimpleCov::VERSION.scan(/\d+/).first(3).map(&:to_i)
|
@@ -94,7 +93,8 @@ module SimpleCov
|
|
94
93
|
|
95
94
|
def asset_inline(name)
|
96
95
|
path = File.join(@public_assets_dir, name)
|
97
|
-
|
96
|
+
# Equivalent to `Base64.strict_encode64(File.read(path))` but without depending on Base64
|
97
|
+
base64_content = [File.read(path)].pack("m0")
|
98
98
|
|
99
99
|
content_type = CONTENT_TYPES[File.extname(name)]
|
100
100
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Olszowka
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2024-09-
|
10
|
+
date: 2024-09-09 00:00:00.000000000 Z
|
11
11
|
dependencies: []
|
12
12
|
description: Default HTML formatter for SimpleCov code coverage tool for ruby 2.4+
|
13
13
|
email:
|
@@ -17,7 +17,6 @@ extensions: []
|
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
19
|
- ".document"
|
20
|
-
- ".tool-versions"
|
21
20
|
- CHANGELOG.md
|
22
21
|
- LICENSE
|
23
22
|
- README.md
|
data/.tool-versions
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
ruby 2.7.1
|