Permalink
Browse files

Switching to version constant and bumping for next release.

  • Loading branch information...
1 parent 9660ebc commit 6c96e83ad69f0f475cbd2c948fbd528c42a6ae16 @jnunemaker jnunemaker committed Mar 9, 2010
Showing with 7 additions and 1 deletion.
  1. +3 −0 Rakefile
  2. +0 −1 VERSION
  3. +1 −0 lib/mongo_mapper.rb
  4. +3 −0 lib/mongo_mapper/version.rb
View
@@ -2,12 +2,15 @@ require 'rubygems'
require 'rake'
require 'jeweler'
+require File.dirname(__FILE__) + '/lib/mongo_mapper/version'
+
Jeweler::Tasks.new do |gem|
gem.name = "mongo_mapper"
gem.summary = %Q{A Ruby Object Mapper for Mongo}
gem.email = "nunemaker@gmail.com"
gem.homepage = "http://github.com/jnunemaker/mongomapper"
gem.authors = ["John Nunemaker"]
+ gem.version = MongoMapper::Version
gem.add_dependency('activesupport', '>= 2.3')
gem.add_dependency('mongo', '0.19.1')
View
@@ -1 +0,0 @@
-0.7.0
View
@@ -131,6 +131,7 @@ def self.normalize_object_id(value)
autoload :Query, 'mongo_mapper/query'
autoload :Document, 'mongo_mapper/document'
autoload :EmbeddedDocument, 'mongo_mapper/embedded_document'
+ autoload :Version, 'mongo_mapper/version'
end
require 'mongo_mapper/support'
@@ -0,0 +1,3 @@
+module MongoMapper
+ Version = '0.7.1'
+end

0 comments on commit 6c96e83

Please sign in to comment.