[#308] Remove Redmine::VERSION::BRANCH
This commit is contained in:
parent
04361864a7
commit
39c19958d7
|
@ -7,14 +7,6 @@ module Redmine
|
||||||
PATCH = 0
|
PATCH = 0
|
||||||
TINY = PATCH # Redmine compat
|
TINY = PATCH # Redmine compat
|
||||||
|
|
||||||
# Branches:
|
|
||||||
# * stable - released version
|
|
||||||
# * master - stable development
|
|
||||||
# * unstable - future development
|
|
||||||
#
|
|
||||||
# Source: https://www.chiliproject.org/projects/chiliproject/wiki/ChiliProject_Repository
|
|
||||||
BRANCH = 'master'
|
|
||||||
|
|
||||||
def self.revision
|
def self.revision
|
||||||
revision = nil
|
revision = nil
|
||||||
entries_path = "#{RAILS_ROOT}/.svn/entries"
|
entries_path = "#{RAILS_ROOT}/.svn/entries"
|
||||||
|
@ -37,7 +29,7 @@ module Redmine
|
||||||
end
|
end
|
||||||
|
|
||||||
REVISION = self.revision
|
REVISION = self.revision
|
||||||
ARRAY = [MAJOR, MINOR, PATCH, BRANCH, REVISION].compact
|
ARRAY = [MAJOR, MINOR, PATCH, REVISION].compact
|
||||||
STRING = ARRAY.join('.')
|
STRING = ARRAY.join('.')
|
||||||
|
|
||||||
def self.to_a; ARRAY end
|
def self.to_a; ARRAY end
|
||||||
|
|
Loading…
Reference in New Issue