added Redmine::VERSION module
git-svn-id: http://redmine.rubyforge.org/svn/trunk@170 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4ccbc65628
commit
bd3458da6e
|
@ -1,6 +1,6 @@
|
||||||
<h2><%=l(:label_information_plural)%></h2>
|
<h2><%=l(:label_information_plural)%></h2>
|
||||||
|
|
||||||
<p><%=l(:field_version)%>: <strong><%= RDM_APP_NAME %> <%= RDM_APP_VERSION %></strong></p>
|
<p><%=l(:field_version)%>: <strong>redMine <%= Redmine::VERSION %></strong></p>
|
||||||
|
|
||||||
<%=l(:label_environment)%>:
|
<%=l(:label_environment)%>:
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<p><a href="http://redmine.rubyforge.org/"><%= RDM_APP_NAME %></a> <%= RDM_APP_VERSION %></p>
|
<p><a href="http://redmine.rubyforge.org/">redMine</a> <%= Redmine::VERSION %> © 2006-2007 Jean-Philippe Lang</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -59,25 +59,6 @@ Rails::Initializer.run do |config|
|
||||||
config.action_mailer.delivery_method = :smtp
|
config.action_mailer.delivery_method = :smtp
|
||||||
end
|
end
|
||||||
|
|
||||||
# Add new inflection rules using the following format
|
|
||||||
# (all these examples are active by default):
|
|
||||||
# Inflector.inflections do |inflect|
|
|
||||||
# inflect.plural /^(ox)$/i, '\1en'
|
|
||||||
# inflect.singular /^(ox)en/i, '\1'
|
|
||||||
# inflect.irregular 'person', 'people'
|
|
||||||
# inflect.uncountable %w( fish sheep )
|
|
||||||
# end
|
|
||||||
|
|
||||||
# IMPORTANT !!! DO NOT MODIFY PARAMETERS HERE
|
|
||||||
# Instead, rename config_custom.example.rb to config_custom.rb
|
|
||||||
# and set your own configuration in that file
|
|
||||||
# Parameters defined in config_custom.rb override those defined below
|
|
||||||
|
|
||||||
# application name
|
|
||||||
RDM_APP_NAME = "redMine"
|
|
||||||
# application version
|
|
||||||
RDM_APP_VERSION = "0.4.1"
|
|
||||||
|
|
||||||
ActiveRecord::Errors.default_error_messages = {
|
ActiveRecord::Errors.default_error_messages = {
|
||||||
:inclusion => "activerecord_error_inclusion",
|
:inclusion => "activerecord_error_inclusion",
|
||||||
:exclusion => "activerecord_error_exclusion",
|
:exclusion => "activerecord_error_exclusion",
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
module Redmine
|
||||||
|
module VERSION #:nodoc:
|
||||||
|
MAJOR = 0
|
||||||
|
MINOR = 4
|
||||||
|
TINY = 2
|
||||||
|
|
||||||
|
STRING= [MAJOR, MINOR, TINY].join('.')
|
||||||
|
|
||||||
|
def self.to_s; STRING end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue