fastlane-plugin-build_log_info 0.1.1 → 0.2.0

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
  SHA1:
3
- metadata.gz: a3a6de78197a8451eb129856e34895cc60d2b5cc
4
- data.tar.gz: 0f7dbc0b3365738a5a8674dc282904f57f42545a
3
+ metadata.gz: 7d9f689b1753f8ed50a9aea638352355f6647961
4
+ data.tar.gz: 6704af5d65227681ab99ba7ce679066293afa053
5
5
  SHA512:
6
- metadata.gz: e21afab46d0394cadd124b2d73c546d8b960a9815e126127cf442f1edffc8ef074e6a56d40d0e5ecf3869f7631a9f60973b3ad7418080dc1d5a76deb0a372e55
7
- data.tar.gz: 2bf5474d9590389a39f34fd9a718476fa92b8f2c0d3c8e56006eabc0f50edad7a9f9eaec84cf10c540aa614696a773ce60b0b388fac7fe969a74d66035967dfe
6
+ metadata.gz: 0447c3635081bbcb8c6f44293bd9156db4b3e0d81922dbd1dc1dbeba845f455f0f05b01b003d27c4232941279df2dc61d2065e984edb957aa97e981991906081
7
+ data.tar.gz: bd17a4f3bfb991cc32a8bb374da316d9400ddd3c3f4b167a4b1ffd1b2b0a38ab10a27ff3db28fb6d683970bc88c39032eb8eb48daf794d553f72a02a5e1000ab
@@ -51,6 +51,9 @@ module Fastlane
51
51
  # if num is 0 then do not display
52
52
  next if title_num == 0
53
53
 
54
+ # if skip table then do not display
55
+ next if params[:skip_summary_types].include?(key)
56
+
54
57
  # detail table
55
58
  summary_table = Helper::BuildLogInfoHelper.summary_table(
56
59
  title: "#{key} #{title_num}",
@@ -79,13 +82,19 @@ module Fastlane
79
82
  def self.available_options
80
83
  [
81
84
  FastlaneCore::ConfigItem.new(key: :file_path,
82
- env_name: 'file_path',
85
+ env_name: 'FILE_PATH',
83
86
  description: 'Path to result json file. ',
84
87
  default_value: Dir['./build/reports/*.json'].last,
85
88
  optional: true,
86
89
  verify_block: proc do |value|
87
90
  raise "Couldn't find file".red unless File.exist?(value)
88
- end)
91
+ end),
92
+ FastlaneCore::ConfigItem.new(key: :skip_summary_types,
93
+ env_name: 'SKIP_SUMMARY_TYPES',
94
+ description: 'skip show summary table. ',
95
+ default_value: [],
96
+ is_string: false,
97
+ optional: true)
89
98
  ]
90
99
  end
91
100
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module BuildLogInfo
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-build_log_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tarappo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-22 00:00:00.000000000 Z
11
+ date: 2018-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcpretty-json-formatter
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
182
  version: '0'
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.6.11
185
+ rubygems_version: 2.5.1
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: show build log info