spaceship 0.27.0 → 0.27.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/lib/spaceship/client.rb +6 -4
- 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: 5c9ef6a75127c3aa135a43eb82d21c9e3100f624
|
4
|
+
data.tar.gz: a99ba681d2af1dd4633d9ca701fc4e189baaa503
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670b44192db63d26d1728a3611975c9b9353569e45e2ac789948a621742b31b2ce018c87982eeccc01e36c6ce75df5f958e82ddc1dcc799b511ed2ea8e69b303
|
7
|
+
data.tar.gz: e28161306a75b2a610d5e9e4edea2b9d6ef5107c9e25b8fb0dcaa5af67cf9afb9dc40102fa222767716e2126310e8633bcbbcfbe67047129bc7640611e2dae26
|
data/lib/spaceship/client.rb
CHANGED
@@ -302,16 +302,18 @@ module Spaceship
|
|
302
302
|
raise "Looks like your Apple ID is not enabled for iTunes Connect, make sure to be able to login online"
|
303
303
|
else
|
304
304
|
info = [response.body, response['Set-Cookie']]
|
305
|
-
raise ITunesConnectError.new, info.join("\n")
|
305
|
+
raise TunesClient::ITunesConnectError.new, info.join("\n")
|
306
306
|
end
|
307
307
|
end
|
308
308
|
end
|
309
309
|
|
310
310
|
def itc_service_key
|
311
311
|
return @service_key if @service_key
|
312
|
-
# Some
|
313
|
-
|
314
|
-
|
312
|
+
# Some customers in Asia have had trouble with the CDNs there that cache and serve this content, leading
|
313
|
+
# to "buffer error (Zlib::BufError)" from deep in the Ruby HTTP stack. Setting this header requests that
|
314
|
+
# the content be served only as plain-text, which seems to work around their problem, while not affecting
|
315
|
+
# other clients.
|
316
|
+
headers = {'Accept-Encoding' => 'identity'}
|
315
317
|
# We need a service key from a JS file to properly auth
|
316
318
|
js = request(:get, "https://itunesconnect.apple.com/itc/static-resources/controllers/login_cntrl.js", nil, headers)
|
317
319
|
@service_key ||= js.body.match(/itcServiceKey = '(.*)'/)[1]
|
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.27.
|
4
|
+
version: 0.27.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: 2016-05-
|
12
|
+
date: 2016-05-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: credentials_manager
|
@@ -392,7 +392,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
392
392
|
version: '0'
|
393
393
|
requirements: []
|
394
394
|
rubyforge_project:
|
395
|
-
rubygems_version: 2.4.
|
395
|
+
rubygems_version: 2.4.5.1
|
396
396
|
signing_key:
|
397
397
|
specification_version: 4
|
398
398
|
summary: Because you would rather spend your time building stuff than fighting provisioning
|