Version strings.
This commit is contained in:
parent
09e8b609b6
commit
e3fafb6e6d
2 changed files with 17 additions and 2 deletions
|
@ -207,3 +207,18 @@ module Mime
|
|||
LOOKUP["text/html"] = HTML
|
||||
LOOKUP["application/xhtml+xml"] = XHTML
|
||||
end
|
||||
|
||||
module Instiki
|
||||
module VERSION #:nodoc:
|
||||
MAJOR = 0
|
||||
MINOR = 12
|
||||
TINY = 0
|
||||
SUFFIX = '(MML+)'
|
||||
PRERELEASE = 'pre' # false
|
||||
if PRERELEASE
|
||||
STRING = [MAJOR, MINOR].join('.') + PRERELEASE + SUFFIX
|
||||
else
|
||||
STRING = [MAJOR, MINOR, TINY].join('.') + SUFFIX
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -66,8 +66,8 @@
|
|||
|
||||
<% if @show_footer %>
|
||||
<div id="footer">
|
||||
<div>This site is running on <a href="http://instiki.org/">Instiki</a></div>
|
||||
<div>Powered by <a href="http://rubyonrails.com/">Ruby on Rails</a></div>
|
||||
<div>This site is running on <a href="http://instiki.org/">Instiki</a> <%= "#{Instiki::VERSION::STRING}" %></div>
|
||||
<div>Powered by <a href="http://rubyonrails.com/">Ruby on Rails</a> <%= "#{Rails::VERSION::STRING}" %></div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
|
Loading…
Reference in a new issue