fastlane-plugin-accessibility_test 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94047e4320cdb26d99d894cf166e338072aad5fae034cf8ed821fac0df73cfde
4
- data.tar.gz: 89276de78aad3e3e94de872233897822714bd83388ac237028654c125c40855c
3
+ metadata.gz: f148348b241ccd1bd2f2b3f6cd49682cc3468d1b4656137db013e11cba8fcf4b
4
+ data.tar.gz: f61bbd3e9db3199a34a957b93701fbce1932a1d06102f8f637c393470036ddc8
5
5
  SHA512:
6
- metadata.gz: 16880868efeee0bbce44cfab40b6b05d81521b59dcc02974c8e2315a137841033c8b34eb0c87db5cd22969db2badceb69e03a50cabe3607fcd8cebd702b13d21
7
- data.tar.gz: 3067104261a39f9cdf587c9509748f4b05e720e72e836f9e8afcf02bb86b8233bf16b1b2e668a488cf892bca679d3097f0e3e78aa965028635ca7d4d88fae15f
6
+ metadata.gz: 58a2114e84415d56c92cfc9330e7acb804b9b1b24200724788d410e266a203e767e21be3ec1b4ff0c34e1ccb7ff1ab7317e4d1d7f19f83c6f3bb86cd38650a74
7
+ data.tar.gz: 5fd3e8b429f637ed2fb93cfe9a616cd10495a99c2dae7598724680e8891ee0e3a38ea6cc9cfd7e87e2b09a43fe7257f3161f183ace3550b18b888973b941def6
@@ -88,10 +88,19 @@ module Fastlane
88
88
  message = <<-EOS
89
89
  ## Accessibility Test Result
90
90
  #{summary}
91
+ EOS
92
+
93
+ if !errors.empty? do
94
+ message << <<-EOS
91
95
 
92
96
  |Screenshot|message|Screenshot|message|
93
97
  |-|-|-|-|
94
98
  #{error_cells}
99
+ EOS
100
+ end
101
+
102
+ if params[:enable_warning] && !warnings.empty? do
103
+ message << <<-EOS
95
104
 
96
105
  <details>
97
106
  <summary>#{warnings.length} warnings. Click here to see details.</summary>
@@ -102,6 +111,7 @@ module Fastlane
102
111
 
103
112
  </details>
104
113
  EOS
114
+ end
105
115
 
106
116
  UI.message message
107
117
 
@@ -215,6 +225,12 @@ module Fastlane
215
225
  description: "GitHub API Token",
216
226
  type: String,
217
227
  optional: false),
228
+ FastlaneCore::ConfigItem.new(key: :enable_warning,
229
+ env_name: "ENABLE_WARNING",
230
+ description: "Should show warning in output",
231
+ is_string: false,
232
+ default_value: true,
233
+ optional: true),
218
234
  ]
219
235
  end
220
236
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AccessibilityTest
3
- VERSION = "0.1.10"
3
+ VERSION = "0.1.11"
4
4
  end
5
5
  end
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.10
4
+ version: 0.1.11
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-17 00:00:00.000000000 Z
11
+ date: 2019-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-protobuf