Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
39c19958
Commit
39c19958
authored
Mar 27, 2011
by
Eric Davis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#308
] Remove Redmine::VERSION::BRANCH
parent
04361864
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
version.rb
lib/redmine/version.rb
+1
-9
No files found.
lib/redmine/version.rb
View file @
39c19958
...
...
@@ -7,14 +7,6 @@ module Redmine
PATCH
=
0
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
revision
=
nil
entries_path
=
"
#{
RAILS_ROOT
}
/.svn/entries"
...
...
@@ -37,7 +29,7 @@ module Redmine
end
REVISION
=
self
.
revision
ARRAY
=
[
MAJOR
,
MINOR
,
PATCH
,
BRANCH
,
REVISION
].
compact
ARRAY
=
[
MAJOR
,
MINOR
,
PATCH
,
REVISION
].
compact
STRING
=
ARRAY
.
join
(
'.'
)
def
self
.
to_a
;
ARRAY
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment