fastlane_core 0.31.0 → 0.32.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc1f200961aa7037ab4a7d53386add926b8f1f3c
|
|
4
|
+
data.tar.gz: 34547cfac38a492d9c6f662884b529b659e45940
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa615defbe30ed5a611d1396bf03ad1243c6d21d836b4839b40ea23044b3f6836412ddbf92f9987a8a29ed4540479d85233ec961b6c03a5cdb3bbf9e7255640d
|
|
7
|
+
data.tar.gz: ccd09159dedaadd8f91421d1e4810a7497d30074e2d414763b92ea21265c4b7cd361fec81dce276c62bb6741afe57e81f29a586bcd9b11fb934a1952bb8fea2b
|
|
@@ -11,7 +11,7 @@ module FastlaneCore
|
|
|
11
11
|
# @param verify_block an optional block which is called when a new value is set.
|
|
12
12
|
# Check value is valid. This could be type checks or if a folder/file exists
|
|
13
13
|
# You have to raise a specific exception if something goes wrong. Append .red after the string
|
|
14
|
-
# @param is_string *DEPRECATED* (Boolean) is that parameter a string? Defaults to true. If it's true, the type string will be verified.
|
|
14
|
+
# @param is_string *DEPRECATED: Use `type` instead* (Boolean) is that parameter a string? Defaults to true. If it's true, the type string will be verified.
|
|
15
15
|
# @param type (Class) the data type of this config item. Takes precedence over `is_string`
|
|
16
16
|
# @param optional (Boolean) is false by default. If set to true, also string values will not be asked to the user
|
|
17
17
|
def initialize(key: nil, env_name: nil, description: nil, short_option: nil, default_value: nil, verify_block: nil, is_string: true, type: nil, optional: false)
|
data/lib/fastlane_core/helper.rb
CHANGED
|
@@ -89,6 +89,11 @@ module FastlaneCore
|
|
|
89
89
|
end
|
|
90
90
|
# rubocop:enable Style/PredicateName
|
|
91
91
|
|
|
92
|
+
# Do we want to disable the colored output?
|
|
93
|
+
def self.colors_disabled?
|
|
94
|
+
ENV["FASTLANE_DISABLE_COLORS"]
|
|
95
|
+
end
|
|
96
|
+
|
|
92
97
|
# Does the user use the Mac stock terminal
|
|
93
98
|
def self.mac_stock_terminal?
|
|
94
99
|
!!ENV["TERM_PROGRAM_VERSION"]
|
|
@@ -52,7 +52,8 @@ module FastlaneCore
|
|
|
52
52
|
def command_output(message)
|
|
53
53
|
actual = (message.split("\r").last || "") # as clearing the line will remove the `>` and the time stamp
|
|
54
54
|
actual.split("\n").each do |msg|
|
|
55
|
-
|
|
55
|
+
prefix = msg.include?("▸") ? "" : "▸ "
|
|
56
|
+
log.info(prefix + "" + msg.magenta)
|
|
56
57
|
end
|
|
57
58
|
end
|
|
58
59
|
|
data/lib/fastlane_core/ui/ui.rb
CHANGED
|
@@ -23,4 +23,4 @@ Dir[File.expand_path('implementations/*.rb', File.dirname(__FILE__))].each do |f
|
|
|
23
23
|
require file
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
require 'fastlane_core/ui/disable_colors' if
|
|
26
|
+
require 'fastlane_core/ui/disable_colors' if FastlaneCore::Helper.colors_disabled?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane_core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.32.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Felix Krause
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|