simplecov-buildkite 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +7 -3
- data/lib/simplecov/buildkite/annotation_formatter.rb +10 -5
- data/lib/simplecov/buildkite/version.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 983bfc983d04ce54e3ce8ff6e42a1fae9a5ff44692ddffdfeb9f49e9f05561ff
|
|
4
|
+
data.tar.gz: ef42a76b01d7ab95c5ad61e89bf0e7d85f8a6c179523e9c042efb77347cfaa99
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2bea09dc88c7c1304c0a9f9b622905728b1151fef54c186b12d0ad2d42ea6c3e9bb59343e89927136433abb6935cb5daa2d6d4aebde5a269ec9941f128f02744
|
|
7
|
+
data.tar.gz: 35d47820c5eaf13bf7a51ac38d0e1e089d8b4db7496dc91f47a0aaca4588332207b7315b5f0b794b63022f0d48a8c06bb3b47f1fc16fb950b3d93b1f061b7a36
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
-
## [
|
|
7
|
+
## [0.1.1] - 2018-05-30
|
|
8
|
+
### Changed
|
|
9
|
+
- Output is now enclosed in a `<details>` for a brief summary with expandable
|
|
10
|
+
group stats
|
|
8
11
|
|
|
9
12
|
## [0.1.0] - 2018-05-30
|
|
10
13
|
### Added
|
|
@@ -12,6 +15,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
|
12
15
|
- Buildkite annotation formatter to consolidate reports from multiple simplecov
|
|
13
16
|
runs into a Buildkite annotation.
|
|
14
17
|
|
|
15
|
-
[Unreleased]: https://github.com/ticky/simplecov-buildkite/compare/v0.1.
|
|
16
|
-
[
|
|
18
|
+
[Unreleased]: https://github.com/ticky/simplecov-buildkite/compare/v0.1.1...HEAD
|
|
19
|
+
[0.1.1]: https://github.com/ticky/simplecov-buildkite/compare/v0.1.0...v0.1.1
|
|
20
|
+
[0.1.0]: https://github.com/ticky/simplecov-buildkite/commits/v0.1.0
|
|
17
21
|
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
module SimpleCov::Buildkite
|
|
2
2
|
class AnnotationFormatter
|
|
3
3
|
def format(result)
|
|
4
|
-
message =
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
message = <<~MESSAGE
|
|
5
|
+
<details>
|
|
6
|
+
<summary>#{format_element(result)}</summary>
|
|
7
|
+
<ul>
|
|
8
|
+
#{result.groups.map do |name, group|
|
|
9
|
+
"<li><strong>#{name}</strong>: #{format_element(group)}</li>"
|
|
10
|
+
end.join("\n")}
|
|
11
|
+
</ul>
|
|
12
|
+
</details>
|
|
13
|
+
MESSAGE
|
|
9
14
|
|
|
10
15
|
if ENV["BUILDKITE"]
|
|
11
16
|
system "buildkite-agent", "annotate", "--context", "simplecov", "--style", "info", message
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|