spaceship/lib/spaceship/connect_api.rb in fastlane-2.149.1 vs spaceship/lib/spaceship/connect_api.rb in fastlane-2.150.0.rc1

- old
+ new

@@ -3,10 +3,11 @@ require 'spaceship/connect_api/token' require 'spaceship/connect_api/provisioning/provisioning' require 'spaceship/connect_api/testflight/testflight' require 'spaceship/connect_api/users/users' +require 'spaceship/connect_api/tunes/tunes' require 'spaceship/connect_api/models/bundle_id_capability' require 'spaceship/connect_api/models/bundle_id' require 'spaceship/connect_api/models/certificate' require 'spaceship/connect_api/models/device' @@ -28,15 +29,33 @@ require 'spaceship/connect_api/models/build' require 'spaceship/connect_api/models/build_delivery' require 'spaceship/connect_api/models/build_beta_detail' require 'spaceship/connect_api/models/pre_release_version' +require 'spaceship/connect_api/models/age_rating_declaration' +require 'spaceship/connect_api/models/app_category' +require 'spaceship/connect_api/models/app_info' +require 'spaceship/connect_api/models/app_info_localization' +require 'spaceship/connect_api/models/app_price' +require 'spaceship/connect_api/models/app_price_tier' +require 'spaceship/connect_api/models/app_review_attachment' +require 'spaceship/connect_api/models/app_store_review_detail' +require 'spaceship/connect_api/models/app_store_version_submission' +require 'spaceship/connect_api/models/app_screenshot_set' +require 'spaceship/connect_api/models/app_screenshot' +require 'spaceship/connect_api/models/app_store_version_localization' +require 'spaceship/connect_api/models/app_store_version_phased_release' +require 'spaceship/connect_api/models/app_store_version' +require 'spaceship/connect_api/models/idfa_declaration' +require 'spaceship/connect_api/models/reset_ratings_request' + module Spaceship class ConnectAPI extend Spaceship::ConnectAPI::Provisioning extend Spaceship::ConnectAPI::TestFlight extend Spaceship::ConnectAPI::Users + extend Spaceship::ConnectAPI::Tunes @token = nil class << self attr_writer(:token) @@ -61,12 +80,12 @@ def self.map(platform) return platform if ALL.include?(platform) # Map from fastlane input and Spaceship::TestFlight platform values case platform.to_sym - when :appletvos + when :appletvos, :tvos return Spaceship::ConnectAPI::Platform::TV_OS - when :osx + when :osx, :macos return Spaceship::ConnectAPI::Platform::MAC_OS when :ios return Spaceship::ConnectAPI::Platform::IOS else raise "Cannot find a matching platform for '#{platform}' - valid values are #{ALL.join(', ')}"