fastlane-plugin-accessibility_test 0.1.11 → 0.1.12
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2768317143ed96f16dbcf7594ca75db9949818ec676d2147ffe0fa4571ec7f94
|
|
4
|
+
data.tar.gz: 3e8cc67363b08c8cbc23fc31076e94b3116a715e98280a9dc3e9daf456d32050
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9d8f3491305bf47390f1ddb8e558c96b86494046eb6dffec4fc0b565d274e1d42ed4c661e849c755d8f6ee49eb040c0a8c89ddcccc98ae33e2e8a1dfdd91125
|
|
7
|
+
data.tar.gz: 5dd2151a07329644727dee7b575f1c014500d82141c481dc6f589a0d1e05d1753537efe619d2e130738fd58b6da776119987ea9b4aed8a117306d9f758cb3c7d
|
|
@@ -85,22 +85,19 @@ module Fastlane
|
|
|
85
85
|
"|<img src=\"#{results[0].to_h[:image]}\" loading=\"lazy\">|**#{results[0].to_h[:title]}**<br/>#{results[0].to_h[:message]}|<img src=\"#{results[1].to_h[:image]}\" loading=\"lazy\">|**#{results[1].to_h[:title]}**<br/>#{results[1].to_h[:message]}|\n"
|
|
86
86
|
}.inject(&:+)
|
|
87
87
|
|
|
88
|
-
|
|
88
|
+
title_message = <<-EOS
|
|
89
89
|
## Accessibility Test Result
|
|
90
90
|
#{summary}
|
|
91
91
|
EOS
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
message << <<-EOS
|
|
93
|
+
errors_message = <<-EOS
|
|
95
94
|
|
|
96
95
|
|Screenshot|message|Screenshot|message|
|
|
97
96
|
|-|-|-|-|
|
|
98
97
|
#{error_cells}
|
|
99
98
|
EOS
|
|
100
|
-
end
|
|
101
99
|
|
|
102
|
-
|
|
103
|
-
message << <<-EOS
|
|
100
|
+
warnings_message = <<-EOS
|
|
104
101
|
|
|
105
102
|
<details>
|
|
106
103
|
<summary>#{warnings.length} warnings. Click here to see details.</summary>
|
|
@@ -111,8 +108,8 @@ module Fastlane
|
|
|
111
108
|
|
|
112
109
|
</details>
|
|
113
110
|
EOS
|
|
114
|
-
end
|
|
115
111
|
|
|
112
|
+
message = title_message + !errors.empty? ? errors_message : "" + (params[:enable_warning] && !warnings.empty?) ? warnings_message : ""
|
|
116
113
|
UI.message message
|
|
117
114
|
|
|
118
115
|
GitHubNotifier.fold_comments(
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-accessibility_test
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Takeshi Tsukamoto
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09-
|
|
11
|
+
date: 2019-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-protobuf
|