Module: Taps

Defined in:
lib/taps/cli.rb,
lib/taps/utils.rb,
lib/taps/config.rb,
lib/taps/schema.rb,
lib/taps/server.rb,
lib/taps/adapter_hacks.rb,
lib/taps/client_session.rb

Defined Under Namespace

Modules: AdapterHacks, Schema, Utils Classes: Cli, ClientSession, Config, Server

Class Method Summary collapse

Class Method Details

.compatible_versionObject



13
14
15
# File 'lib/taps/config.rb', line 13

def self.compatible_version
	"#{version_yml[:major]}.#{version_yml[:minor]}"
end

.versionObject



9
10
11
# File 'lib/taps/config.rb', line 9

def self.version
	"#{version_yml[:major]}.#{version_yml[:minor]}.#{version_yml[:patch]}"
end

.version_ymlObject



5
6
7
# File 'lib/taps/config.rb', line 5

def self.version_yml
	@@version_yml ||= YAML.load(File.read(File.dirname(__FILE__) + '/../../VERSION.yml'))
end