Module: Spaceship

Defined in:
lib/spaceship.rb,
lib/spaceship/ui.rb,
lib/spaceship/base.rb,
lib/spaceship/version.rb,
lib/spaceship/launcher.rb,
lib/spaceship/portal/app.rb,
lib/spaceship/tunes/build.rb,
lib/spaceship/du/du_client.rb,
lib/spaceship/du/utilities.rb,
lib/spaceship/tunes/tester.rb,
lib/spaceship/portal/device.rb,
lib/spaceship/du/upload_file.rb,
lib/spaceship/update_checker.rb,
lib/spaceship/tunes/app_image.rb,
lib/spaceship/tunes/spaceship.rb,
lib/spaceship/two_step_client.rb,
lib/spaceship/portal/app_group.rb,
lib/spaceship/portal/spaceship.rb,
lib/spaceship/tunes/app_status.rb,
lib/spaceship/tunes/tunes_base.rb,
lib/spaceship/tunes/app_details.rb,
lib/spaceship/tunes/app_ratings.rb,
lib/spaceship/tunes/app_trailer.rb,
lib/spaceship/tunes/app_version.rb,
lib/spaceship/tunes/application.rb,
lib/spaceship/tunes/build_train.rb,
lib/spaceship/tunes/device_type.rb,
lib/spaceship/tunes/user_detail.rb,
lib/spaceship/tunes/version_set.rb,
lib/spaceship/portal/app_service.rb,
lib/spaceship/portal/certificate.rb,
lib/spaceship/portal/portal_base.rb,
lib/spaceship/tunes/pricing_tier.rb,
lib/spaceship/tunes/tunes_client.rb,
lib/spaceship/tunes/build_details.rb,
lib/spaceship/tunes/language_item.rb,
lib/spaceship/portal/portal_client.rb,
lib/spaceship/tunes/app_screenshot.rb,
lib/spaceship/tunes/app_submission.rb,
lib/spaceship/portal/ui/select_team.rb,
lib/spaceship/tunes/app_version_ref.rb,
lib/spaceship/tunes/recovery_device.rb,
lib/spaceship/tunes/transit_app_file.rb,
lib/spaceship/tunes/app_version_common.rb,
lib/spaceship/tunes/language_converter.rb,
lib/spaceship/tunes/app_version_history.rb,
lib/spaceship/portal/provisioning_profile.rb,
lib/spaceship/tunes/app_version_promocodes.rb,
lib/spaceship/tunes/app_version_states_history.rb,
lib/spaceship/tunes/app_version_generated_promocodes.rb,
lib/spaceship/client.rb

Overview

To support legacy code

Defined Under Namespace

Modules: Portal, Tunes, Utilities Classes: Base, Client, DUClient, Launcher, PortalBase, PortalClient, TunesClient, UpdateChecker, UploadFile

Constant Summary collapse

ROOT =
Pathname.new(File.expand_path('../..', __FILE__))
Certificate =

Dev Portal

Spaceship::Portal::Certificate
ProvisioningProfile =
Spaceship::Portal::ProvisioningProfile
Device =
Spaceship::Portal::Device
App =
Spaceship::Portal::App
AppGroup =
Spaceship::Portal::AppGroup
AppService =
Spaceship::Portal::AppService
AppVersion =

iTunes Connect

Spaceship::Tunes::AppVersion
AppSubmission =
Spaceship::Tunes::AppSubmission
Application =
Spaceship::Tunes::Application
VERSION =
"1.0.0".freeze
DESCRIPTION =
"Ruby library to access the Apple Dev Center and iTunes Connect".freeze

Class Method Summary collapse

Class Method Details

.appObject


84
85
86
# File 'lib/spaceship/portal/spaceship.rb', line 84

def app
  Spaceship::Portal.app
end

.app_groupObject


88
89
90
# File 'lib/spaceship/portal/spaceship.rb', line 88

def app_group
  Spaceship::Portal.app_group
end

.app_serviceObject


92
93
94
# File 'lib/spaceship/portal/spaceship.rb', line 92

def app_service
  Spaceship::Portal.app_service
end

.certificateObject


100
101
102
# File 'lib/spaceship/portal/spaceship.rb', line 100

def certificate
  Spaceship::Portal.certificate
end

.clientObject


108
109
110
# File 'lib/spaceship/portal/spaceship.rb', line 108

def client
  Spaceship::Portal.client
end

.deviceObject


96
97
98
# File 'lib/spaceship/portal/spaceship.rb', line 96

def device
  Spaceship::Portal.device
end

.login(user = nil, password = nil) ⇒ Object


76
77
78
# File 'lib/spaceship/portal/spaceship.rb', line 76

def (user = nil, password = nil)
  Spaceship::Portal.(user, password)
end

.provisioning_profileObject


104
105
106
# File 'lib/spaceship/portal/spaceship.rb', line 104

def provisioning_profile
  Spaceship::Portal.provisioning_profile
end

.select_teamObject


80
81
82
# File 'lib/spaceship/portal/spaceship.rb', line 80

def select_team
  Spaceship::Portal.select_team
end