diff options
Diffstat (limited to 'version.rb')
-rw-r--r-- | version.rb | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/version.rb b/version.rb index 923cab4e2a..7d74b1bfe5 100644 --- a/version.rb +++ b/version.rb @@ -1,9 +1,14 @@ module Rails + # Returns the version of the currently loaded Rails as a <tt>Gem::Version</tt> + def self.gem_version + Gem::Version.new VERSION::STRING + end + module VERSION - MAJOR = 4 - MINOR = 1 + MAJOR = 5 + MINOR = 0 TINY = 0 - PRE = "beta1" + PRE = "alpha" STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".") end |