diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-08-31 19:09:16 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-08-31 19:09:16 -0500 |
commit | 66d713fc8f62e270ac21f6c413d6527fbf30dc52 (patch) | |
tree | b88eabf7f5a2a93c4e7418728d952aacbbf08538 /activemodel/lib | |
parent | ffd2cf167040b60c26d97c01598560c87bd4b2d3 (diff) | |
download | rails-66d713fc8f62e270ac21f6c413d6527fbf30dc52.tar.gz rails-66d713fc8f62e270ac21f6c413d6527fbf30dc52.tar.bz2 rails-66d713fc8f62e270ac21f6c413d6527fbf30dc52.zip |
License, version, and gemspec for ActiveModel. Ship it!
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model.rb | 1 | ||||
-rw-r--r-- | activemodel/lib/active_model/version.rb | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/activemodel/lib/active_model.rb b/activemodel/lib/active_model.rb index 5bb931be7f..67f529262d 100644 --- a/activemodel/lib/active_model.rb +++ b/activemodel/lib/active_model.rb @@ -41,6 +41,7 @@ module ActiveModel autoload :TestCase, 'active_model/test_case' autoload :Validations, 'active_model/validations' autoload :ValidationsRepairHelper, 'active_model/validations_repair_helper' + autoload :VERSION, 'active_model/version' module Serializers autoload :JSON, 'active_model/serializers/json' diff --git a/activemodel/lib/active_model/version.rb b/activemodel/lib/active_model/version.rb new file mode 100644 index 0000000000..0c233b7b4f --- /dev/null +++ b/activemodel/lib/active_model/version.rb @@ -0,0 +1,9 @@ +module ActiveModel + module VERSION #:nodoc: + MAJOR = 3 + MINOR = 0 + TINY = "pre" + + STRING = [MAJOR, MINOR, TINY].join('.') + end +end |