fastlane_core 0.36.6 → 0.36.7
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 +4 -4
- data/README.md +13 -13
- data/lib/fastlane_core/cert_checker.rb +0 -2
- data/lib/fastlane_core/configuration/configuration.rb +6 -0
- data/lib/fastlane_core/helper.rb +5 -7
- data/lib/fastlane_core/itunes_transporter.rb +4 -4
- data/lib/fastlane_core/project.rb +0 -2
- data/lib/fastlane_core/update_checker/update_checker.rb +1 -1
- data/lib/fastlane_core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a58b8eb2829c478608f6cb0af3327d62679643d6
|
4
|
+
data.tar.gz: d2af2134d20ba7a068087ef99196522c2e2790c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8826c880f603b461eb065011c61db790e9763cdd8e35c9a447013901c0634c010cc03f806cf9b5f74688b2ff7da2df9d0b96bebfc17d134f2ccd90ef9b03277d
|
7
|
+
data.tar.gz: 9456075a321b5e117c0ef8f7ab3ad6c157c498c9d0d35ced90cfe4f76a301978394214ad6dcd26d7480f26d8ac164e0482458273aa0827b34a492ba119743bb8
|
data/README.md
CHANGED
@@ -1,24 +1,24 @@
|
|
1
1
|
<h3 align="center">
|
2
|
-
<a href="https://github.com/fastlane/fastlane">
|
2
|
+
<a href="https://github.com/fastlane/playground/tree/master/fastlane">
|
3
3
|
<img src="assets/fastlane.png" width="150" />
|
4
4
|
<br />
|
5
5
|
fastlane
|
6
6
|
</a>
|
7
7
|
</h3>
|
8
8
|
<p align="center">
|
9
|
-
<a href="https://github.com/fastlane/deliver">deliver</a> •
|
10
|
-
<a href="https://github.com/fastlane/snapshot">snapshot</a> •
|
11
|
-
<a href="https://github.com/fastlane/frameit">frameit</a> •
|
12
|
-
<a href="https://github.com/fastlane/pem">pem</a> •
|
13
|
-
<a href="https://github.com/fastlane/sigh">sigh</a> •
|
14
|
-
<a href="https://github.com/fastlane/produce">produce</a> •
|
15
|
-
<a href="https://github.com/fastlane/cert">cert</a> •
|
16
|
-
<a href="https://github.com/fastlane/spaceship">spaceship</a> •
|
17
|
-
<a href="https://github.com/fastlane/pilot">pilot</a> •
|
9
|
+
<a href="https://github.com/fastlane/playground/tree/master/deliver">deliver</a> •
|
10
|
+
<a href="https://github.com/fastlane/playground/tree/master/snapshot">snapshot</a> •
|
11
|
+
<a href="https://github.com/fastlane/playground/tree/master/frameit">frameit</a> •
|
12
|
+
<a href="https://github.com/fastlane/playground/tree/master/pem">pem</a> •
|
13
|
+
<a href="https://github.com/fastlane/playground/tree/master/sigh">sigh</a> •
|
14
|
+
<a href="https://github.com/fastlane/playground/tree/master/produce">produce</a> •
|
15
|
+
<a href="https://github.com/fastlane/playground/tree/master/cert">cert</a> •
|
16
|
+
<a href="https://github.com/fastlane/playground/tree/master/spaceship">spaceship</a> •
|
17
|
+
<a href="https://github.com/fastlane/playground/tree/master/pilot">pilot</a> •
|
18
18
|
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
19
|
-
<a href="https://github.com/fastlane/gym">gym</a> •
|
20
|
-
<a href="https://github.com/fastlane/scan">scan</a> •
|
21
|
-
<a href="https://github.com/fastlane/match">match</a>
|
19
|
+
<a href="https://github.com/fastlane/playground/tree/master/gym">gym</a> •
|
20
|
+
<a href="https://github.com/fastlane/playground/tree/master/scan">scan</a> •
|
21
|
+
<a href="https://github.com/fastlane/playground/tree/master/match">match</a>
|
22
22
|
</p>
|
23
23
|
-------
|
24
24
|
|
@@ -11,11 +11,9 @@ module FastlaneCore
|
|
11
11
|
end
|
12
12
|
|
13
13
|
# Legacy Method, use `installed?` instead
|
14
|
-
# rubocop:disable Style/PredicateName
|
15
14
|
def self.is_installed?(path)
|
16
15
|
installed?(path)
|
17
16
|
end
|
18
|
-
# rubocop:enable Style/PredicateName
|
19
17
|
|
20
18
|
def self.installed_identies
|
21
19
|
install_wwdr_certificate unless wwdr_certificate_installed?
|
@@ -84,6 +84,9 @@ module FastlaneCore
|
|
84
84
|
index = @available_options.find_index { |item| item.key == current }
|
85
85
|
current = @available_options[index]
|
86
86
|
|
87
|
+
# ignore conflicts because option value is nil
|
88
|
+
next if @values[current.key].nil?
|
89
|
+
|
87
90
|
next if current.conflicting_options.nil?
|
88
91
|
|
89
92
|
conflicts = current.conflicting_options & option_keys
|
@@ -93,6 +96,9 @@ module FastlaneCore
|
|
93
96
|
index = @available_options.find_index { |item| item.key == conflicting_option_key }
|
94
97
|
conflicting_option = @available_options[index]
|
95
98
|
|
99
|
+
# ignore conflicts because because value of conflict option is nil
|
100
|
+
next if @values[conflicting_option.key].nil?
|
101
|
+
|
96
102
|
if current.conflict_block
|
97
103
|
begin
|
98
104
|
current.conflict_block.call(conflicting_option)
|
data/lib/fastlane_core/helper.rb
CHANGED
@@ -9,12 +9,12 @@ module FastlaneCore
|
|
9
9
|
$stdout.sync = true
|
10
10
|
|
11
11
|
if is_test?
|
12
|
-
|
12
|
+
@log ||= Logger.new(nil) # don't show any logs when running tests
|
13
13
|
else
|
14
|
-
|
14
|
+
@log ||= Logger.new($stdout)
|
15
15
|
end
|
16
16
|
|
17
|
-
|
17
|
+
@log.formatter = proc do |severity, datetime, progname, msg|
|
18
18
|
string = "#{severity} [#{datetime.strftime('%Y-%m-%d %H:%M:%S.%2N')}]: " if $verbose
|
19
19
|
string = "[#{datetime.strftime('%H:%M:%S')}]: " unless $verbose
|
20
20
|
second = "#{msg}\n"
|
@@ -34,7 +34,7 @@ module FastlaneCore
|
|
34
34
|
[string, second].join("")
|
35
35
|
end
|
36
36
|
|
37
|
-
|
37
|
+
@log
|
38
38
|
end
|
39
39
|
|
40
40
|
# This method can be used to add nice lines around the actual log
|
@@ -73,7 +73,6 @@ module FastlaneCore
|
|
73
73
|
end
|
74
74
|
|
75
75
|
# Use Helper.test? and Helper.ci? instead (legacy calls)
|
76
|
-
# rubocop:disable Style/PredicateName
|
77
76
|
def self.is_test?
|
78
77
|
self.test?
|
79
78
|
end
|
@@ -85,7 +84,6 @@ module FastlaneCore
|
|
85
84
|
def self.is_mac?
|
86
85
|
self.mac?
|
87
86
|
end
|
88
|
-
# rubocop:enable Style/PredicateName
|
89
87
|
|
90
88
|
# Do we want to disable the colored output?
|
91
89
|
def self.colors_disabled?
|
@@ -142,7 +140,7 @@ module FastlaneCore
|
|
142
140
|
|
143
141
|
def self.fastlane_enabled?
|
144
142
|
# This is called from the root context on the first start
|
145
|
-
|
143
|
+
@enabled ||= File.directory? "./fastlane"
|
146
144
|
end
|
147
145
|
|
148
146
|
# Path to the installed gem to load resources (e.g. resign.sh)
|
@@ -23,9 +23,9 @@ module FastlaneCore
|
|
23
23
|
|
24
24
|
# This will be called from the Deliverfile, and disables the logging of the transporter output
|
25
25
|
def self.hide_transporter_output
|
26
|
-
|
26
|
+
@hide_transporter_output = true
|
27
27
|
|
28
|
-
|
28
|
+
@hide_transporter_output = false if $verbose
|
29
29
|
end
|
30
30
|
|
31
31
|
# Returns a new instance of the iTunesTransporter.
|
@@ -107,7 +107,7 @@ module FastlaneCore
|
|
107
107
|
@errors = []
|
108
108
|
@warnings = []
|
109
109
|
|
110
|
-
if defined
|
110
|
+
if defined?@hide_transporter_output
|
111
111
|
# Show a one time message instead
|
112
112
|
Helper.log.info "Waiting for iTunes Connect transporter to be finished.".green
|
113
113
|
Helper.log.info "iTunes Transporter progress... this might take a few minutes...".green
|
@@ -180,7 +180,7 @@ module FastlaneCore
|
|
180
180
|
end
|
181
181
|
end
|
182
182
|
|
183
|
-
if !defined
|
183
|
+
if !defined?@hide_transporter_output and line =~ OUTPUT_REGEX
|
184
184
|
# General logging for debug purposes
|
185
185
|
unless output_done
|
186
186
|
Helper.log.debug "[Transporter]: #{$1}"
|
@@ -87,7 +87,6 @@ module FastlaneCore
|
|
87
87
|
|
88
88
|
# Let the user select a scheme
|
89
89
|
# Use a scheme containing the preferred_to_include string when multiple schemes were found
|
90
|
-
# rubocop:disable Metrics/AbcSize
|
91
90
|
def select_scheme(preferred_to_include: nil)
|
92
91
|
if options[:scheme].to_s.length > 0
|
93
92
|
# Verify the scheme is available
|
@@ -126,7 +125,6 @@ module FastlaneCore
|
|
126
125
|
raise "No Schemes found".red
|
127
126
|
end
|
128
127
|
end
|
129
|
-
# rubocop:enable Metrics/AbcSize
|
130
128
|
|
131
129
|
# Get all available configurations in an array
|
132
130
|
def configurations
|
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.36.
|
4
|
+
version: 0.36.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-02-
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|