forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reverts changes to Rails.version made in rails#8501
- Loading branch information
Charlie Somerville
committed
Mar 30, 2013
1 parent
022ed6c
commit ceb3b87
Showing
3 changed files
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
module Rails | ||
# Returns the version of the currently loaded Rails as a Gem::Version | ||
def self.version | ||
Gem::Version.new "4.0.0.beta1" | ||
end | ||
module VERSION | ||
MAJOR = 4 | ||
MINOR = 0 | ||
TINY = 0 | ||
PRE = "beta1" | ||
|
||
module VERSION #:nodoc: | ||
MAJOR, MINOR, TINY, PRE = Rails.version.segments | ||
STRING = Rails.version.to_s | ||
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
module Rails | ||
def self.version | ||
Gem::Version.new "4.0.0.beta1" | ||
end | ||
module VERSION | ||
MAJOR = 4 | ||
MINOR = 0 | ||
TINY = 0 | ||
PRE = "beta1" | ||
|
||
module VERSION #:nodoc: | ||
MAJOR, MINOR, TINY, PRE = Rails.version.segments | ||
STRING = Rails.version.to_s | ||
STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") | ||
end | ||
end |