spaceship 0.11.1 → 0.11.2

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: 5837a06fbd0bd6d9ba2723897698e986a2e99f77
4
- data.tar.gz: d9ea8126f289e758cdbec4dd8a7385bc28456244
3
+ metadata.gz: 7b800028e2a2ae907a5dc212d3cc6f7bd03a9322
4
+ data.tar.gz: 8935b8f215db1fdad206054e79bcb2d0f71204ba
5
5
  SHA512:
6
- metadata.gz: e7317e1e9f9859b5dc0bc7c3ef49780e7b733fb809e92d53a377d7cf296bcc339899e8dacbf9bdffae979312a094d697095095bb47cdcea6f762cf8bb9301290
7
- data.tar.gz: b8c875a9bc1b7abe5fac5d38897b7448d85c3b1d9c9f35e068da4a99d6cc416e3d0252c8b4c7bfb4b7f18a620005da1c0dd455240758fa0f44e41fef195b6a1c
6
+ metadata.gz: 2402d395102c3c0daca4c927572355db1b0c38e2db74e25702232484dbae01321fcbd78714be46c5d8f868811c73ccd44e3e10ee6d93cbd9cf3368bbf4b115c4
7
+ data.tar.gz: d0539b93fabc5247dba85c964192a759f07f06796168cc5a5480b20706730c968e00109f4e9f1e851c04079ccc6f846e8baaf7fc910e5db4bb1fc91063f9a91c
@@ -252,9 +252,12 @@ module Spaceship
252
252
  r = request(:get, "ra/apps/#{app_id}/overview")
253
253
  platforms = parse_response(r, 'data')['platforms']
254
254
 
255
- platforms = platforms.first # That won't work for mac apps
255
+ # An app can only have either ios or mac, but we ignore apple tv right now
256
+ platform = platforms.find do |p|
257
+ p['platformString'] == 'ios' or p['platformString'] == 'osx'
258
+ end
256
259
 
257
- version = platforms[(is_live ? 'deliverableVersion' : 'inFlightVersion')]
260
+ version = platform[(is_live ? 'deliverableVersion' : 'inFlightVersion')]
258
261
  return nil unless version
259
262
  version_id = version['id']
260
263
 
@@ -1,3 +1,3 @@
1
1
  module Spaceship
2
- VERSION = "0.11.1"
2
+ VERSION = "0.11.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.11.1
4
+ version: 0.11.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-02 00:00:00.000000000 Z
12
+ date: 2015-10-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager
@@ -221,20 +221,6 @@ dependencies:
221
221
  - - "~>"
222
222
  - !ruby/object:Gem::Version
223
223
  version: 1.21.0
224
- - !ruby/object:Gem::Dependency
225
- name: codeclimate-test-reporter
226
- requirement: !ruby/object:Gem::Requirement
227
- requirements:
228
- - - ">="
229
- - !ruby/object:Gem::Version
230
- version: '0'
231
- type: :development
232
- prerelease: false
233
- version_requirements: !ruby/object:Gem::Requirement
234
- requirements:
235
- - - ">="
236
- - !ruby/object:Gem::Version
237
- version: '0'
238
224
  - !ruby/object:Gem::Dependency
239
225
  name: rubocop
240
226
  requirement: !ruby/object:Gem::Requirement