fastlane_core 0.36.6 → 0.36.7

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: 4e012f676ebfba7da674bbdc5f49579c541303bd
4
- data.tar.gz: fde98f7042208536ac8359492f90ebb2368e0b53
3
+ metadata.gz: a58b8eb2829c478608f6cb0af3327d62679643d6
4
+ data.tar.gz: d2af2134d20ba7a068087ef99196522c2e2790c1
5
5
  SHA512:
6
- metadata.gz: 262e0f7815aeff18e44d2bb71bbefc728bcb44744807d71f086de7ccd73559c66db4bce87aa32d5dd393fff543fa4ad835ee9d0abe2068f5e66fb2ba113177a3
7
- data.tar.gz: 1edfcd1009efa2d29b81037f6af6ec126c0ea0d265713b1356d7853785bd020ddc521008f783272997120de75f2d19ea7604962b5242642efdbbf8aa79c70b0f
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> &bull;
10
- <a href="https://github.com/fastlane/snapshot">snapshot</a> &bull;
11
- <a href="https://github.com/fastlane/frameit">frameit</a> &bull;
12
- <a href="https://github.com/fastlane/pem">pem</a> &bull;
13
- <a href="https://github.com/fastlane/sigh">sigh</a> &bull;
14
- <a href="https://github.com/fastlane/produce">produce</a> &bull;
15
- <a href="https://github.com/fastlane/cert">cert</a> &bull;
16
- <a href="https://github.com/fastlane/spaceship">spaceship</a> &bull;
17
- <a href="https://github.com/fastlane/pilot">pilot</a> &bull;
9
+ <a href="https://github.com/fastlane/playground/tree/master/deliver">deliver</a> &bull;
10
+ <a href="https://github.com/fastlane/playground/tree/master/snapshot">snapshot</a> &bull;
11
+ <a href="https://github.com/fastlane/playground/tree/master/frameit">frameit</a> &bull;
12
+ <a href="https://github.com/fastlane/playground/tree/master/pem">pem</a> &bull;
13
+ <a href="https://github.com/fastlane/playground/tree/master/sigh">sigh</a> &bull;
14
+ <a href="https://github.com/fastlane/playground/tree/master/produce">produce</a> &bull;
15
+ <a href="https://github.com/fastlane/playground/tree/master/cert">cert</a> &bull;
16
+ <a href="https://github.com/fastlane/playground/tree/master/spaceship">spaceship</a> &bull;
17
+ <a href="https://github.com/fastlane/playground/tree/master/pilot">pilot</a> &bull;
18
18
  <a href="https://github.com/fastlane/boarding">boarding</a> &bull;
19
- <a href="https://github.com/fastlane/gym">gym</a> &bull;
20
- <a href="https://github.com/fastlane/scan">scan</a> &bull;
21
- <a href="https://github.com/fastlane/match">match</a>
19
+ <a href="https://github.com/fastlane/playground/tree/master/gym">gym</a> &bull;
20
+ <a href="https://github.com/fastlane/playground/tree/master/scan">scan</a> &bull;
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)
@@ -9,12 +9,12 @@ module FastlaneCore
9
9
  $stdout.sync = true
10
10
 
11
11
  if is_test?
12
- @@log ||= Logger.new(nil) # don't show any logs when running tests
12
+ @log ||= Logger.new(nil) # don't show any logs when running tests
13
13
  else
14
- @@log ||= Logger.new($stdout)
14
+ @log ||= Logger.new($stdout)
15
15
  end
16
16
 
17
- @@log.formatter = proc do |severity, datetime, progname, msg|
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
- @@log
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
- @@enabled ||= File.directory? "./fastlane"
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
- @@hide_transporter_output = true
26
+ @hide_transporter_output = true
27
27
 
28
- @@hide_transporter_output = false if $verbose
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?@@hide_transporter_output
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?@@hide_transporter_output and line =~ OUTPUT_REGEX
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
@@ -25,7 +25,7 @@ module FastlaneCore
25
25
  end
26
26
 
27
27
  def self.server_results
28
- @@results ||= {}
28
+ @results ||= {}
29
29
  end
30
30
 
31
31
  def self.update_available?(gem_name, current_version)
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.36.6"
2
+ VERSION = "0.36.7"
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.36.6
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-19 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json