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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03d218f096b3d4b093ef9e8f42cb3d30b8e170b33b4cc0a4be6beb65bb346e6f
4
- data.tar.gz: 4c13c322ecd3ad46cc172c9b6fea6ebb7b9a9d0eff47c8f29fee52174a4926e4
3
+ metadata.gz: 983bfc983d04ce54e3ce8ff6e42a1fae9a5ff44692ddffdfeb9f49e9f05561ff
4
+ data.tar.gz: ef42a76b01d7ab95c5ad61e89bf0e7d85f8a6c179523e9c042efb77347cfaa99
5
5
  SHA512:
6
- metadata.gz: 351302ffe5132567b17f1b2143736ca801ad3fd121e2bf1e841a871bf4b4237847097248f1f08c877bdd8b3dc0b4ef10af7eb07cb07c17afddb324615a356972
7
- data.tar.gz: 94c2b04ed58522d4a06532f3af22e6ccb21230150e904b35b32670883f7d4006a532b6f99dd2a7ccf2c43ce00fc105faf10c6dcfed31494fe0b7db2a924545f7
6
+ metadata.gz: 2bea09dc88c7c1304c0a9f9b622905728b1151fef54c186b12d0ad2d42ea6c3e9bb59343e89927136433abb6935cb5daa2d6d4aebde5a269ec9941f128f02744
7
+ data.tar.gz: 35d47820c5eaf13bf7a51ac38d0e1e089d8b4db7496dc91f47a0aaca4588332207b7315b5f0b794b63022f0d48a8c06bb3b47f1fc16fb950b3d93b1f061b7a36
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
- ## [Unreleased]
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.0...HEAD
16
- [v0.1.0]: https://github.com/ticky/simplecov-buildkite/commits/v0.1.0
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 = "**#{format_element(result)}**\n\n"
5
-
6
- result.groups.each do |name, group|
7
- message += " * **#{name}**: #{format_element(group)}\n"
8
- end
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
@@ -1,3 +1,3 @@
1
1
  module SimpleCov::Buildkite
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov-buildkite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jessica Stokes
metadata.gz.sig CHANGED
Binary file