spaceship 0.15.0 → 0.15.1
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/lib/spaceship/portal/portal_client.rb +6 -0
- data/lib/spaceship/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0a05323b6eb94cdb6d2e6cfd569a474b0b9d4458
|
|
4
|
+
data.tar.gz: 1b7dfa2048823baf113f92c5f85dca8c3e01ff27
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 99c39230b509ed3e03be4bce69ba620f193c92b0646e7a64c095f00557fc9832f30c125ac8ac631de5ad7331087aacb4ca7641dfd0de4055a7371053e7d69336
|
|
7
|
+
data.tar.gz: acf379e3595f63f345b5d7fad8a8612cdd0338e97ef3eff38a8023b49b979060cfc0511fad5847eef01a63baf2af181ffabd437d1bc708466ace4539892add08
|
|
@@ -271,6 +271,12 @@ module Spaceship
|
|
|
271
271
|
end
|
|
272
272
|
|
|
273
273
|
def create_certificate!(type, csr, app_id = nil)
|
|
274
|
+
if csrf_tokens.count == 0
|
|
275
|
+
# If we directly create a new certificate without querying anything before
|
|
276
|
+
# we don't have a valid csrf token, that's why we have to do at least one request
|
|
277
|
+
certificates([Certificate::CERTIFICATE_TYPE_IDS.keys.first])
|
|
278
|
+
end
|
|
279
|
+
|
|
274
280
|
r = request(:post, 'account/ios/certificate/submitCertificateRequest.action', {
|
|
275
281
|
teamId: team_id,
|
|
276
282
|
type: type,
|
data/lib/spaceship/version.rb
CHANGED