spaceship 0.26.1 → 0.26.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: 57de7c90f6aa508bcb644f938d943bde14308d50
4
- data.tar.gz: 0eae70943148320c55e62502844bfe6d0fa96c22
3
+ metadata.gz: a2f62833e561a3771e2f067a7cba9c7402b34f74
4
+ data.tar.gz: 97f4938052eb07c719edce12ee47faef04bb7fb5
5
5
  SHA512:
6
- metadata.gz: 69c89c054008836748bda27da06fb58dbdef73cde79ff77616ae655eb2c8d1efb87c68889bd7fa2ddf88eefddc3123f985625f99d906cb484484536dcc7c7e7f
7
- data.tar.gz: 0851887009b83a777a55a2becfa765d26fe79e042d5bf23438834f4f56664e6da086e297941fd74c3bf643e0aa112d8a77b6ce085392202a00d9423f592476ee
6
+ metadata.gz: e723dc752ab9738ee583c28726259b3f21cff697bf2478c046f6be64637f6bff22f6a70304d5bc1faeb0b1ce774fb8672ceb9bea48368fa5980be5f4da1cec3c
7
+ data.tar.gz: 6605610cfba565aa878686f8173a376f437546dc0325c0f63d40ebcc798db682ab5415555ac206deb3c7f1b35ca20ed6296cfb91bddb70d5cec8f1f95f4158cf
data/README.md CHANGED
@@ -48,7 +48,7 @@ Get in contact with the developers on Twitter: [@KrauseFx](https://twitter.com/K
48
48
 
49
49
  -------
50
50
 
51
- <h5 align="center"><code>spaceship</code> is part of <a href="https://fastlane.tools">fastlane</a>: connect all deployment tools into one streamlined workflow.</h5>
51
+ <h5 align="center"><code>spaceship</code> is part of <a href="https://fastlane.tools">fastlane</a>: The easiest way to automate building and releasing your iOS and Android apps.</h5>
52
52
 
53
53
  # What's spaceship?
54
54
 
@@ -1,13 +1,13 @@
1
1
  module Spaceship
2
2
  class Client
3
3
  def handle_two_step(response)
4
- @x_apple_web_session_token = response["x-apple-web-session-token"]
4
+ @x_apple_id_session_id = response["x-apple-id-session-id"]
5
5
  @scnt = response["scnt"]
6
6
 
7
7
  r = request(:get) do |req|
8
8
  req.url "https://idmsa.apple.com/appleauth/auth"
9
9
  req.headers["scnt"] = @scnt
10
- req.headers["X-Apple-Web-Session-Token"] = @x_apple_web_session_token
10
+ req.headers["X-Apple-Id-Session-Id"] = @x_apple_id_session_id
11
11
  req.headers["Accept"] = "application/json"
12
12
  end
13
13
 
@@ -76,7 +76,7 @@ module Spaceship
76
76
  req.url "https://idmsa.apple.com/appleauth/auth/verify/device/#{device_id}/securitycode"
77
77
  req.headers["Accept"] = "application/json"
78
78
  req.headers["scnt"] = @scnt
79
- req.headers["X-Apple-Web-Session-Token"] = @x_apple_web_session_token
79
+ req.headers["X-Apple-Id-Session-Id"] = @x_apple_id_session_id
80
80
  end
81
81
 
82
82
  # we use `Spaceship::TunesClient.new.handle_itc_response`
@@ -92,7 +92,7 @@ module Spaceship
92
92
  req.url "https://idmsa.apple.com/appleauth/auth/verify/device/#{device_id}/securitycode"
93
93
  req.headers["Accept"] = "application/json"
94
94
  req.headers["scnt"] = @scnt
95
- req.headers["X-Apple-Web-Session-Token"] = @x_apple_web_session_token
95
+ req.headers["X-Apple-Id-Session-Id"] = @x_apple_id_session_id
96
96
  req.body = { "code" => code.to_s }.to_json
97
97
  req.headers['Content-Type'] = 'application/json'
98
98
  end
@@ -141,7 +141,7 @@ module Spaceship
141
141
  request(:get) do |req|
142
142
  req.url "https://idmsa.apple.com/appleauth/auth/2sv/trust"
143
143
  req.headers["scnt"] = @scnt
144
- req.headers["X-Apple-Web-Session-Token"] = @x_apple_web_session_token
144
+ req.headers["X-Apple-Id-Session-Id"] = @x_apple_id_session_id
145
145
  end
146
146
  # This request will fail if the user isn't added to a team on iTC
147
147
  # However we don't really care, this request will still return the
@@ -1,3 +1,3 @@
1
1
  module Spaceship
2
- VERSION = "0.26.1".freeze
2
+ VERSION = "0.26.2".freeze
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.26.1
4
+ version: 0.26.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: 2016-04-20 00:00:00.000000000 Z
12
+ date: 2016-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager