diff --git a/bin/togify b/bin/togify index fc5b0dc..ec00cc7 100644 --- a/bin/togify +++ b/bin/togify @@ -5,7 +5,7 @@ require 'rubigen' if %w(-v --version).include? ARGV.first require 'tog/version' - puts "#{File.basename($0)} #{Tog::VERSION::STRING}" + puts "#{File.basename($0)} #{Tog::Version::STRING}" exit(0) end diff --git a/config/hoe.rb b/config/hoe.rb index 58893f4..8704f25 100644 --- a/config/hoe.rb +++ b/config/hoe.rb @@ -10,13 +10,14 @@ EXTRA_DEPENDENCIES = [ ['mislav-will_paginate', '>= 2.3.2'], ['rubigen', '>= 1.3.2'], - ['tog-desert', '>= 0.3.4'] + ['tog-desert', '>= 0.3.4'], + ['RedCloth', '>= 3.0.4'] ] REV = nil # UNCOMMENT IF REQUIRED: # REV = YAML.load(`svn info`)['Revision'] -VERS = Tog::VERSION::STRING + (REV ? ".#{REV}" : "") +VERS = Tog::Version::STRING + (REV ? ".#{REV}" : "") class Hoe def extra_deps diff --git a/lib/tog/version.rb b/lib/tog/version.rb index e4ec436..64bed33 100644 --- a/lib/tog/version.rb +++ b/lib/tog/version.rb @@ -1,18 +1,19 @@ module Tog - module VERSION #:nodoc: + module Version MAJOR = 0 MINOR = 2 - TINY = 1 - # http://en.wikipedia.org/wiki/Moons_of_Jupiter - CODENAME = 'Adrastea' + TINY = 8 + MODULE = 'Adrastea' STRING = [MAJOR, MINOR, TINY].join('.') - + class << self def to_s - "#{CODENAME} #{STRING}" + STRING + end + def full_version + "#{MODULE} #{STRING}" end alias :to_str :to_s end - end end \ No newline at end of file