Version strings.
This commit is contained in:
parent
09e8b609b6
commit
e3fafb6e6d
|
@ -207,3 +207,18 @@ module Mime
|
||||||
LOOKUP["text/html"] = HTML
|
LOOKUP["text/html"] = HTML
|
||||||
LOOKUP["application/xhtml+xml"] = XHTML
|
LOOKUP["application/xhtml+xml"] = XHTML
|
||||||
end
|
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 %>
|
<% if @show_footer %>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div>This site is running on <a href="http://instiki.org/">Instiki</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></div>
|
<div>Powered by <a href="http://rubyonrails.com/">Ruby on Rails</a> <%= "#{Rails::VERSION::STRING}" %></div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue