spaceship 0.0.10 → 0.0.11

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: 48e4120d27b8628cf62fc568bc1ba8a5d31f066b
4
- data.tar.gz: 2e84f62c2ae437f596a78b1966803bfa5b811f61
3
+ metadata.gz: 8dc7b91de80dd5badc3d1612ad9dfd494b1db1aa
4
+ data.tar.gz: faac4d4e1259cf8b81edf986c51d634bd1a7f6a3
5
5
  SHA512:
6
- metadata.gz: 90076184fbdc742a791b258baf8a8a11edf223a380803a897bc287311f923aed7b1222d8c9d452a2da9ea589d5e769f88e68d260b1acb4321c16b07367ddf6ea
7
- data.tar.gz: 33e211fe154f8f557e01cf4dc43da41e8116e5d0a53511451dd1ceef13daccf762b4b3867b386b5f6a530a8e4bfdfa1dc3c7295ae3d9c30377341015786b0f14
6
+ metadata.gz: 295af3b802b19aed2e746fb9347b964bb61fc6699d0f38103826a7e5e0a680f7b5fee33044c26ab1f340d3f0b36f70b901c77d52e604165e1fe47e99a35158bd
7
+ data.tar.gz: b1e23998008b5e91e9bbf8f62756923ce65344073e145a979ee7050fbeccc9b810a0417a169875c36f80dfa5a13abf4437c55fbe43a41a2e9a4a207a5c50b0db
@@ -334,6 +334,7 @@ module Spaceship
334
334
  {type: type, certificate_id: certificate_id}.each { |k, v| raise "#{k} must not be nil" if v.nil? }
335
335
 
336
336
  r = request(:post, 'https://developer.apple.com/account/ios/certificate/certificateContentDownload.action', {
337
+ teamId: team_id,
337
338
  displayId: certificate_id,
338
339
  type: type
339
340
  })
@@ -346,6 +346,11 @@ module Spaceship
346
346
  return false
347
347
  end
348
348
 
349
+ # @return (Bool) Is the current provisioning profile valid?
350
+ def valid?
351
+ return status == 'Active'
352
+ end
353
+
349
354
  # @return (Bool) Is this profile managed by Xcode?
350
355
  def managed_by_xcode?
351
356
  managing_app == 'Xcode'
@@ -1,3 +1,3 @@
1
1
  module Spaceship
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
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.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Natchev
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-15 00:00:00.000000000 Z
12
+ date: 2015-06-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager