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.82.0.beta.20180217010002 supply/lib/supply/reader.rb
fastlane-2.82.0.beta.20180216010003 supply/lib/supply/reader.rb
fastlane-2.82.0.beta.20180215010002 supply/lib/supply/reader.rb
fastlane-2.82.0.beta.20180214010002 supply/lib/supply/reader.rb
fastlane-2.81.0 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180213010002 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180212010003 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180211010003 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180210010002 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180209010002 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180208010003 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180207010002 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180206010002 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180205010003 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180204010002 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180203010003 supply/lib/supply/reader.rb
fastlane-2.81.0.beta.20180202010003 supply/lib/supply/reader.rb
fastlane-2.80.0 supply/lib/supply/reader.rb
fastlane-2.80.0.beta.20180201010003 supply/lib/supply/reader.rb
fastlane-2.80.0.beta.20180131010003 supply/lib/supply/reader.rb