Sha256: 8006338e0f3866f5f7d22fe21c79b43be9ec2556ddda75c790e663221eb22aff

Contents?: true

Size: 1.58 KB

Versions: 57

Compression:

Stored size: 1.58 KB

Contents

require 'json'
require 'supply/options'
require 'supply/client'
require 'supply/listing'
require 'supply/apk_listing'
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 promoGraphic tvBanner)
  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

57 entries across 57 versions & 1 rubygems

Version Path
fastlane-2.153.1 supply/lib/supply.rb
fastlane-2.153.0 supply/lib/supply.rb
fastlane-2.152.0 supply/lib/supply.rb
fastlane-2.151.2 supply/lib/supply.rb
fastlane-2.151.1 supply/lib/supply.rb
fastlane-2.151.0 supply/lib/supply.rb
fastlane-2.150.3 supply/lib/supply.rb
fastlane-2.150.2 supply/lib/supply.rb
fastlane-2.150.1 supply/lib/supply.rb
fastlane-2.150.0 supply/lib/supply.rb
fastlane-2.150.0.rc7 supply/lib/supply.rb
fastlane-2.150.0.rc6 supply/lib/supply.rb
fastlane-2.150.0.rc5 supply/lib/supply.rb
fastlane-2.150.0.rc4 supply/lib/supply.rb
fastlane-2.150.0.rc3 supply/lib/supply.rb
fastlane-2.150.0.rc2 supply/lib/supply.rb
fastlane-2.150.0.rc1 supply/lib/supply.rb
fastlane-2.149.1 supply/lib/supply.rb
fastlane-2.149.0 supply/lib/supply.rb
fastlane-2.148.1 supply/lib/supply.rb