From a09b202e8321717921ff729d4a1233770fd52be4 Mon Sep 17 00:00:00 2001 From: Nicholas Seckar Date: Sat, 1 Apr 2006 05:49:19 +0000 Subject: Make Rails::VERSION implicitly loadable. Closes #4491. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/CHANGELOG | 2 ++ railties/lib/rails/version.rb | 9 +++++++++ railties/lib/rails_version.rb | 9 --------- 3 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 railties/lib/rails/version.rb delete mode 100644 railties/lib/rails_version.rb diff --git a/railties/CHANGELOG b/railties/CHANGELOG index 3e661e527b..6abdbf8347 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Make Rails::VERSION implicitly loadable. Closes #4491. [Nicholas Seckar] + * Teach Rails apps to only load gems of the same Rails version they were generated with. [Nicholas Seckar] * Added expiration settings for JavaScript, CSS, HTML, and images to default lighttpd.conf [DHH] diff --git a/railties/lib/rails/version.rb b/railties/lib/rails/version.rb new file mode 100644 index 0000000000..d48ace3a20 --- /dev/null +++ b/railties/lib/rails/version.rb @@ -0,0 +1,9 @@ +module Rails + module VERSION #:nodoc: + MAJOR = 1 + MINOR = 1 + TINY = 0 + + STRING = [MAJOR, MINOR, TINY].join('.') + end +end diff --git a/railties/lib/rails_version.rb b/railties/lib/rails_version.rb deleted file mode 100644 index d48ace3a20..0000000000 --- a/railties/lib/rails_version.rb +++ /dev/null @@ -1,9 +0,0 @@ -module Rails - module VERSION #:nodoc: - MAJOR = 1 - MINOR = 1 - TINY = 0 - - STRING = [MAJOR, MINOR, TINY].join('.') - end -end -- cgit v1.2.3