Sha256: 00d48a74f9e97f8be5bf6201fd8cb65ff60a6a67b8fedbf3916f6542a17775fd

Contents?: true

Size: 579 Bytes

Versions: 772

Compression:

Stored size: 579 Bytes

Contents

module Supply
  class Reader
    def track_version_codes
      track = Supply.config[:track]

      client.begin_edit(package_name: Supply.config[:package_name])
      version_codes = client.track_version_codes(track)
      client.abort_current_edit

      if version_codes.empty?
        UI.important("No version codes found in track '#{track}'")
      else
        UI.success("Found '#{version_codes.join(', ')}' version codes in track '#{track}'")
      end

      version_codes
    end

    private

    def client
      @client ||= Client.make_from_config
    end
  end
end

Version data entries

772 entries across 772 versions & 2 rubygems

Version Path
fastlane-2.113.0.beta.20190102200016 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20190101200013 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181231200027 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181230200014 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181229200101 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181228200027 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181227200058 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181226200116 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181225200026 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181224200038 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181223200038 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181222200027 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181221200014 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181220200101 supply/lib/supply/reader.rb
fastlane-2.113.0.beta.20181219200044 supply/lib/supply/reader.rb
fastlane-2.112.0 supply/lib/supply/reader.rb
fastlane-2.112.0.beta.20181218200038 supply/lib/supply/reader.rb
fastlane-2.112.0.beta.20181217200025 supply/lib/supply/reader.rb
fastlane-2.112.0.beta.20181216200018 supply/lib/supply/reader.rb
fastlane-2.112.0.beta.20181215200110 supply/lib/supply/reader.rb