Sha256: 5e30e6a97cda3645bc983d8de75e5dca40a339a6ac0b0ffbb101c1adbae7476a

Contents?: true

Size: 431 Bytes

Versions: 11

Compression:

Stored size: 431 Bytes

Contents

module Rebuild
  module Version
    def self.retrieve_info
      git_ver_script = File.expand_path("../../../tools/version.rb", __FILE__)
      if File.exists?( git_ver_script )
        require git_ver_script
        rbld_version
      else
        File.read(File.expand_path("../data/version", __FILE__))
      end
    end

    private_class_method :retrieve_info

    def self.info
      @ver ||= retrieve_info
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rbld-1.3.8 cli/lib/rbld_verinfo.rb
rbld-1.3.7 cli/lib/rbld_verinfo.rb
rbld-1.3.6 cli/lib/rbld_verinfo.rb
rbld-1.3.5 cli/lib/rbld_verinfo.rb
rbld-1.3.4 cli/lib/rbld_verinfo.rb
rbld-1.3.3 cli/lib/rbld_verinfo.rb
rbld-1.3.2 cli/lib/rbld_verinfo.rb
rbld-1.3.1 cli/lib/rbld_verinfo.rb
rbld-1.3.0 cli/lib/rbld_verinfo.rb
rbld-1.2.0 cli/lib/rbld_verinfo.rb
rbld-1.1.0 cli/lib/rbld_verinfo.rb