Sha256: bded35d5150b6dc47f191bdeb000e9e13c5382f8a24d973c48d4212797561da4

Contents?: true

Size: 1.71 KB

Versions: 16

Compression:

Stored size: 1.71 KB

Contents

require 'json'
require 'supply/options'
require 'supply/client'
require 'supply/listing'
require 'supply/apk_listing'
require 'supply/image_listing'
require 'supply/generated_universal_apk'
require 'supply/release_listing'
require 'supply/uploader'
require 'supply/languages'

require 'fastlane_core'

module Supply
  # Use this to just setup the configuration attribute and set it later somewhere else
  class << self
    attr_accessor :config
  end

  AVAILABLE_METADATA_FIELDS = %w(title short_description full_description video)
  IMAGES_TYPES = %w(featureGraphic icon tvBanner) # https://developers.google.com/android-publisher/api-ref/rest/v3/AppImageType
  SCREENSHOT_TYPES = %w(phoneScreenshots sevenInchScreenshots tenInchScreenshots tvScreenshots wearScreenshots)

  IMAGES_FOLDER_NAME = "images"
  IMAGE_FILE_EXTENSIONS = "{png,jpg,jpeg}"

  CHANGELOGS_FOLDER_NAME = "changelogs"

  # https://developers.google.com/android-publisher/#publishing
  module Tracks
    PRODUCTION = "production"
    BETA = "beta"
    ALPHA = "alpha"
    INTERNAL = "internal"

    DEFAULTS = [PRODUCTION, BETA, ALPHA, INTERNAL]
    DEFAULT = PRODUCTION
  end

  # https://developers.google.com/android-publisher/api-ref/edits/tracks
  module ReleaseStatus
    COMPLETED = "completed"
    DRAFT = "draft"
    HALTED = "halted"
    IN_PROGRESS = "inProgress"

    ALL = [COMPLETED, DRAFT, HALTED, IN_PROGRESS]
  end

  Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
  UI = FastlaneCore::UI
  Boolean = Fastlane::Boolean
  ROOT = Pathname.new(File.expand_path('../..', __FILE__))
  DESCRIPTION = "Command line tool for updating Android apps and their metadata on the Google Play Store".freeze
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
fastlane-2.226.0 supply/lib/supply.rb
fastlane-2.225.0 supply/lib/supply.rb
fastlane-2.224.0 supply/lib/supply.rb
fastlane-2.223.1 supply/lib/supply.rb
fastlane-2.223.0 supply/lib/supply.rb
fastlane-2.222.0 supply/lib/supply.rb
fastlane-2.221.1 supply/lib/supply.rb
fastlane-2.221.0 supply/lib/supply.rb
fastlane-2.220.0 supply/lib/supply.rb
fastlane-2.219.0 supply/lib/supply.rb
fastlane-2.218.0 supply/lib/supply.rb
fastlane-security-patched-2.216.0 supply/lib/supply.rb
fastlane-2.217.0 supply/lib/supply.rb
fastlane-2.216.0 supply/lib/supply.rb
fastlane-2.215.1 supply/lib/supply.rb
fastlane-2.215.0 supply/lib/supply.rb