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.121.0.beta.20190422200029 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190421200026 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190420200032 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190419200010 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190418200030 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190417200018 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190416200048 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190415200032 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190414200028 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190413200059 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190412200021 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190411200023 supply/lib/supply/reader.rb
fastlane-2.121.0.beta.20190410200018 supply/lib/supply/reader.rb
fastlane-2.120.0 supply/lib/supply/reader.rb
fastlane-2.120.0.beta.20190409200021 supply/lib/supply/reader.rb
fastlane-2.120.0.beta.20190408200017 supply/lib/supply/reader.rb
fastlane-2.120.0.beta.20190407200059 supply/lib/supply/reader.rb
fastlane-2.120.0.beta.20190406200021 supply/lib/supply/reader.rb
fastlane-2.120.0.beta.20190405200012 supply/lib/supply/reader.rb
fastlane-2.120.0.beta.20190404200009 supply/lib/supply/reader.rb