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.87.0.beta.20180322050115 supply/lib/supply/reader.rb
fastlane-2.86.2 supply/lib/supply/reader.rb
fastlane-2.87.0.beta.20180321050017 supply/lib/supply/reader.rb
fastlane-2.86.1 supply/lib/supply/reader.rb
fastlane-2.87.0.beta.20180320050108 supply/lib/supply/reader.rb
fastlane-2.86.0 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180319050058 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180318050106 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180317050040 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180316050051 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180315050105 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180314050053 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180313050023 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180312050111 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180311050103 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180310050010 supply/lib/supply/reader.rb
fastlane-2.86.0.beta.20180309050025 supply/lib/supply/reader.rb
fastlane-2.85.0 supply/lib/supply/reader.rb
fastlane-2.85.0.beta.20180308050114 supply/lib/supply/reader.rb
fastlane-2.85.0.beta.20180307050101 supply/lib/supply/reader.rb