fastlane_core 0.51.0 → 0.52.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: fd9d8635178694a33d1b84e4bc9ec6169cdccc98
4
- data.tar.gz: 95004a8b16ad7fe2fe2095ed70037b6978206c42
3
+ metadata.gz: b5ff62787bbcab93209ca6bb470416ea51d3a333
4
+ data.tar.gz: e08e292cf925c031397690a0a5b43a762631c613
5
5
  SHA512:
6
- metadata.gz: bf19eb51582311a5e087439e686fe24d83867228795c5f6f30fc08d6be2326509e49fe0a4565e922fac21a10b011c10f18020e7d0c4b2fd5ee6f31927db662f1
7
- data.tar.gz: b9cebd1cd4252a66fbb0f5a3e81cfbacd1566bf8f8a611763994cdda24224538f523d99690cd284504e9a64f6be5b0a74a3a2c0af83a8480e0abccb57f13d1d9
6
+ metadata.gz: ae30dd5a5b6a11e83607a56a59b487f1b21ac070e8f8b06811ef1c1fdb4cc387b8a170a46d4d570c8bf4d51e0c5ccf3a389c34fddda52b45b38c25487a4e9e9f
7
+ data.tar.gz: 8494bd4a8ba794d2ff65c6898184007a19fc0863ea90e626d26cc622a832352fa195ba4058c87f7f02103f8c1e9b813945ed7e4a6df863d82c0f0f2fd0f5efd8
@@ -200,7 +200,7 @@ module FastlaneCore
200
200
 
201
201
  while value.nil?
202
202
  UI.important("To not be asked about this value, you can specify it using '#{option.key}'")
203
- value = ask("#{option.description}: ")
203
+ value = UI.input("#{option.description}: ")
204
204
  # Also store this value to use it from now on
205
205
  begin
206
206
  set(key, value)
@@ -39,7 +39,7 @@ module FastlaneCore
39
39
 
40
40
  def select_project(config)
41
41
  loop do
42
- path = ask("Couldn't automatically detect the project file, please provide a path: ".yellow).strip
42
+ path = UI.input("Couldn't automatically detect the project file, please provide a path: ")
43
43
  if File.directory? path
44
44
  if path.end_with? ".xcworkspace"
45
45
  config[:workspace] = path
@@ -90,12 +90,12 @@ module FastlaneCore
90
90
 
91
91
  def input(message)
92
92
  verify_interactive!(message)
93
- ask(message)
93
+ ask(message.to_s.yellow).to_s.strip
94
94
  end
95
95
 
96
96
  def confirm(message)
97
97
  verify_interactive!(message)
98
- agree("#{message} (y/n)", true)
98
+ agree("#{message} (y/n)".yellow, true)
99
99
  end
100
100
 
101
101
  def select(message, options)
@@ -71,6 +71,7 @@ module FastlaneCore
71
71
 
72
72
  project_hash = p_hash(ARGV, gem_name)
73
73
  params["p_hash"] = project_hash if project_hash
74
+ params["platform"] = @platform if @platform # this has to be called after `p_hash`
74
75
 
75
76
  url += "?" + URI.encode_www_form(params) if params.count > 0
76
77
  return url
@@ -148,10 +149,17 @@ module FastlaneCore
148
149
  require 'credentials_manager'
149
150
 
150
151
  # check if this is an android project first because some of the same params exist for iOS and Android tools
151
- value = android_app_identifier(args, gem_name) || ios_app_identifier(args)
152
+ app_identifier = android_app_identifier(args, gem_name)
153
+ @platform = nil # since have a state in-between runs
154
+ if app_identifier
155
+ @platform = :android
156
+ else
157
+ app_identifier = ios_app_identifier(args)
158
+ @platform = :ios if app_identifier
159
+ end
152
160
 
153
- if value
154
- return Digest::SHA256.hexdigest("p#{value}fastlan3_SAlt") # hashed + salted the bundle identifier
161
+ if app_identifier
162
+ return Digest::SHA256.hexdigest("p#{app_identifier}fastlan3_SAlt") # hashed + salted the bundle identifier
155
163
  end
156
164
 
157
165
  return nil
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.51.0".freeze
2
+ VERSION = "0.52.0".freeze
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.51.0
4
+ version: 0.52.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: 2016-09-07 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -414,7 +414,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
414
414
  version: '0'
415
415
  requirements: []
416
416
  rubyforge_project:
417
- rubygems_version: 2.4.5.1
417
+ rubygems_version: 2.5.1
418
418
  signing_key:
419
419
  specification_version: 4
420
420
  summary: Contains all shared code/dependencies of the fastlane.tools