spaceship 0.5.0 → 0.5.1

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: 0f8c0b6228e0f397f7f6b04eac0970e292e5dfd9
4
- data.tar.gz: 92605b06ec0181b05d85f4ea1c8324a20f8c65d0
3
+ metadata.gz: 71a0ab4b8f508a37d1f6c0864c55704171add21e
4
+ data.tar.gz: cc9333ec4de8b835c0d31e070024c17615894615
5
5
  SHA512:
6
- metadata.gz: cf24cf176b3e186e21f8e9acdd4ebe51625a7f22d6ec0035aea748ea7255b1b11142b31fb5549d9c58f1544b743158db66506e6dd002df0b1c1b186dd0ccf9bc
7
- data.tar.gz: 4d94ea406b064d1e2aeb86c8ec8f55995485753b5e201a5122c1792bb4a181648cb6057d5e6d99763879da4c7b73c525dc711438c18a38d57b46d03862dc4275
6
+ metadata.gz: e92788845638246a60fe255ca67a9b0712385d232967ce5cd4bf3409d25391832276da8934c4e8f74743e0afeddaedd9ffc70dd863231574b5fc310a32c95239
7
+ data.tar.gz: 124e2c2d04c0823c96729e8f35d243a54b5890dfb864f3cb9931b0a64df0935a8eedec26f8f910fa1a13dc0bbafcbb22715b5ca72801e5fde4cffe8ead76c3ca
@@ -167,10 +167,14 @@ module Spaceship
167
167
  def pre_processing_builds
168
168
  data = client.build_trains(apple_id) # we need to fetch all trains here to get the builds
169
169
 
170
- data.fetch('processingBuilds', []).collect do |attrs|
170
+ builds = data.fetch('processingBuilds', []).collect do |attrs|
171
171
  attrs.merge!(build_train: self)
172
172
  Tunes::ProcessingBuild.factory(attrs)
173
173
  end
174
+
175
+ builds.delete_if { |a| a.state == "ITC.apps.betaProcessingStatus.InvalidBinary" }
176
+
177
+ builds
174
178
  end
175
179
 
176
180
  # @return [Array] This will return an array of *all* processing builds
@@ -53,6 +53,7 @@ module Spaceship
53
53
  to_use = [
54
54
  "myacinfo=" + cooks.match(/myacinfo=(\w+)/)[1],
55
55
  "woinst=" + cooks.match(/woinst=(\w+)/)[1],
56
+ "itctx=" + cooks.match(/itctx=([\w\:]+)/)[1],
56
57
  "wosid=" + cooks.match(/wosid=(\w+)/)[1]
57
58
  ]
58
59
 
@@ -1,3 +1,3 @@
1
1
  module Spaceship
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
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.5.0
4
+ version: 0.5.1
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-08-13 00:00:00.000000000 Z
12
+ date: 2015-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager