spaceship 0.31.2 → 0.31.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3dfb3ea078356f091b442a0645ee35f7e6eb59bc
4
- data.tar.gz: 12ebd5912b4c452543f10acedcc28d69b391d8d5
3
+ metadata.gz: 2fe4d4d037f3de23d557df17eed9259baa3ec1d8
4
+ data.tar.gz: 8d683121c7aa2d8398b9e00ce51fbb1370587b4e
5
5
  SHA512:
6
- metadata.gz: 2345ff29e4ff27afcbc55ed712848509dbfacb044d054944cef9a031576bffac16cb95c8a9b07763eccab2c71372066b7b3773ea3f6165c814e197894ad167a4
7
- data.tar.gz: 299b7df087caab6b29d74f3f7bb53fd716554bb744baa5a958fc2a97851ba5987f5793567c2e0100f0d4c44ebe1259363290bcfee508c13635a4aa5ea4059bb3
6
+ metadata.gz: 1623061c723161aa674a9f0c87c5ef9c18ada9660ef143c899ceb649a01c56e652210b0ca711ec96e94ef7caf872213b896061c4c5cf59d1cf9f8a0f7643ce00
7
+ data.tar.gz: 020b72b86c9111a0c3c2aed68b881187310d6c027be2911b3d38d54d450a699ff2ff3be31edf12794e728d4a186073a3de7f097284e5af664f1fa4122578d452
@@ -151,8 +151,7 @@ module Spaceship
151
151
  when :explicit
152
152
  {
153
153
  type: 'explicit',
154
- explicitIdentifier: bundle_id,
155
- appIdentifierString: bundle_id,
154
+ identifier: bundle_id,
156
155
  push: 'on',
157
156
  inAppPurchase: 'on',
158
157
  gameCenter: 'on'
@@ -160,13 +159,12 @@ module Spaceship
160
159
  when :wildcard
161
160
  {
162
161
  type: 'wildcard',
163
- wildcardIdentifier: bundle_id,
164
- appIdentifierString: bundle_id
162
+ identifier: bundle_id
165
163
  }
166
164
  end
167
165
 
168
166
  params = {
169
- appIdName: name,
167
+ name: name,
170
168
  teamId: team_id
171
169
  }
172
170
 
@@ -393,6 +391,12 @@ module Spaceship
393
391
  # If we directly create a new resource (e.g. app) without querying anything before
394
392
  # we don't have a valid csrf token, that's why we have to do at least one request
395
393
  apps
394
+
395
+ # Update 18th August 2016
396
+ # For some reason, we have to query the resource twice to actually get a valid csrf_token
397
+ # I couldn't find out why, the first response does have a valid Set-Cookie header
398
+ # But it still needs this second request
399
+ apps
396
400
  end
397
401
  end
398
402
  end
@@ -1,4 +1,4 @@
1
1
  module Spaceship
2
- VERSION = "0.31.2".freeze
2
+ VERSION = "0.31.3".freeze
3
3
  DESCRIPTION = "Ruby library to access the Apple Dev Center and iTunes Connect".freeze
4
4
  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.31.2
4
+ version: 0.31.3
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-08-16 00:00:00.000000000 Z
12
+ date: 2016-08-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager