Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Switching to version constant and bumping for next release.

  • Loading branch information...
commit 6c96e83ad69f0f475cbd2c948fbd528c42a6ae16 1 parent 9660ebc
John Nunemaker jnunemaker authored
3  Rakefile
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')
1  VERSION
View
@@ -1 +0,0 @@
-0.7.0
1  lib/mongo_mapper.rb
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'
3  lib/mongo_mapper/version.rb
View
@@ -0,0 +1,3 @@
+module MongoMapper
+ Version = '0.7.1'
+end
Please sign in to comment.
Something went wrong with that request. Please try again.