fastlane_core 0.36.3 → 0.36.4
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: 4e2c535c84cb619841394b78023c7cc4121bd03b
|
4
|
+
data.tar.gz: 3985ca325cde24611e05c0213e88ff7ace61c7a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddb2912bdc782cb80a30d5d74371bf7f0097326b61f9ebe234eec04439c8e050819bbdd8d9742c1551bf8a7641691c08c8227604ff96551c2d2341003d336718
|
7
|
+
data.tar.gz: 79cb6475c69d1d75aeadb0f8eeaa399a19a215513dfcefaf0496b1cd6d571f1c6725e3f54667a43226d5223f114ef7558d59db4e441c7a8f2481d1e9c5718eea
|
@@ -193,7 +193,7 @@ module FastlaneCore
|
|
193
193
|
'"' + Helper.transporter_path + '"',
|
194
194
|
"-m lookupMetadata",
|
195
195
|
"-u \"#{username}\"",
|
196
|
-
"-p
|
196
|
+
"-p #{shell_escaped_password(password)}",
|
197
197
|
"-apple_id #{apple_id}",
|
198
198
|
"-destination '#{destination}'"
|
199
199
|
].join(' ')
|
@@ -204,7 +204,7 @@ module FastlaneCore
|
|
204
204
|
'"' + Helper.transporter_path + '"',
|
205
205
|
"-m upload",
|
206
206
|
"-u \"#{username}\"",
|
207
|
-
"-p
|
207
|
+
"-p #{shell_escaped_password(password)}",
|
208
208
|
"-f '#{source}'",
|
209
209
|
ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"], # that's here, because the user might overwrite the -t option
|
210
210
|
"-t 'Signiant'",
|
@@ -212,8 +212,19 @@ module FastlaneCore
|
|
212
212
|
].join(' ')
|
213
213
|
end
|
214
214
|
|
215
|
-
def
|
216
|
-
|
215
|
+
def shell_escaped_password(password)
|
216
|
+
# because the shell handles passwords with single-quotes incorrectly, use gsub to replace ShellEscape'd single-quotes of this form:
|
217
|
+
# \'
|
218
|
+
# with a sequence that wraps the escaped single-quote in double-quotes:
|
219
|
+
# '"\'"'
|
220
|
+
# this allows us to properly handle passwords with single-quotes in them
|
221
|
+
# we use the 'do' version of gsub, because two-param version interprets the replace text as a pattern and does the wrong thing
|
222
|
+
password = Shellwords.escape(password).gsub("\\'") do
|
223
|
+
"'\"\\'\"'"
|
224
|
+
end
|
225
|
+
|
226
|
+
# wrap the fully-escaped password in single quotes, since the transporter expects a escaped password string (which must be single-quoted for the shell's benefit)
|
227
|
+
"'" + password + "'"
|
217
228
|
end
|
218
229
|
end
|
219
230
|
end
|
@@ -68,7 +68,10 @@ module FastlaneCore
|
|
68
68
|
url = UPDATE_URL + gem_name
|
69
69
|
params = {}
|
70
70
|
params["ci"] = "1" if Helper.is_ci?
|
71
|
-
|
71
|
+
|
72
|
+
project_hash = p_hash
|
73
|
+
params["p_hash"] = project_hash if project_hash
|
74
|
+
|
72
75
|
url += "?" + URI.encode_www_form(params) if params.count > 0
|
73
76
|
return url
|
74
77
|
end
|
@@ -94,7 +97,15 @@ module FastlaneCore
|
|
94
97
|
return nil if ENV["FASTLANE_OPT_OUT_USAGE"]
|
95
98
|
require 'credentials_manager'
|
96
99
|
value = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
|
97
|
-
|
100
|
+
unless value
|
101
|
+
value = CredentialsManager::AppfileConfig.try_fetch_value(:package_name)
|
102
|
+
value = "android_project_#{value}" if value # if the iOS and Android app share the same app identifier
|
103
|
+
end
|
104
|
+
|
105
|
+
if value
|
106
|
+
return Digest::SHA256.hexdigest("p#{value}fastlan3_SAlt") # hashed + salted the bundle identifier
|
107
|
+
end
|
108
|
+
|
98
109
|
return nil
|
99
110
|
rescue
|
100
111
|
return nil
|
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.4
|
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-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -384,7 +384,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
384
384
|
version: '0'
|
385
385
|
requirements: []
|
386
386
|
rubyforge_project:
|
387
|
-
rubygems_version: 2.4.
|
387
|
+
rubygems_version: 2.4.0
|
388
388
|
signing_key:
|
389
389
|
specification_version: 4
|
390
390
|
summary: Contains all shared code/dependencies of the fastlane.tools
|