source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/globals.rb | Ruby | mit | 41,450 | master | 584 | module Spaceship
class Globals
class << self
attr_writer(:check_session)
end
# if spaceship is run with a FastlaneCore available respect the global state there
# otherwise fallback to $verbose
def self.verbose?
if Object.const_defined?("FastlaneCore")
return FastlaneCore::Glob... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/errors.rb | Ruby | mit | 41,450 | master | 4,921 | module Spaceship
# Base class for errors that want to present their message as
# preferred error info for fastlane error handling. See:
# fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb
class BasicPreferredInfoError < StandardError
TITLE = 'The request could not be completed because:'.freeze
def ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/du/utilities.rb | Ruby | mit | 41,450 | master | 4,309 | require 'fastimage'
require "English"
module Spaceship
# Set of utility methods useful to work with media files
module Utilities #:nodoc:
# Identifies the content_type of a file based on its file name extension.
# Supports all formats required by DU-UTC right now (video, images and json)
# @param path ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/du/upload_file.rb | Ruby | mit | 41,450 | master | 1,785 | require 'fileutils'
require_relative 'utilities'
module Spaceship
# a wrapper around the concept of file required to make uploads to DU
class UploadFile
attr_reader :file_path
attr_reader :file_name
attr_reader :file_size
attr_reader :content_type
attr_reader :bytes
class << self
de... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/du/du_client.rb | Ruby | mit | 41,450 | master | 6,893 | require_relative '../client'
require_relative '../tunes/display_family'
require_relative 'utilities'
module Spaceship
# This class is used to upload Digital files (Images, Videos, JSON files) onto the du-itc service.
# Its implementation is tied to the tunes module (in particular using +AppVersion+ instances)
cl... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/territory.rb | Ruby | mit | 41,450 | master | 1,182 | require_relative 'tunes_base'
module Spaceship
module Tunes
class Territory < TunesBase
# @return (String) The two-character country code (e.g. "US" for the United States)
attr_accessor :code
# @return (String) The ISO 3166-1 alpha-3 currency code (e.g. "USD" for the United States)
attr_... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/b2b_user.rb | Ruby | mit | 41,450 | master | 811 | require_relative 'tunes_base'
module Spaceship
module Tunes
class B2bUser < TunesBase
# @return (Bool) add the user to b2b list
attr_accessor :add
# @return (Bool) delete the user to b2b list
attr_accessor :delete
# @return (String) b2b username
attr_accessor :ds_username
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/build_details.rb | Ruby | mit | 41,450 | master | 6,050 | require_relative 'tunes_base'
module Spaceship
module Tunes
# Represents the details of a build
class BuildDetails < TunesBase
# @return (String) The App identifier of this app, provided by App Store Connect
# @example
# '1013943394'
attr_accessor :apple_id
# @return (Integer... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/b2b_organization.rb | Ruby | mit | 41,450 | master | 1,207 | require_relative 'tunes_base'
module Spaceship
module Tunes
class B2bOrganization < TunesBase
# @return (String) add or remove
attr_accessor :type
# @return (String) customer id
attr_accessor :dep_customer_id
# @return (String) organization id
attr_accessor :dep_organization_... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/language_converter.rb | Ruby | mit | 41,450 | master | 2,069 | require_relative '../module'
module Spaceship
module Tunes
class LanguageConverter
class << self
# Converts the iTC format (English_CA, Brazilian Portuguese) to language short codes: (en-US, de-DE)
def from_itc_to_standard(from)
result = mapping.find { |a| a['name'] == from }
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/errors.rb | Ruby | mit | 41,450 | master | 480 | require_relative '../errors'
module Spaceship
module Tunes
# ITunesConnectError is only thrown when App Store Connect raises an exception
class Error < BasicPreferredInfoError
end
# raised if the server failed to save temporarily
class TemporaryError < Spaceship::Tunes::Error
end
# rais... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/member.rb | Ruby | mit | 41,450 | master | 2,078 | require_relative 'tunes_base'
require_relative 'application'
module Spaceship
module Tunes
class Member < TunesBase
attr_accessor :email_address
attr_accessor :firstname
attr_accessor :lastname
attr_accessor :username
attr_accessor :not_accepted_invitation
attr_accessor :user_... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_details.rb | Ruby | mit | 41,450 | master | 4,231 | require_relative 'errors'
require_relative 'language_item'
require_relative 'tunes_base'
module Spaceship
module Tunes
class AppDetails < TunesBase
attr_accessor :application
####
# Localized values
####
# @return (Array) Raw access the all available languages. You shouldn't use i... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_version_states_history.rb | Ruby | mit | 41,450 | master | 688 | require_relative 'tunes_base'
module Spaceship
module Tunes
# Represents a read only version of an App Store Connect Versions State History
class AppVersionStatesHistory < TunesBase
# @return (String) the state
attr_reader :state_key
# @return (String) The name of the user who made the cha... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/tunes_base.rb | Ruby | mit | 41,450 | master | 347 | require_relative '../base'
module Spaceship
module Tunes
class TunesBase < Spaceship::Base
class << self
def client
(
@client or
Spaceship::Tunes.client or
raise "Please login using `Spaceship::Tunes.login('user', 'password')`"
)
end
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_status.rb | Ruby | mit | 41,450 | master | 2,228 | module Spaceship
module Tunes
# Defines the different states of the app
#
# As specified by Apple: https://developer.apple.com/library/ios/documentation/LanguagesUtilities/Conceptual/iTunesConnect_Guide/Chapters/ChangingAppStatus.html
module AppStatus
# You can edit this version, upload new bina... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap_type.rb | Ruby | mit | 41,450 | master | 1,822 | module Spaceship
module Tunes
# Defines the different in-app purchase product types
#
# As specified by Apple: https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnectInAppPurchase_Guide/Chapters/CreatingInAppPurchaseProducts.html
module IAPType
CONSU... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/spaceship.rb | Ruby | mit | 41,450 | master | 1,538 | require_relative 'tunes_client'
module Spaceship
module Tunes
class << self
# This client stores the default client when using the lazy syntax
# Spaceship.app instead of using the spaceship launcher
attr_accessor :client
# Authenticates with Apple's web services. This method has to be ca... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_trailer.rb | Ruby | mit | 41,450 | master | 1,673 | require_relative 'tunes_base'
module Spaceship
module Tunes
# Represents a preview video hosted on App Store Connect. Used for icons, screenshots, etc
class AppTrailer < TunesBase
attr_accessor :video_asset_token
attr_accessor :picture_asset_token
attr_accessor :descriptionXML
attr... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_version_common.rb | Ruby | mit | 41,450 | master | 1,367 | module Spaceship
module Tunes
# internal to spaceship
# Represents the common structure between application['versionSets'] and app_version['platform']
class AppVersionCommon
class << self
def find_version_id(platform, is_live)
version = platform[(is_live ? 'deliverableVersion' : 'i... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/transit_app_file.rb | Ruby | mit | 41,450 | master | 415 | require_relative 'tunes_base'
module Spaceship
module Tunes
# Represents a geo json
class TransitAppFile < TunesBase
attr_accessor :asset_token
attr_accessor :name
attr_accessor :time_stamp
attr_accessor :url
attr_mapping(
'assetToken' => :asset_token,
'timeS... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/device_type.rb | Ruby | mit | 41,450 | master | 489 | require_relative "display_family"
module Spaceship
module Tunes
# identifiers of devices that App Store Connect accepts screenshots for
class DeviceType
def self.types
warn("Spaceship::Tunes::DeviceType has been deprecated, use Spaceship::Tunes::DisplayFamily instead. (https://github.com/fastla... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_screenshot.rb | Ruby | mit | 41,450 | master | 255 | require_relative 'app_image'
module Spaceship
module Tunes
# Represents a screenshot hosted on App Store Connect
class AppScreenshot < Spaceship::Tunes::AppImage
attr_accessor :device_type
attr_accessor :language
end
end
end |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/build_train.rb | Ruby | mit | 41,450 | master | 8,318 | require_relative 'tunes_base'
require_relative 'errors'
require_relative 'build'
module Spaceship
module Tunes
# Represents a build train of builds from App Store Connect
# A build train is all builds for a given version number with different build numbers
class BuildTrain < TunesBase
# @return (Sp... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_version.rb | Ruby | mit | 41,450 | master | 39,904 | require_relative 'tunes_client'
require_relative 'app_trailer'
require_relative 'app_screenshot'
require_relative 'app_image'
require_relative 'display_family'
require_relative 'app_version_generated_promocodes'
require_relative 'language_item'
require_relative 'transit_app_file'
require_relative 'build'
require_relati... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/application.rb | Ruby | mit | 41,450 | master | 17,072 | require_relative '../test_flight/group'
require_relative '../test_flight/build'
require_relative 'app_analytics'
require_relative 'app_details'
require_relative 'app_ratings'
require_relative 'app_submission'
require_relative 'app_version'
require_relative 'app_version_generated_promocodes'
require_relative 'app_versio... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/language_item.rb | Ruby | mit | 41,450 | master | 1,686 | module Spaceship
module Tunes
# Represents one attribute (e.g. name) of an app in multiple languages
class LanguageItem
attr_accessor :identifier # title or description
attr_accessor :original_array # reference to original array
def initialize(identifier, ref)
raise "ref is nil" if ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap_family_list.rb | Ruby | mit | 41,450 | master | 713 | require_relative 'iap_family_details'
module Spaceship
module Tunes
class IAPFamilyList < TunesBase
# @return (Spaceship::Tunes::Application) A reference to the application
attr_accessor :application
# @return (String) the family name
attr_accessor :name
# @return (Integer) the Fa... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/build.rb | Ruby | mit | 41,450 | master | 9,401 | require_relative 'build_details'
module Spaceship
module Tunes
# Represents a build which is inside the build train
class Build < TunesBase
#####################################################
# @!group General metadata
#####################################################
# @return... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/tunes_client.rb | Ruby | mit | 41,450 | master | 64,902 | require "securerandom"
require_relative '../client'
require_relative '../du/du_client'
require_relative '../du/upload_file'
require_relative 'app_version_common'
require_relative 'app_version_ref'
require_relative 'availability'
require_relative 'errors'
require_relative 'iap_subscription_pricing_tier'
require_relative... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap_status.rb | Ruby | mit | 41,450 | master | 1,844 | module Spaceship
module Tunes
# Defines the different states of an in-app purchase
#
# As specified by Apple: https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/iTunesConnectInAppPurchase_Guide/Chapters/WorkingWithYourProductsStatus.html
module IAPStatus
# IA... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_review.rb | Ruby | mit | 41,450 | master | 1,637 | require_relative 'developer_response'
module Spaceship
module Tunes
class AppReview < TunesBase
attr_accessor :application
attr_reader :rating
attr_reader :id
attr_reader :title
attr_reader :review
attr_reader :nickname
attr_reader :store_front
attr_reader :app_ver... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/pricing_info.rb | Ruby | mit | 41,450 | master | 1,214 | require_relative 'tunes_base'
module Spaceship
module Tunes
class PricingInfo < TunesBase
# @return (String) name of the country, e.g. "United States"
attr_accessor :country
# @return (String) country code, e.g. "US"
attr_accessor :country_code
# @return (String) currency symbol, ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_version_history.rb | Ruby | mit | 41,450 | master | 1,420 | require_relative 'app_version_states_history'
module Spaceship
module Tunes
# Represents a read only version of an App Store Connect Versions State History
class AppVersionHistory < TunesBase
# @return (Spaceship::Tunes::Application) A reference to the application
# this version is for
at... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap_detail.rb | Ruby | mit | 41,450 | master | 10,312 | require_relative '../du/upload_file'
require_relative 'iap_status'
require_relative 'iap_type'
require_relative 'tunes_base'
module Spaceship
module Tunes
class IAPDetail < TunesBase
# @return (Spaceship::Tunes::Application) A reference to the application
attr_accessor :application
# @return (... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/sandbox_tester.rb | Ruby | mit | 41,450 | master | 1,865 | require_relative 'tunes_base'
module Spaceship
module Tunes
class SandboxTester < TunesBase
# @return (String) The email of this sandbox tester
# @example
# "tester@spaceship.com"
attr_accessor :email
# @return (String) The first name of this tester
# @example
# "Ca... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap.rb | Ruby | mit | 41,450 | master | 7,078 | require 'spaceship/tunes/errors'
require 'spaceship/tunes/iap_list'
require 'spaceship/tunes/iap_detail'
require 'spaceship/tunes/iap_status'
require 'spaceship/tunes/iap_type'
require 'spaceship/tunes/iap_family_list'
require 'spaceship/tunes/iap_families'
require 'spaceship/tunes/iap_family_details'
require 'spaceshi... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/developer_response.rb | Ruby | mit | 41,450 | master | 518 | require_relative 'tunes_base'
module Spaceship
module Tunes
class DeveloperResponse < TunesBase
attr_reader :id
attr_reader :response
attr_reader :last_modified
attr_reader :hidden
attr_reader :state
attr_accessor :application
attr_accessor :review_id
attr_mapping... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap_family_details.rb | Ruby | mit | 41,450 | master | 2,986 | require_relative 'tunes_base'
module Spaceship
module Tunes
class IAPFamilyDetails < TunesBase
# @return (Spaceship::Tunes::Application) A reference to the application
attr_accessor :application
# @return (String) the family name
attr_accessor :name
# @return (Integer) the family ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_version_promocodes.rb | Ruby | mit | 41,450 | master | 762 | require_relative 'tunes_base'
module Spaceship
module Tunes
# Represents the information about remaining number of promo codes for an app version
class AppVersionPromocodes < TunesBase
# @return
attr_reader :app_id
attr_reader :app_name
attr_reader :version
attr_reader :platform... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_ratings.rb | Ruby | mit | 41,450 | master | 2,098 | require_relative 'app_review'
module Spaceship
module Tunes
# Represents app ratings from App Store Connect
class AppRatings < TunesBase
# @return (Spaceship::Tunes::Application) A reference to the application
# this version is for
attr_accessor :application
# @return (Integer) tot... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/pricing_tier.rb | Ruby | mit | 41,450 | master | 695 | require_relative 'pricing_info'
module Spaceship
module Tunes
class PricingTier < TunesBase
# @return (String) Number of the price Tier (e.g. "0" for Tier 0 aka Free)
attr_accessor :tier_stem
# @return (String) Name of the tier (e.g. "Free" for Tier 0)
attr_accessor :tier_name
# @... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_submission.rb | Ruby | mit | 41,450 | master | 5,628 | require_relative 'tunes_base'
module Spaceship
module Tunes
# Represents a submission for review of an App Store Connect Application
# This class handles the submission of all review information and documents
class AppSubmission < TunesBase
# @return (Spaceship::Tunes::Application) A reference to t... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_version_ref.rb | Ruby | mit | 41,450 | master | 331 | require_relative 'tunes_base'
module Spaceship
module Tunes
class AppVersionRef < TunesBase
attr_accessor :sso_token_for_image
attr_accessor :sso_token_for_video
attr_mapping(
'ssoTokenForImage' => :sso_token_for_image,
'ssoTokenForVideo' => :sso_token_for_video
)
end... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb | Ruby | mit | 41,450 | master | 742 | require_relative 'app_version_promocodes'
module Spaceship
module Tunes
# Represents the information about the generation of promocodes
class AppVersionGeneratedPromocodes < TunesBase
# @return
attr_reader :effective_date
attr_reader :expiration_date
attr_reader :username
# the ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/legacy_wrapper.rb | Ruby | mit | 41,450 | master | 399 | require_relative 'app_version'
require_relative 'app_submission'
require_relative 'application'
require_relative 'members'
require_relative '../portal/persons'
module Spaceship
AppVersion = Spaceship::Tunes::AppVersion
AppSubmission = Spaceship::Tunes::AppSubmission
Application = Spaceship::Tunes::Application
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap_subscription_pricing_tier.rb | Ruby | mit | 41,450 | master | 768 | require_relative 'iap_subscription_pricing_info'
module Spaceship
module Tunes
class IAPSubscriptionPricingTier < TunesBase
# @return (String) Number of the subscription price tier (e.g. "1" for Tier 1 )
attr_accessor :tier_stem
# @return (String) Name of the tier (e.g. "ITC.addons.pricing.tie... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap_list.rb | Ruby | mit | 41,450 | master | 2,507 | require_relative 'iap_detail'
require_relative 'iap_status'
require_relative 'iap_type'
module Spaceship
module Tunes
class IAPList < TunesBase
# @return (Spaceship::Tunes::Application) A reference to the application
attr_accessor :application
# @return (String) the IAP Referencename
att... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/version_set.rb | Ruby | mit | 41,450 | master | 713 | require_relative 'tunes_base'
module Spaceship
module Tunes
# Represents a version set inside of an application
class VersionSet < TunesBase
#####################################################
# @!group General metadata
#####################################################
# @retur... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_analytics.rb | Ruby | mit | 41,450 | master | 4,871 | require_relative 'tunes_base'
module Spaceship
module Tunes
class AppAnalytics < TunesBase
# @return (Integer) The app ID to grab analytics for
attr_accessor :apple_id
class << self
def factory(attrs)
return self.new(attrs)
end
end
# App Store / Impressio... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/tunes.rb | Ruby | mit | 41,450 | master | 1,091 | require_relative 'tunes_base'
require_relative 'application'
require_relative 'iap'
require_relative 'version_set'
require_relative 'app_version'
require_relative 'app_version_common'
require_relative 'app_submission'
require_relative 'tunes_client'
require_relative 'language_item'
require_relative 'app_status'
require... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/display_family.rb | Ruby | mit | 41,450 | master | 3,006 | require_relative "../module"
module Spaceship
module Tunes
# A definition of different styled displays used by devices
# that App Store Connect supports storing screenshots.
# Display styles often only vary based on screen resolution
# however other aspects of a displays physical appearance are
#... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap_subscription_pricing_info.rb | Ruby | mit | 41,450 | master | 1,482 | require_relative 'tunes_base'
module Spaceship
module Tunes
class IAPSubscriptionPricingInfo < TunesBase
# @return (String) country code, e.g. "US"
attr_accessor :country_code
# @return (String) currency symbol, e.g. "$"
attr_accessor :currency_symbol
# @return (String) currency c... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/iap_families.rb | Ruby | mit | 41,450 | master | 2,292 | require_relative 'iap_family_list'
module Spaceship
module Tunes
class IAPFamilies < TunesBase
# @return (Spaceship::Tunes::Application) A reference to the application
attr_accessor :application
# Create a new Purchase Family
# a freshly created family has to have at least one product.
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_review_attachment.rb | Ruby | mit | 41,450 | master | 1,128 | require_relative 'tunes_base'
module Spaceship
module Tunes
# Represents an image hosted on App Store Connect. Used for app store review attachment file.
class AppReviewAttachment < TunesBase
HOST_URL = "https://iosapps-ssl.itunes.apple.com/itunes-assets"
attr_accessor :asset_token
attr_a... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/members.rb | Ruby | mit | 41,450 | master | 948 | require_relative 'member'
module Spaceship
module Tunes
class Members < TunesBase
class << self
def all
response = client.members
return_members = []
response.each do |member|
return_members << Tunes::Member.factory(member)
end
return_m... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/app_image.rb | Ruby | mit | 41,450 | master | 1,148 | require_relative 'tunes_base'
module Spaceship
module Tunes
# Represents an image hosted on App Store Connect. Used for icons, screenshots, etc
class AppImage < TunesBase
HOST_URL = "https://is1-ssl.mzstatic.com/image/thumb"
attr_accessor :asset_token
attr_accessor :sort_order
attr... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/tunes/availability.rb | Ruby | mit | 41,450 | master | 6,588 | require_relative 'territory'
require_relative 'b2b_user'
require_relative 'b2b_organization'
module Spaceship
module Tunes
class Availability < TunesBase
# @return (Bool) Are future territories included?
attr_accessor :include_future_territories
# @return (Array of Spaceship::Tunes::Territory o... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/helper/plist_middleware.rb | Ruby | mit | 41,450 | master | 405 | require 'faraday_middleware/response_middleware'
module FaradayMiddleware
class PlistMiddleware < ResponseMiddleware
dependency do
require 'plist' unless Object.const_defined?("Plist")
end
define_parser do |body|
body = body.force_encoding("UTF-8")
Plist.parse_xml(body)
end
end
e... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/helper/net_http_generic_request.rb | Ruby | mit | 41,450 | master | 740 | require 'net/http'
## monkey-patch Net::HTTP
#
# Certain apple endpoints return 415 responses if a Content-Type is supplied.
# Net::HTTP will default a content-type if none is provided by faraday
# This monkey-patch allows us to leave out the content-type if we do not specify one.
module NetHTTPGenericRequestMonkeypat... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/helper/rels_middleware.rb | Ruby | mit | 41,450 | master | 574 | module Faraday
class Env
attr_accessor :rels
end
end
require 'faraday'
module FaradayMiddleware
class RelsMiddleware < Faraday::Middleware
def initialize(app, options = {})
@app = app
@options = options
end
def call(environment)
@app.call(environment).on_complete do |env|
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/file_uploader.rb | Ruby | mit | 41,450 | master | 2,916 | require 'faraday' # HTTP Client
require 'faraday-cookie_jar'
require 'faraday_middleware'
require 'spaceship/globals'
require 'openssl'
module Spaceship
class ConnectAPI
module FileUploader
def self.upload(upload_operations, bytes)
# {
# "method": "PUT",
# "url": "https://some... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/token_refresh_middleware.rb | Ruby | mit | 41,450 | master | 531 | require 'faraday'
require_relative 'token'
require_relative '../globals'
module Spaceship
class TokenRefreshMiddleware < Faraday::Middleware
def initialize(app, token)
@token = token
super(app)
end
def call(env)
if @token.expired?
puts("App Store Connect API token expired at #... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/client.rb | Ruby | mit | 41,450 | master | 9,195 | require_relative './token'
require_relative './provisioning/provisioning'
require_relative './testflight/testflight'
require_relative './tunes/tunes'
require_relative './users/users'
module Spaceship
class ConnectAPI
class Client
attr_accessor :token
attr_accessor :tunes_client
attr_accessor :p... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/api_client.rb | Ruby | mit | 41,450 | master | 12,959 | require_relative '../client'
require_relative './response'
require_relative '../client'
require_relative './response'
require_relative './token_refresh_middleware'
require_relative '../stats_middleware'
module Spaceship
class ConnectAPI
class APIClient < Spaceship::Client
attr_accessor :token
#####... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/response.rb | Ruby | mit | 41,450 | master | 1,763 | require_relative './model'
module Spaceship
class ConnectAPI
class Response
include Enumerable
attr_reader :body
attr_reader :status
attr_reader :headers
attr_reader :client
def initialize(body: nil, status: nil, headers: nil, client: nil)
@body = body
@status... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/model.rb | Ruby | mit | 41,450 | master | 5,082 | module Spaceship
class ConnectAPI
module Model
def self.included(base)
Spaceship::ConnectAPI::Models.types ||= []
Spaceship::ConnectAPI::Models.types << base
base.extend(Spaceship::ConnectAPI::Model)
end
attr_accessor :id
attr_accessor :reverse_attr_map
def ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/spaceship.rb | Ruby | mit | 41,450 | master | 4,990 | require_relative './client'
require_relative './testflight/testflight'
module Spaceship
class ConnectAPI
class << self
# This client stores the global client when using the lazy syntax
attr_accessor :client
# Forward class calls to the global client
# This is implemented for backwards c... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/token.rb | Ruby | mit | 41,450 | master | 3,858 | require 'jwt'
require 'base64'
require 'openssl'
# extract pem from .p8
# openssl pkcs8 -topk8 -outform PEM -in AuthKey.p8 -out key.pem -nocrypt
# compute public key
# openssl ec -in key.pem -pubout -out public_key.pem -aes256
module Spaceship
class ConnectAPI
class Token
# maximum expiration supported b... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/users/users.rb | Ruby | mit | 41,450 | master | 5,891 | require 'spaceship/connect_api/users/client'
module Spaceship
class ConnectAPI
module Users
module API
module Version
V1 = "v1"
end
def users_request_client=(users_request_client)
@users_request_client = users_request_client
end
def users_reques... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/users/client.rb | Ruby | mit | 41,450 | master | 871 | require_relative '../api_client'
require_relative './users'
require_relative '../../tunes/tunes_client'
module Spaceship
class ConnectAPI
module Users
class Client < Spaceship::ConnectAPI::APIClient
def initialize(cookie: nil, current_team_id: nil, token: nil, another_client: nil)
another... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/testflight/client.rb | Ruby | mit | 41,450 | master | 892 | require_relative '../api_client'
require_relative './testflight'
require_relative '../../tunes/tunes_client'
module Spaceship
class ConnectAPI
module TestFlight
class Client < Spaceship::ConnectAPI::APIClient
def initialize(cookie: nil, current_team_id: nil, token: nil, another_client: nil)
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/testflight/testflight.rb | Ruby | mit | 41,450 | master | 18,325 | require 'spaceship/connect_api/testflight/client'
module Spaceship
class ConnectAPI
module TestFlight
module API
module Version
V1 = "v1"
end
def test_flight_request_client=(test_flight_request_client)
@test_flight_request_client = test_flight_request_client
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/tunes/tunes.rb | Ruby | mit | 41,450 | master | 45,603 | require 'spaceship/connect_api/tunes/client'
module Spaceship
class ConnectAPI
module Tunes
module API
module Version
V1 = "v1"
V2 = "v2"
V3 = "v3"
end
def tunes_request_client=(tunes_request_client)
@tunes_request_client = tunes_request_clie... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/tunes/client.rb | Ruby | mit | 41,450 | master | 871 | require_relative '../api_client'
require_relative './tunes'
require_relative '../../tunes/tunes_client'
module Spaceship
class ConnectAPI
module Tunes
class Client < Spaceship::ConnectAPI::APIClient
def initialize(cookie: nil, current_team_id: nil, token: nil, another_client: nil)
another... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/sandbox_tester.rb | Ruby | mit | 41,450 | master | 2,147 | require_relative '../model'
module Spaceship
class ConnectAPI
class SandboxTester
include Spaceship::ConnectAPI::Model
attr_accessor :first_name
attr_accessor :last_name
attr_accessor :email
attr_accessor :password
attr_accessor :confirm_password
attr_accessor :secret_qu... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb | Ruby | mit | 41,450 | master | 2,201 | require_relative '../model'
module Spaceship
class ConnectAPI
class BuildBetaDetail
include Spaceship::ConnectAPI::Model
attr_accessor :auto_notify_enabled
attr_accessor :did_notify
attr_accessor :internal_build_state
attr_accessor :external_build_state
module InternalState
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb | Ruby | mit | 41,450 | master | 1,191 | require_relative '../model'
module Spaceship
class ConnectAPI
class BetaTesterMetric
include Spaceship::ConnectAPI::Model
attr_accessor :install_count
attr_accessor :crash_count
attr_accessor :session_count
attr_accessor :beta_tester_state
attr_accessor :last_modified_date
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_price_tier.rb | Ruby | mit | 41,450 | master | 210 | require_relative '../model'
module Spaceship
class ConnectAPI
class AppPriceTier
include Spaceship::ConnectAPI::Model
def self.type
return "appPriceTiers"
end
end
end
end |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/review_rejection.rb | Ruby | mit | 41,450 | master | 305 | require_relative '../model'
module Spaceship
class ConnectAPI
class ReviewRejection
include Spaceship::ConnectAPI::Model
attr_accessor :reasons
attr_mapping({
reasons: 'reasons'
})
def self.type
return 'reviewRejections'
end
end
end
end |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/user_invitation.rb | Ruby | mit | 41,450 | master | 2,841 | require_relative '../model'
require_relative 'user'
module Spaceship
class ConnectAPI
class UserInvitation
include Spaceship::ConnectAPI::Model
attr_accessor :first_name
attr_accessor :last_name
attr_accessor :email
attr_accessor :roles
attr_accessor :all_apps_visible
a... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb | Ruby | mit | 41,450 | master | 560 | require_relative '../model'
module Spaceship
class ConnectAPI
class ResetRatingsRequest
include Spaceship::ConnectAPI::Model
attr_accessor :reset_date
attr_mapping({
"resetDate" => "reset_date"
})
def self.type
return "resetRatingsRequests"
end
#
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/certificate.rb | Ruby | mit | 41,450 | master | 5,107 | require_relative '../../connect_api'
require 'openssl'
module Spaceship
class ConnectAPI
class Certificate
include Spaceship::ConnectAPI::Model
attr_accessor :certificate_content
attr_accessor :display_name
attr_accessor :expiration_date
attr_accessor :name
attr_accessor :pl... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_data_usage_data_protection.rb | Ruby | mit | 41,450 | master | 661 | require_relative '../model'
module Spaceship
class ConnectAPI
class AppDataUsageDataProtection
include Spaceship::ConnectAPI::Model
attr_accessor :deleted
attr_mapping({
"deleted" => "deleted"
})
# Found at https://appstoreconnect.apple.com/iris/v1/appDataUsageDataProtecti... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/beta_build_metric.rb | Ruby | mit | 41,450 | master | 575 | require_relative '../model'
module Spaceship
class ConnectAPI
class BetaBuildMetric
include Spaceship::ConnectAPI::Model
attr_accessor :install_count
attr_accessor :crash_count
attr_accessor :invite_count
attr_accessor :seven_day_tester_count
attr_mapping({
"installCo... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/device.rb | Ruby | mit | 41,450 | master | 8,993 | require_relative '../../connect_api'
module Spaceship
class ConnectAPI
class Device
include Spaceship::ConnectAPI::Model
attr_accessor :device_class
attr_accessor :model
attr_accessor :name
attr_accessor :platform
attr_accessor :status
attr_accessor :udid
attr_acc... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/beta_app_review_submission.rb | Ruby | mit | 41,450 | master | 555 | require_relative '../model'
module Spaceship
class ConnectAPI
class BetaAppReviewSubmission
include Spaceship::ConnectAPI::Model
attr_accessor :beta_review_state
attr_mapping({
"betaReviewState" => "beta_review_state"
})
def self.type
return "betaAppReviewSubmissio... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_store_version_phased_release.rb | Ruby | mit | 41,450 | master | 1,450 | require_relative '../model'
module Spaceship
class ConnectAPI
class AppStoreVersionPhasedRelease
include Spaceship::ConnectAPI::Model
attr_accessor :phased_release_state
attr_accessor :start_date
attr_accessor :total_pause_duration
attr_accessor :current_day_number
module Pha... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_data_usage_category.rb | Ruby | mit | 41,450 | master | 2,128 | require_relative '../model'
module Spaceship
class ConnectAPI
class AppDataUsageCategory
include Spaceship::ConnectAPI::Model
attr_accessor :deleted
attr_accessor :grouping
attr_mapping({
"deleted" => "deleted",
"grouping" => "grouping"
})
# Found at https://... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb | Ruby | mit | 41,450 | master | 6,025 | require_relative '../model'
require_relative './app_screenshot'
module Spaceship
class ConnectAPI
class AppScreenshotSet
include Spaceship::ConnectAPI::Model
attr_accessor :screenshot_display_type
attr_accessor :app_screenshots
module DisplayType
APP_IPHONE_35 = "APP_IPHONE_35"... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/custom_app_user.rb | Ruby | mit | 41,450 | master | 942 | require_relative '../model'
module Spaceship
class ConnectAPI
class CustomAppUser
include Spaceship::ConnectAPI::Model
attr_accessor :apple_id
attr_mapping({
"appleId" => "apple_id"
})
def self.type
return "customAppUsers"
end
#
# API
#
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/custom_app_organization.rb | Ruby | mit | 41,450 | master | 1,182 | require_relative '../model'
module Spaceship
class ConnectAPI
class CustomAppOrganization
include Spaceship::ConnectAPI::Model
attr_accessor :device_enrollment_program_id
attr_accessor :name
attr_mapping({
"deviceEnrollmentProgramId" => "device_enrollment_program_id",
"na... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_data_usage.rb | Ruby | mit | 41,450 | master | 1,642 | require_relative '../model'
module Spaceship
class ConnectAPI
class AppDataUsage
include Spaceship::ConnectAPI::Model
attr_accessor :category
attr_accessor :grouping
attr_accessor :purpose
attr_accessor :data_protection
attr_mapping({
"category" => "category",
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb | Ruby | mit | 41,450 | master | 1,606 | require_relative '../model'
require_relative './app_store_review_attachment'
module Spaceship
class ConnectAPI
class AppStoreReviewDetail
include Spaceship::ConnectAPI::Model
attr_accessor :contact_first_name
attr_accessor :contact_last_name
attr_accessor :contact_phone
attr_access... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_info.rb | Ruby | mit | 41,450 | master | 4,630 | require_relative '../model'
module Spaceship
class ConnectAPI
class AppInfo
include Spaceship::ConnectAPI::Model
attr_accessor :app_store_state
attr_accessor :state
attr_accessor :app_store_age_rating
attr_accessor :brazil_age_rating
attr_accessor :kids_age_band
attr_ac... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_data_usages_publish_state.rb | Ruby | mit | 41,450 | master | 892 | require_relative '../model'
module Spaceship
class ConnectAPI
class AppDataUsagesPublishState
include Spaceship::ConnectAPI::Model
attr_accessor :published
attr_accessor :last_published
attr_accessor :last_published_by
attr_mapping({
"published" => "published",
"las... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/beta_build_localization.rb | Ruby | mit | 41,450 | master | 383 | require_relative '../model'
module Spaceship
class ConnectAPI
class BetaBuildLocalization
include Spaceship::ConnectAPI::Model
attr_accessor :whats_new
attr_accessor :locale
attr_mapping({
"whatsNew" => "whats_new",
"locale" => "locale"
})
def self.type
... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_data_usage_purposes.rb | Ruby | mit | 41,450 | master | 1,013 | require_relative '../model'
module Spaceship
class ConnectAPI
class AppDataUsagePurpose
include Spaceship::ConnectAPI::Model
attr_accessor :deleted
attr_mapping({
"deleted" => "deleted"
})
# Found at https://appstoreconnect.apple.com/iris/v1/appDataUsagePurposes
modu... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/app_category.rb | Ruby | mit | 41,450 | master | 3,315 | require_relative '../model'
module Spaceship
class ConnectAPI
class AppCategory
include Spaceship::ConnectAPI::Model
attr_accessor :platforms
attr_mapping({
"platforms" => "platforms"
})
def self.type
return "appCategories"
end
LEGACY_CATEGORY_ITC_MAP ... |
github | fastlane/fastlane | https://github.com/fastlane/fastlane | spaceship/lib/spaceship/connect_api/models/bundle_id.rb | Ruby | mit | 41,450 | master | 3,077 | require_relative '../../connect_api'
require_relative './bundle_id_capability'
module Spaceship
class ConnectAPI
class BundleId
include Spaceship::ConnectAPI::Model
attr_accessor :identifier
attr_accessor :name
attr_accessor :seed_id
attr_accessor :platform
attr_accessor :bun... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.