Sha256: 1c962ee0c6e9c9d8bafa8293d8a9fdb76c3e79571ea1260e8ae5b5ea3b2d2c8d

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 Bytes

Contents

TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..")) unless defined? TRUSTY_CMS_ROOT

unless defined? TrustyCms::Version
  module TrustyCms
    module Version
      Major = '1'
      Minor = '1'
      Tiny  = '11'
      Patch = nil # set to nil for normal release

      class << self
        def to_s
          [Major, Minor, Tiny, Patch].delete_if{|v| v.nil? }.join('.')
        end
        alias :to_str :to_s
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trusty-cms-1.1.11 lib/trusty_cms.rb