spaceship 0.12.1 → 0.12.2

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: 0076a59011c892178fe4b338c8b54b1cb0df22bf
4
- data.tar.gz: 93abf7ac5cb9f6d0695df778f1039727d9240246
3
+ metadata.gz: 8b59995247731753e5f6f2df714702057046e3a2
4
+ data.tar.gz: f659309515870ba2a574ea55fe52f039aa845f8a
5
5
  SHA512:
6
- metadata.gz: d473bbd84341c3beeebb5ab387a9035da1789d26f28c09bbad70dc2cc952abd43a352ea0f96a94ecd2d0d070cda44e386d3359b6c374f4154def24bac358afa4
7
- data.tar.gz: e3077fc38febfcb2a92c615a78a8f20fa5fdb81016327749e9e773866b011a9da18cd00b136f75940cff9f129b1116f181f40249ec7938e58e34b930b3a0ba83
6
+ metadata.gz: a8771b4859b567372bc903bf84ba8bcde129ad3e10070cefa5130a049dadfdaaec9e86d8575f1b4999260e4275f8835c3671fee50cb010730a61e8608a2269e8
7
+ data.tar.gz: 4bcb81f616001c9971d8ff6089a428974a856379b4b404963bc58c0a759f18466cfa348484237add35dee5a3bbf0a9b8779ff3244c430a2492ace4c6754da9fc
@@ -286,7 +286,12 @@ module Spaceship
286
286
  displayId: certificate_id,
287
287
  type: type
288
288
  })
289
- parse_response(r)
289
+ a = parse_response(r)
290
+ if a.include?("Apple Inc")
291
+ return a
292
+ else
293
+ raise "Couldn't download provisioning profile, got this instead: #{a}"
294
+ end
290
295
  end
291
296
 
292
297
  def revoke_certificate!(certificate_id, type)
@@ -332,7 +337,12 @@ module Spaceship
332
337
  teamId: team_id,
333
338
  displayId: profile_id
334
339
  })
335
- parse_response(r)
340
+ a = parse_response(r)
341
+ if a.include?("DOCTYPE plist PUBLIC")
342
+ return a
343
+ else
344
+ raise "Couldn't download provisioning profile, got this instead: #{a}"
345
+ end
336
346
  end
337
347
 
338
348
  def delete_provisioning_profile!(profile_id)
@@ -1,3 +1,3 @@
1
1
  module Spaceship
2
- VERSION = "0.12.1"
2
+ VERSION = "0.12.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spaceship
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-10-18 00:00:00.000000000 Z
12
+ date: 2015-10-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager