spaceship 0.31.4 → 0.31.5

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: bd45532db42b2f9e5109b0c8a4599d2c15126f98
4
- data.tar.gz: 5004398d445aac59be22238a10dad3ca9d76c3aa
3
+ metadata.gz: 1e33b91810553d9c3c91ad89fbca3b923b336567
4
+ data.tar.gz: f6347aa800dfe9c20e91f2eb963bf2245e586eb0
5
5
  SHA512:
6
- metadata.gz: a989f4f950571729cc3fc0fcea44ad00de6d3028c29ba26e26b9d2381f71b6c9ae264a97f3893dd29624dd9c7739787ec7931f2379cfb88bfb4906038b655554
7
- data.tar.gz: e7d0e65f033992040cb4ba17b039609d9231809045d3fa9a8457f5e14db18420f4b3761603bfa79ac2d84ce51b2ccbb5d3a54e0db0012a6dc6c712e43b9836c5
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 = {
@@ -1,4 +1,4 @@
1
1
  module Spaceship
2
- VERSION = "0.31.4".freeze
2
+ VERSION = "0.31.5".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.4
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.2.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