spaceship 0.31.4 → 0.31.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spaceship/portal/portal_client.rb +6 -0
- data/lib/spaceship/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e33b91810553d9c3c91ad89fbca3b923b336567
|
4
|
+
data.tar.gz: f6347aa800dfe9c20e91f2eb963bf2245e586eb0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2a555528eb05d8e16f9ba1825d4ad393cf9b3f1bfb7d08d0d1b38e97b3bd095bbca4ef85de7232e83a9f729d124fa2e9cc4dc1a72b6ba1737d76d16a5c8a40f
|
7
|
+
data.tar.gz: c76d1a7c5d2752622cb5cd9bcdb4860eae7e0cd15a07c6f5d77fa9c0dbbbfb8a760441382aeaace1861db539e4174f4450d6747a1f44d24e9f54493b6b96f190
|
@@ -125,6 +125,8 @@ module Spaceship
|
|
125
125
|
end
|
126
126
|
|
127
127
|
def update_service_for_app(app, service)
|
128
|
+
ensure_csrf
|
129
|
+
|
128
130
|
request(:post, service.service_uri, {
|
129
131
|
teamId: team_id,
|
130
132
|
displayId: app.app_id,
|
@@ -136,6 +138,8 @@ module Spaceship
|
|
136
138
|
end
|
137
139
|
|
138
140
|
def associate_groups_with_app(app, groups)
|
141
|
+
ensure_csrf
|
142
|
+
|
139
143
|
request(:post, 'account/ios/identifiers/assignApplicationGroupToAppId.action', {
|
140
144
|
teamId: team_id,
|
141
145
|
appIdId: app.app_id,
|
@@ -246,6 +250,8 @@ module Spaceship
|
|
246
250
|
end
|
247
251
|
|
248
252
|
def create_device!(device_name, device_id, mac: false)
|
253
|
+
ensure_csrf
|
254
|
+
|
249
255
|
req = request(:post) do |r|
|
250
256
|
r.url "https://developerservices2.apple.com/services/#{PROTOCOL_VERSION}/#{platform_slug(mac)}/addDevice.action"
|
251
257
|
r.params = {
|
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.31.
|
4
|
+
version: 0.31.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -391,7 +391,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
391
391
|
version: '0'
|
392
392
|
requirements: []
|
393
393
|
rubyforge_project:
|
394
|
-
rubygems_version: 2.
|
394
|
+
rubygems_version: 2.6.6
|
395
395
|
signing_key:
|
396
396
|
specification_version: 4
|
397
397
|
summary: Ruby library to access the Apple Dev Center and iTunes Connect
|