Sha256: 7eb0f720d690f3e028e676ce280b6fa2d6bbf19bda40ad8ccf103aa584042712

Contents?: true

Size: 496 Bytes

Versions: 24

Compression:

Stored size: 496 Bytes

Contents

module SPARQL
  module VERSION
    VERSION_FILE = File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "VERSION")
    MAJOR, MINOR, TINY, EXTRA = File.read(VERSION_FILE).chomp.split(".")

    STRING = [MAJOR, MINOR, TINY, EXTRA].compact.join('.')

    ##
    # @return [String]
    def self.to_s() STRING end

    ##
    # @return [String]
    def self.to_str() STRING end

    ##
    # @return [Array(Integer, Integer, Integer)]
    def self.to_a() [MAJOR, MINOR, TINY] end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
sparql-1.99.1 lib/sparql/version.rb
sparql-1.1.9.1 lib/sparql/version.rb
sparql-1.99.0 lib/sparql/version.rb
sparql-1.1.9 lib/sparql/version.rb
sparql-1.1.8 lib/sparql/version.rb
sparql-1.1.7 lib/sparql/version.rb
sparql-1.1.6 lib/sparql/version.rb
sparql-1.1.5 lib/sparql/version.rb
sparql-1.1.4 lib/sparql/version.rb
sparql-1.1.3 lib/sparql/version.rb
sparql-1.1.2.1 lib/sparql/version.rb
sparql-1.1.2 lib/sparql/version.rb
sparql-1.1.1 lib/sparql/version.rb
sparql-1.1.0 lib/sparql/version.rb
sparql-1.1.0p0 lib/sparql/version.rb
sparql-1.0.8 lib/sparql/version.rb
sparql-1.0.7 lib/sparql/version.rb
sparql-1.0.6 lib/sparql/version.rb
sparql-1.0.5 lib/sparql/version.rb
sparql-1.0.4 lib/sparql/version.rb