fastlane_core 0.31.0 → 0.32.0

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
  SHA1:
3
- metadata.gz: 198318b93613e0c18503cf0d2c733bddc1fa0332
4
- data.tar.gz: 17b43e5a4fa5627f8543526e8ef95aece6f088b7
3
+ metadata.gz: bc1f200961aa7037ab4a7d53386add926b8f1f3c
4
+ data.tar.gz: 34547cfac38a492d9c6f662884b529b659e45940
5
5
  SHA512:
6
- metadata.gz: 6046e5777b345544ed06c6f7287333e9a586da91ed3d148d750d14af464470efb49f7c9b836b65ccb26937e85fddb85c8e6ba1704347c45d3e9af03a4cf76577
7
- data.tar.gz: 144959fe14697fcc80fe091daeb9fb522b823464231aac6d9bef40eaff04dc7f9306dcafd570fcd00dead046b41438ba00c6fb4b4f41e99f51e4344ac10ce7b0
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)
@@ -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
- log.info("> #{msg}".magenta)
55
+ prefix = msg.include?("▸") ? "" : "▸ "
56
+ log.info(prefix + "" + msg.magenta)
56
57
  end
57
58
  end
58
59
 
@@ -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 ENV["FASTLANE_DISABLE_COLORS"]
26
+ require 'fastlane_core/ui/disable_colors' if FastlaneCore::Helper.colors_disabled?
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.31.0"
2
+ VERSION = "0.32.0"
3
3
  end
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.31.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-18 00:00:00.000000000 Z
11
+ date: 2015-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json