spaceship 0.14.1 → 0.14.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: efe34135bd4966d4a8efe7ac21b7d638db2c085c
4
- data.tar.gz: 44056669198645eb1de17498a975a7e66e613a53
3
+ metadata.gz: 2ca1965f032fb4b9519f298648f2c8a1b53cbe82
4
+ data.tar.gz: 9d642ec4e1f1944ca9c4cc1af6a18862928dcdd1
5
5
  SHA512:
6
- metadata.gz: 9d8ab0e67421cd0e5a3b93529823458c4e30d34d8c723b4dde29af757b308f2a12358e6217a75704868e5f95dc600d2e70531162ac01f46cf0f229d6dc38ba2b
7
- data.tar.gz: 5293d69bfe011f6877e7885e7ba92e734d2a540d8a7763fe7e7e6af36f1545dd415a288de87c0e4babb71e82a467974bda48155666e086e8ee90dc65383ccad8
6
+ metadata.gz: 12bba9c53fef929676899c824b4a3308b25f6c100e4a894baf94c36b47166fa41cec88c436b76b2ffd287092c0bca26c1eec8979703c9ec92866acba6e6b14b1
7
+ data.tar.gz: 22fc0d2e66424b2a79d86c76b6fb76a0e43d505c7a9f52a4cc7a725e97ead21d8e003d6e5ad7685349fb32419366d2898fa82944be34e3c05809563806251183
@@ -45,6 +45,8 @@ module Spaceship
45
45
  if (response.body || "").include?("Your Apple ID or password was entered incorrectly")
46
46
  # User Credentials are wrong
47
47
  raise InvalidUserCredentialsError.new, "Invalid username and password combination. Used '#{user}' as the username."
48
+ elsif (response.body || "").include?("Verify your identity")
49
+ raise "spaceship / fastlane doesn't support 2 step enabled accounts yet. Please temporary disable 2 step verification until spaceship was updated."
48
50
  else
49
51
  info = [response.body, response['Set-Cookie']]
50
52
  raise UnexpectedResponse.new, info.join("\n")
@@ -273,6 +273,8 @@ module Spaceship
273
273
  ['ios', 'osx'].include? p['platformString']
274
274
  end
275
275
 
276
+ raise "Could not find platform ios or osx for app #{app_id}" unless platform
277
+
276
278
  version = platform[(is_live ? 'deliverableVersion' : 'inFlightVersion')]
277
279
  return nil unless version
278
280
  version_id = version['id']
@@ -1,3 +1,3 @@
1
1
  module Spaceship
2
- VERSION = "0.14.1"
2
+ VERSION = "0.14.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.14.1
4
+ version: 0.14.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-11-13 00:00:00.000000000 Z
12
+ date: 2015-11-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager