Permalink
Browse files

orm_adapter 0.0.5 supports Mongo Mapper

  • Loading branch information...
1 parent a9af070 commit 6b406c9c300c4507de668ba1f2e211167a4015ab @ianwhite ianwhite committed May 9, 2011
Showing with 11 additions and 4 deletions.
  1. +5 −0 History.txt
  2. +5 −3 README.rdoc
  3. +1 −1 lib/orm_adapter/version.rb
View
@@ -1,3 +1,8 @@
+== 0.0.5
+
+ * Adds Mongo Mapper adapter [Luke Cunningham]
+
+
== 0.0.4
* Adds ability to order results from #find_first and #find_all [Ian White]
View
@@ -7,7 +7,7 @@ Provides a single point of entry for popular ruby ORMs. Its target audience is
require 'orm_adapter'
- User # is it an ActiveRecord, DM Resource, or MongoId Document?
+ User # is it an ActiveRecord, DM Resource, MongoMapper or MongoId Document?
User.to_adapter.find_first :name => 'Fred' # we don't care!
@@ -22,9 +22,9 @@ Provides a single point of entry for popular ruby ORMs. Its target audience is
== Supported ORMs
-Currently supported ORMs are *ActiveRecord*, *DataMapper* and *MongoId*.
+Currently supported ORMs are *ActiveRecord*, *DataMapper*, *MongoMapper*, and *MongoId*.
-We welcome you to write new adapters as gems. ORM Adapter will stay focused in having these three major ORMs working.
+We welcome you to write new adapters as gems. ORM Adapter will stay focused in having these major ORMs working.
To write an adapter look at <tt>lib/orm_adapter/adapters/active_record.rb</tt> for an example of implementation. To see how to test it, look at <tt>spec/orm_adapter/example_app_shared.rb</tt>, <tt>spec/orm_adapter/adapters/active_record_spec.rb</tt>. You'll need to require the target ORM in <tt>spec/spec_helper.rb</tt>
@@ -52,6 +52,8 @@ orm_adapter is an extraction from {pickle}[http://github.com/ianwhite/pickle] by
{José Valim}[http://github.com/josevalim] suggested the extraction, and worked on the first release with Ian.
+{Luke Cunningham}[http://github.com/icaruswings] contributes the Mongo Mapper adapter.
+
== Development
@@ -1,3 +1,3 @@
module OrmAdapter
- VERSION = "0.0.4"
+ VERSION = "0.0.5"
end

0 comments on commit 6b406c9

Please sign in to comment.