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.12.1 ./lib/shenzhen/agvtool.rb
shenzhen-0.12.0 ./lib/shenzhen/agvtool.rb
shenzhen-0.11.2 ./lib/shenzhen/agvtool.rb
shenzhen-0.11.0 ./lib/shenzhen/agvtool.rb
shenzhen-0.10.3 ./lib/shenzhen/agvtool.rb
shenzhen-0.10.2 ./lib/shenzhen/agvtool.rb
shenzhen-0.10.1 ./lib/shenzhen/agvtool.rb
shenzhen-0.10.0 ./lib/shenzhen/agvtool.rb
shenzhen-0.9.0 ./lib/shenzhen/agvtool.rb
shenzhen-0.8.2 ./lib/shenzhen/agvtool.rb
shenzhen-0.7.1 ./lib/shenzhen/agvtool.rb
shenzhen-0.7.0 ./lib/shenzhen/agvtool.rb
shenzhen-0.6.1 ./lib/shenzhen/agvtool.rb
shenzhen-0.6.0 ./lib/shenzhen/agvtool.rb
shenzhen-0.5.4 ./lib/shenzhen/agvtool.rb
shenzhen-0.5.3 ./lib/shenzhen/agvtool.rb
shenzhen-0.5.2 ./lib/shenzhen/agvtool.rb
shenzhen-0.5.1 ./lib/shenzhen/agvtool.rb
shenzhen-0.5.0 ./lib/shenzhen/agvtool.rb
shenzhen-0.4.0 ./lib/shenzhen/agvtool.rb