spaceship 0.0.9 → 0.0.10

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: 1e47227e08a6b5595cfbf306dc5ab6ef1c4f8d73
4
- data.tar.gz: 2966b228a15dc0ee6b7cc103a5d49c0f69dce258
3
+ metadata.gz: 48e4120d27b8628cf62fc568bc1ba8a5d31f066b
4
+ data.tar.gz: 2e84f62c2ae437f596a78b1966803bfa5b811f61
5
5
  SHA512:
6
- metadata.gz: 75190749f4c021243110ad4b9b7480a5c5e93ccab1905983336caef5a470a8b5a891d4deac66673e9c670b54e8b7dd5de4c77d9982183327ea3b7c8da7903e19
7
- data.tar.gz: 82905f5fa984924053300b4e432e8d55d93fb53026b8dc874fb8977e7bc6a2aa91be4c6bde2fc76cb7644797221aee277c5aeca223322df87c9977a48b4bdd21
6
+ metadata.gz: 90076184fbdc742a791b258baf8a8a11edf223a380803a897bc287311f923aed7b1222d8c9d452a2da9ea589d5e769f88e68d260b1acb4321c16b07367ddf6ea
7
+ data.tar.gz: 33e211fe154f8f557e01cf4dc43da41e8116e5d0a53511451dd1ceef13daccf762b4b3867b386b5f6a530a8e4bfdfa1dc3c7295ae3d9c30377341015786b0f14
@@ -51,9 +51,9 @@ module Spaceship
51
51
 
52
52
  def initialize
53
53
  @client = Faraday.new("https://developer.apple.com/services-account/#{PROTOCOL_VERSION}/") do |c|
54
- c.response :json, :content_type => /\bjson$/
55
- c.response :xml, :content_type => /\bxml$/
56
- c.response :plist, :content_type => /\bplist$/
54
+ c.response :json, content_type: /\bjson$/
55
+ c.response :xml, content_type: /\bxml$/
56
+ c.response :plist, content_type: /\bplist$/
57
57
  c.adapter Faraday.default_adapter
58
58
 
59
59
  if ENV['DEBUG']
@@ -401,7 +401,7 @@ module Spaceship
401
401
  provisioningProfileName: name,
402
402
  appIdId: app_id,
403
403
  distributionType: distribution_method,
404
- certificateIds: certificate_ids,
404
+ certificateIds: certificate_ids.first, # we are most of the times only allowed to pass one
405
405
  deviceIds: device_ids
406
406
  })
407
407
 
@@ -12,4 +12,4 @@ module FaradayMiddleware
12
12
  end
13
13
  end
14
14
 
15
- Faraday::Response.register_middleware(:plist => FaradayMiddleware::PlistMiddleware)
15
+ Faraday::Response.register_middleware(plist: FaradayMiddleware::PlistMiddleware)
@@ -1,3 +1,3 @@
1
1
  module Spaceship
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
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.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Natchev
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-12 00:00:00.000000000 Z
12
+ date: 2015-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: credentials_manager