Skip to content

Commit c575888

Browse files
committed
Fixed to work with the new developer portal
1 parent b052e59 commit c575888

File tree

8 files changed

+187
-157
lines changed

8 files changed

+187
-157
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
source :rubygems
1+
source 'https://rubygems.org'
22

33
gemspec

lib/cupertino.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
module Cupertino
2-
VERSION = '0.7.1'
2+
VERSION = '0.7.1' #TODO CHANGE THIS
33
HOSTNAME = "developer.apple.com"
44
end

lib/cupertino/provisioning_portal.rb

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
module Cupertino
55
module ProvisioningPortal
66
class UnsuccessfulAuthenticationError < RuntimeError; end
7+
class UnexpectedContentError < RuntimeError; end
78

89
class Device < Struct.new(:name, :udid)
910
def to_s
1011
"#{self.name} #{self.udid}"
1112
end
1213
end
1314

14-
class Certificate < Struct.new(:name, :type, :provisioning_profiles, :expiration_date, :status)
15+
class Certificate < Struct.new(:name, :type, :expiration_date, :status, :download_url) #:provisioning_profiles,
1516
def to_s
1617
"#{self.name}"
1718
end
@@ -23,7 +24,7 @@ def to_s
2324
end
2425
end
2526

26-
class ProvisioningProfile < Struct.new(:name, :type, :app_id, :status)
27+
class ProvisioningProfile < Struct.new(:name, :type, :app_id, :status, :download_url, :edit_url)
2728
def to_s
2829
"#{self.name}"
2930
end

0 commit comments

Comments
 (0)