fastlane 2.73.0.beta.20180103010003 → 2.73.0.beta.20180104010004
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3d012ce8dd059ba622673e451c79f833574808e
|
4
|
+
data.tar.gz: 96d03c83675a925686c22c82a33aefeeac355458
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee573b482a6ab09d2a4f1f9e612ea5753df6cdac9b121ec1909c5cd52f3afb8f10c943015d6fdcfc33be5dd565d526cb6569ff7b413e2adfd1b37d49fe3ceae5
|
7
|
+
data.tar.gz: 75102f81c512e91e015b88f581623e6f568c1d6514bf365c17fd45dfe55980dbc8831a39ec27fffdb80d7a33ef894cf28f929199a2bbbdd9fed8de8439f5661c
|
@@ -25,7 +25,7 @@ module Fastlane
|
|
25
25
|
if Helper.test?
|
26
26
|
Actions.lane_context[SharedValues::BUILD_NUMBER] = command
|
27
27
|
else
|
28
|
-
build_number =
|
28
|
+
build_number = Actions.sh(command).split("\n").last.strip
|
29
29
|
|
30
30
|
# Store the number in the shared hash
|
31
31
|
Actions.lane_context[SharedValues::BUILD_NUMBER] = build_number
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.73.0.beta.
|
2
|
+
VERSION = '2.73.0.beta.20180104010004'.freeze
|
3
3
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
4
4
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
5
5
|
RUBOCOP_REQUIREMENT = '0.49.1'.freeze
|
@@ -214,12 +214,42 @@ module FastlaneCore
|
|
214
214
|
true
|
215
215
|
end
|
216
216
|
|
217
|
+
def strip_braces(value)
|
218
|
+
value.strip!
|
219
|
+
value = value[1..value.length - 2] if value[0] == "[" && value[value.length - 1] == "]"
|
220
|
+
return value
|
221
|
+
end
|
222
|
+
|
223
|
+
def auto_convert_array_value(value)
|
224
|
+
# covers Arrays like:
|
225
|
+
# ["["value", "value"]"]
|
226
|
+
if value.kind_of?(Array)
|
227
|
+
return value.map do |item|
|
228
|
+
item = strip_braces(item) if item.kind_of?(String)
|
229
|
+
item
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
# covers Strings that are actually Arrays like:
|
234
|
+
# "["value", "value"]"
|
235
|
+
# "\"value\", \"value\""
|
236
|
+
if value.kind_of?(String)
|
237
|
+
value = strip_braces(value)
|
238
|
+
|
239
|
+
return value.split(',').map do |item|
|
240
|
+
item.strip!
|
241
|
+
item = item[1..item.length - 2] if item[0] == "\"" && item[item.length - 1] == "\""
|
242
|
+
item
|
243
|
+
end
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
217
247
|
# Returns an updated value type (if necessary)
|
218
248
|
def auto_convert_value(value)
|
219
249
|
return nil if value.nil?
|
220
250
|
|
221
251
|
if data_type == Array
|
222
|
-
return
|
252
|
+
return auto_convert_array_value(value)
|
223
253
|
elsif data_type == Integer
|
224
254
|
return value.to_i if value.to_i.to_s == value.to_s
|
225
255
|
elsif data_type == Float
|
@@ -199,7 +199,7 @@ module FastlaneCore
|
|
199
199
|
return File.join(self.itms_path, 'bin', 'iTMSTransporter')
|
200
200
|
end
|
201
201
|
|
202
|
-
def self.keychain_path(
|
202
|
+
def self.keychain_path(keychain_name)
|
203
203
|
# Existing code expects that a keychain name will be expanded into a default path to Library/Keychains
|
204
204
|
# in the user's home directory. However, this will not allow the user to pass an absolute path
|
205
205
|
# for the keychain value
|
@@ -211,10 +211,9 @@ module FastlaneCore
|
|
211
211
|
#
|
212
212
|
# We also try to append `-db` at the end of the file path, as with Sierra the default Keychain name
|
213
213
|
# has changed for some users: https://github.com/fastlane/fastlane/issues/5649
|
214
|
-
#
|
215
214
|
|
216
|
-
# Remove the ".keychain" at the end of the name
|
217
|
-
name.sub
|
215
|
+
# Remove the ".keychain" at the end of the keychain name
|
216
|
+
name = keychain_name.sub(/\.keychain$/, "")
|
218
217
|
|
219
218
|
possible_locations = [
|
220
219
|
File.join(Dir.home, 'Library', 'Keychains', name),
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.73.0.beta.
|
4
|
+
version: 2.73.0.beta.20180104010004
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2018-01-
|
18
|
+
date: 2018-01-04 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|