Top Level Namespace
Defined Under Namespace
Modules: Rmobio Classes: Geocode, Messaging, Platform, Registration, Rss
Constant Summary
Constants included from Rmobio::ConfigManager
Rmobio::ConfigManager::EXTERNAL_CONTEXT_PROP, Rmobio::ConfigManager::MOBIO_CONFIG
Instance Method Summary collapse
-
#get_version ⇒ Object
BEGIN CRUISE SECTION.
Methods included from Rmobio::ConfigManager
Methods included from Rmobio::ClientInfo
#checkClient, #getDeviceAttrValue, #get_device_info, #paramsFromXml
Methods included from Rmobio::Utils
#backURL, #backurl_xml, #cacheControl, #cacheimg, #cacheloader, get_domain, #logHeaders
Methods included from Rmobio::Auth
#authorize, #get_msisdn, #get_user_attributes
Instance Method Details
#get_version ⇒ Object
BEGIN CRUISE SECTION
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/rmobio/raketasks.rb', line 32 def get_version if not defined? PKG_VERSION @version = `svnversion #{RAILS_ROOT}` if @version.nil? || @version == 'exported' @version = '1.0.0' else @version =~ /([0-9]+)/ @version = $1 if @version.nil? @version = '1.0.0' else @version = '1.0.' + @version end end else @version = PKG_VERSION end @version end |