Sha256: 4c86a48136972dcc98d0c6cd1adabc02a75b6fb8e48de76618a57c22b0b758f7

Contents?: true

Size: 806 Bytes

Versions: 2

Compression:

Stored size: 806 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# GoodData Module
module GoodData
  VERSION = File.open('SDK_VERSION') { |f| f.readline.strip }
  BRICKS_VERSION = File.open('VERSION') { |f| f.readline.strip }

  class << self
    # SDK version
    # @return SDK version
    def version
      VERSION
    end

    alias_method :sdk_version, :version

    # LCM bricks version
    # @return brick version
    def bricks_version
      BRICKS_VERSION
    end

    # Identifier of gem version
    # @return Formatted gem version
    def gem_version_string
      "gooddata-gem/#{VERSION}/#{RUBY_PLATFORM}/#{RUBY_VERSION}"
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gooddata-1.3.5-java lib/gooddata/version.rb
gooddata-1.3.5 lib/gooddata/version.rb