Skip to content

Commit

Permalink
Switching to version constant and bumping for next release.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Mar 9, 2010
1 parent 9660ebc commit 6c96e83
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Rakefile
Expand Up @@ -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')
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

1 change: 1 addition & 0 deletions lib/mongo_mapper.rb
Expand Up @@ -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'
Expand Down
3 changes: 3 additions & 0 deletions lib/mongo_mapper/version.rb
@@ -0,0 +1,3 @@
module MongoMapper
Version = '0.7.1'
end

0 comments on commit 6c96e83

Please sign in to comment.