mongodb_model 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/readme.md +3 -1
- metadata +2 -2
data/readme.md
CHANGED
|
@@ -3,10 +3,12 @@ Object Model for MongoDB (callbacks, validations, mass-assignment, finders, ...)
|
|
|
3
3
|
- The same API for pure driver and Models.
|
|
4
4
|
- Minimum extra abstractions, trying to keep things as close to the MongoDB semantic as possible.
|
|
5
5
|
- Schema-less, dynamic (with ability to specify types for mass-assignment).
|
|
6
|
-
- Models can be saved to any collection.
|
|
6
|
+
- Models can be saved to any collection, dynamically.
|
|
7
7
|
- Full support for embedded objects (validations, callbacks, ...).
|
|
8
8
|
- Scope, default_scope
|
|
9
9
|
- Doesn't try to mimic ActiveRecord, MongoDB is differrent and this tool designed to get most of it.
|
|
10
|
+
- Works with multiple connections and databases.
|
|
11
|
+
- Associations.
|
|
10
12
|
- Very small, see [code stats][code_stats].
|
|
11
13
|
|
|
12
14
|
Other ODM usually try to cover simple but non-standard API of MongoDB behind complex ORM-like abstractions. This tool **exposes simplicity and power of MongoDB and leverages it's differences**.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mongodb_model
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2011-09-
|
|
12
|
+
date: 2011-09-03 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: i18n
|