spaceship 0.13.0 → 0.13.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: 7f320dc10c8beb481061cee00b00952c4d656eb3
4
- data.tar.gz: 750140edc4537b38f80b782456d49eefeec4ea82
3
+ metadata.gz: 49b906e19473b4638c1dbffbac020229a5006e6c
4
+ data.tar.gz: 5e196ab71b5968a848187769fd8d62dc7533ea16
5
5
  SHA512:
6
- metadata.gz: 421a933e650f90764d5e738d576a11bf651128e9c1f44f92d164609ed21327f1aaded3c2cf86290be74c0b93ec11fd661baf937c989c0fab58cb8e554b269114
7
- data.tar.gz: dc02e790d92efceda4cfea894a0c098ee4d13887c06f4366c6ca911071086e582dfe170b729c15a250cb9457bc1fc7f8addb196c0219cd9c5aff0f771a345792
6
+ metadata.gz: acf0ee0634a46f5993255c8d418c3456f5bc1016556cd895e643191a8866060d744ee29a4e87b31d20abb470b0d2b60c7988b7abe1c26bf01acabbd223fed5d0
7
+ data.tar.gz: b138f95e93e2141f86ed4f9b45c88cbc2e3958731b93fc7edbbd5cf628b711f79400e483fe4ddfb4f3541763c47f86d95872289083de537628eb2d0485724c73
data/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  <h3 align="center">
2
- <a href="https://github.com/KrauseFx/fastlane">
2
+ <a href="https://github.com/fastlane/fastlane">
3
3
  <img src="assets/fastlane.png" width="100" />
4
4
  <br />
5
5
  fastlane
6
6
  </a>
7
7
  </h3>
8
8
  <p align="center">
9
- <a href="https://github.com/KrauseFx/deliver">deliver</a> &bull;
10
- <a href="https://github.com/KrauseFx/snapshot">snapshot</a> &bull;
11
- <a href="https://github.com/KrauseFx/frameit">frameit</a> &bull;
12
- <a href="https://github.com/KrauseFx/PEM">PEM</a> &bull;
13
- <a href="https://github.com/KrauseFx/sigh">sigh</a> &bull;
14
- <a href="https://github.com/KrauseFx/produce">produce</a> &bull;
15
- <a href="https://github.com/KrauseFx/cert">cert</a> &bull;
9
+ <a href="https://github.com/fastlane/deliver">deliver</a> &bull;
10
+ <a href="https://github.com/fastlane/snapshot">snapshot</a> &bull;
11
+ <a href="https://github.com/fastlane/frameit">frameit</a> &bull;
12
+ <a href="https://github.com/fastlane/PEM">PEM</a> &bull;
13
+ <a href="https://github.com/fastlane/sigh">sigh</a> &bull;
14
+ <a href="https://github.com/fastlane/produce">produce</a> &bull;
15
+ <a href="https://github.com/fastlane/cert">cert</a> &bull;
16
16
  <b>spaceship</b> &bull;
17
17
  <a href="https://github.com/fastlane/pilot">pilot</a> &bull;
18
18
  <a href="https://github.com/fastlane/boarding">boarding</a> &bull;
@@ -55,7 +55,7 @@ spaceship is a Ruby library that exposes both the Apple Developer Center and the
55
55
 
56
56
  Up until now, the [fastlane tools](https://fastlane.tools) used web scraping to interact with Apple's web services. With spaceship it is possible to directly access the underlying APIs using a simple HTTP client only.
57
57
 
58
- Using spaceship, the execution time of [sigh](https://github.com/KrauseFx/sigh) was reduced from over 1 minute to less than 5 seconds.
58
+ Using spaceship, the execution time of [sigh](https://github.com/fastlane/sigh) was reduced from over 1 minute to less than 5 seconds.
59
59
 
60
60
  spaceship uses a combination of 3 different API endpoints, used by the Apple Developer Portal and Xcode. As no API offers everything we need, spaceship combines all APIs for you. [More details about the APIs](#technical-details).
61
61
 
@@ -48,7 +48,8 @@ module Spaceship
48
48
  'devRejected' => DEVELOPER_REJECTED,
49
49
  'pendingContract' => PENDING_CONTRACT,
50
50
  'developerRemovedFromSale' => DEVELOPER_REMOVED_FROM_SALE,
51
- 'waitingForReview' => WAITING_FOR_REVIEW
51
+ 'waitingForReview' => WAITING_FOR_REVIEW,
52
+ 'inReview' => IN_REVIEW
52
53
  }
53
54
 
54
55
  mapping.each do |k, v|
@@ -1,7 +1,7 @@
1
1
  module Spaceship
2
2
  module Tunes
3
3
  class DeviceType
4
- @types = ['iphone4', 'iphone35', 'iphone6', 'iphone6Plus', 'ipad', 'ipadPro', 'watch', 'appleTV']
4
+ @types = ['iphone4', 'iphone35', 'iphone6', 'iphone6Plus', 'ipad', 'ipadPro', 'watch', 'appleTV', 'mac']
5
5
  class << self
6
6
  attr_accessor :types
7
7
 
@@ -255,7 +255,7 @@ module Spaceship
255
255
 
256
256
  # We only support platforms that exist ATM
257
257
  platform = platforms.find do |p|
258
- ['ios', 'osx', 'appletvos'].include? p['platformString']
258
+ ['ios', 'osx'].include? p['platformString']
259
259
  end
260
260
 
261
261
  version = platform[(is_live ? 'deliverableVersion' : 'inFlightVersion')]
@@ -417,12 +417,14 @@ module Spaceship
417
417
  Spaceship::Tunes::AppVersionRef.factory(data)
418
418
  end
419
419
 
420
- # Fetches the User Detail information from ITC
420
+ # Fetches the User Detail information from ITC. This gets called often and almost never changes
421
+ # so we cache it
421
422
  # @return [UserDetail] the response
422
423
  def user_detail_data
424
+ return @cached if @cached
423
425
  r = request(:get, '/WebObjects/iTunesConnect.woa/ra/user/detail')
424
426
  data = parse_response(r, 'data')
425
- Spaceship::Tunes::UserDetail.factory(data)
427
+ @cached ||= Spaceship::Tunes::UserDetail.factory(data)
426
428
  end
427
429
 
428
430
  #####################################################
@@ -1,3 +1,3 @@
1
1
  module Spaceship
2
- VERSION = "0.13.0"
2
+ VERSION = "0.13.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.13.0
4
+ version: 0.13.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-10-27 00:00:00.000000000 Z
12
+ date: 2015-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager
@@ -314,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
314
  version: '0'
315
315
  requirements: []
316
316
  rubyforge_project:
317
- rubygems_version: 2.4.8
317
+ rubygems_version: 2.5.0
318
318
  signing_key:
319
319
  specification_version: 4
320
320
  summary: Because you would rather spend your time building stuff than fighting provisioning