Module: Thingfish

Extended by:
Loggability
Defined in:
lib/thingfish.rb,
lib/thingfish/mixins.rb

Overview

Network-accessable datastore service

Defined Under Namespace

Modules: Normalization, SpecHelpers Classes: Datastore, Handler, Metastore, Processor

Constant Summary collapse

VERSION =

Package version

'0.7.0'
REVISION =

Version control revision

%q$Revision: c8bfee4b3f80 $

Class Method Summary collapse

Class Method Details

.version_string(include_buildnum = false) ⇒ Object

Get the library version. If include_buildnum is true, the version string will include the VCS rev ID.



23
24
25
26
27
# File 'lib/thingfish.rb', line 23

def self::version_string( include_buildnum=false )
	vstring = "%s %s" % [ self.name, VERSION ]
	vstring << " (build %s)" % [ REVISION[/: ([[:xdigit:]]+)/, 1] || '0' ] if include_buildnum
	return vstring
end