Sha256: 0e57b8aa494d1f5a2a2b84011ea020603aed7e0ca67307af1838f39b1c8c2509
Contents?: true
Size: 810 Bytes
Versions: 23
Compression:
Stored size: 810 Bytes
Contents
require 'json' require 'cocoapods-tdfire-binary/binary_url_manager' module Pod class Command class Binary < Command class List < Binary self.abstract_command = false self.summary = '查看所有二进制版本信息' self.description = <<-DESC 查看所有二进制版本信息 DESC def initialize(argv) super end def validate! super end def run result = Pod::Tdfire::BinaryUrlManager.list_binary pods = JSON.parse(result) unless result.nil? pods ||= [] pods.sort.each do |pod, versions| UI.puts " #{pod + " " + versions.last}\n" end UI.puts "\n#{pods.keys.count} pods were found" end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems