cert 0.1.6 → 0.1.7
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/cert/developer_center.rb +3 -2
- data/lib/cert/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: ed6412cf072e6198aae7dd266538b80e74a10387
|
4
|
+
data.tar.gz: 3f8590f423c261819c8c80c2b4d20075eb87cc77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac87b388768480359586536612f66998ed920c2ad2a1edd8ffda1f0315d8b1093a45d1e97e410b48de3265bfb7aebd18a5d8960f6a50bf9522eef56c40335b43
|
7
|
+
data.tar.gz: 656321e8b1f1347ddf6c41ecfadc6ef23fca29fd5b79ad7ea4e438ccd68ae96de6a104660328c148699118744d89c127337671ac28619a1cc361647835c1c948
|
@@ -160,7 +160,6 @@ module Cert
|
|
160
160
|
certificateStatuses = wait_for_variable('certificateStatuses')
|
161
161
|
|
162
162
|
url = [certificateDataURL, certificateRequestTypes, certificateStatuses].join('')
|
163
|
-
url += "&pageSize=5000&pageNumber=1&sort=name=asc"
|
164
163
|
|
165
164
|
# https://developer.apple.com/services-account/.../account/ios/certificate/listCertRequests.action?content-type=application/x-www-form-urlencoded&accept=application/json&requestId=...&userLocale=en_US&teamId=...&types=...&status=4&certificateStatus=0&type=distribution&pageSize=50&pageNumber=1&sort=name=asc
|
166
165
|
|
@@ -168,7 +167,9 @@ module Cert
|
|
168
167
|
|
169
168
|
certTypeName = 'iOS Distribution'
|
170
169
|
certTypeName = 'iOS Development' if @type == DEVELOPMENT
|
171
|
-
certs = post_ajax(url)['certRequests']
|
170
|
+
certs = post_ajax(url, "{pageNumber: 1, pageSize: 500, sort: 'name%3dasc'}")['certRequests']
|
171
|
+
|
172
|
+
raise "Something went wrong with request to #{url}" unless certs
|
172
173
|
certs.each do |current_cert|
|
173
174
|
if current_cert['typeString'] == certTypeName
|
174
175
|
# The other profiles are push profiles
|
data/lib/cert/version.rb
CHANGED