spaceship/lib/spaceship/tunes/app_version.rb in fastlane-2.98.0 vs spaceship/lib/spaceship/tunes/app_version.rb in fastlane-2.99.0

- old
+ new

@@ -9,11 +9,11 @@ require_relative 'build' require_relative 'app_status' module Spaceship module Tunes - # Represents an editable version of an iTunes Connect Application + # Represents an editable version of an App Store Connect Application # This can either be the live or the edit version retrieved via the app # rubocop:disable Metrics/ClassLength class AppVersion < TunesBase # @return (Spaceship::Tunes::Application) A reference to the application # this version is for @@ -74,11 +74,11 @@ attr_accessor :large_app_icon # @return (Spaceship::Tunes::AppImage) the structure containing information about the large watch icon (1024x1024) attr_accessor :watch_app_icon - # @return (Integer) a unqiue ID for this version generated by iTunes Connect + # @return (Integer) a unqiue ID for this version generated by App Store Connect attr_accessor :version_id #### # GeoJson #### @@ -396,11 +396,11 @@ end end true end - # Push all changes that were made back to iTunes Connect + # Push all changes that were made back to App Store Connect def save! client.update_app_version!(application.apple_id, self.version_id, raw_data) end # @return (String) An URL to this specific resource. You can enter this URL into your browser @@ -421,11 +421,11 @@ setup_screenshots setup_trailers end # This method will generate the required keys/values - # for iTunes Connect to validate the uploaded image + # for App Store Connect to validate the uploaded image def generate_image_metadata(image_data, original_file_name) { assetToken: image_data["token"], originalFileName: original_file_name, size: image_data["length"], @@ -495,11 +495,11 @@ if screenshot_path # adding / replacing upload_file = UploadFile.from_path(screenshot_path) screenshot_data = client.upload_screenshot(self, upload_file, device, is_messages) # Since October 2016 we also need to pass the size, height, width and checksum - # otherwise iTunes Connect validation will fail at a later point + # otherwise App Store Connect validation will fail at a later point new_screenshot = { "value" => { "assetToken" => screenshot_data["token"], "sortOrder" => sort_order, "originalFileName" => upload_file.file_name, @@ -695,10 +695,10 @@ device_details = display_families.find { |display_family| display_family['name'] == device } raise "Couldn't find device family for #{device}" if device_details.nil? raise "Unexpected state: missing device details for #{device}" unless device_details.key?(data_field) return device_details[data_field] rescue => ex - raise "iTunes Connect error: #{ex}" + raise "App Store Connect error: #{ex}" end def setup_screenshots # Enable Scaling for all screen sizes that don't have at least one screenshot # We automatically disable scaling once we upload at least one screenshot