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.134.0 supply/lib/supply/reader.rb
fastlane-2.133.0 supply/lib/supply/reader.rb
fastlane-2.132.0 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190930200026 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190929200020 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190928200106 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190927200017 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190926200023 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190925200108 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190924200030 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190923200017 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190922200014 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190921200021 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190920200012 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190919200100 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190918200023 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190917200011 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190916200055 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190915200038 supply/lib/supply/reader.rb
fastlane-2.132.0.beta.20190914200034 supply/lib/supply/reader.rb