spaceship 0.13.0 → 0.13.1
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 +4 -4
- data/README.md +9 -9
- data/lib/spaceship/tunes/app_status.rb +2 -1
- data/lib/spaceship/tunes/device_type.rb +1 -1
- data/lib/spaceship/tunes/tunes_client.rb +5 -3
- data/lib/spaceship/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49b906e19473b4638c1dbffbac020229a5006e6c
|
4
|
+
data.tar.gz: 5e196ab71b5968a848187769fd8d62dc7533ea16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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/
|
10
|
-
<a href="https://github.com/
|
11
|
-
<a href="https://github.com/
|
12
|
-
<a href="https://github.com/
|
13
|
-
<a href="https://github.com/
|
14
|
-
<a href="https://github.com/
|
15
|
-
<a href="https://github.com/
|
9
|
+
<a href="https://github.com/fastlane/deliver">deliver</a> •
|
10
|
+
<a href="https://github.com/fastlane/snapshot">snapshot</a> •
|
11
|
+
<a href="https://github.com/fastlane/frameit">frameit</a> •
|
12
|
+
<a href="https://github.com/fastlane/PEM">PEM</a> •
|
13
|
+
<a href="https://github.com/fastlane/sigh">sigh</a> •
|
14
|
+
<a href="https://github.com/fastlane/produce">produce</a> •
|
15
|
+
<a href="https://github.com/fastlane/cert">cert</a> •
|
16
16
|
<b>spaceship</b> •
|
17
17
|
<a href="https://github.com/fastlane/pilot">pilot</a> •
|
18
18
|
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
@@ -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/
|
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'
|
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
|
#####################################################
|
data/lib/spaceship/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|