Sha256: 8e45d1fe34a3965965abcaeb8d0ce4bca5fadddae59b281d9a2b51cb13acc185

Contents?: true

Size: 387 Bytes

Versions: 51

Compression:

Stored size: 387 Bytes

Contents

module Shenzhen::Agvtool
  class << self
    def what_version
      output = `agvtool what-version -terse`
      output.length > 0 ? output : nil
    end
    
    alias :vers :what_version
    
    def what_marketing_version
      output = `agvtool what-marketing-version -terse`
      output.scan(/\=(.+)$/).flatten.first
    end
    
    alias :mvers :what_marketing_version
  end
end

Version data entries

51 entries across 51 versions & 3 rubygems

Version Path
shenzhen-0.14.3 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.11 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.10 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.9 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.8 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.7 ./lib/shenzhen/agvtool.rb
shenzhen_fir-0.14.6 ./lib/shenzhen/agvtool.rb
shenzhen_fir-0.14.5 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.6 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.5 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.4 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.3 ./lib/shenzhen/agvtool.rb
shenzhen-0.14.2 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.2 ./lib/shenzhen/agvtool.rb
krausefx-shenzhen-0.14.1 ./lib/shenzhen/agvtool.rb
shenzhen-0.14.1 ./lib/shenzhen/agvtool.rb
shenzhen-0.14.0 ./lib/shenzhen/agvtool.rb
shenzhen-0.13.2 ./lib/shenzhen/agvtool.rb
shenzhen-0.13.1 ./lib/shenzhen/agvtool.rb
shenzhen-0.13.0 ./lib/shenzhen/agvtool.rb