mongo_db 0.1.7 → 0.1.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 +2 -2
- metadata +3 -3
data/readme.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object Model & Ruby driver enhancements for MongoDB.
|
|
2
2
|
|
|
3
3
|
1. Driver enchancements
|
|
4
|
-
2. Persistence for
|
|
4
|
+
2. Persistence for any Ruby object
|
|
5
5
|
3. Object Model (callbacks, validations, mass-assignment, finders, ...) (work in progress)
|
|
6
6
|
|
|
7
7
|
Lower layers are completely independent from upper, use only what You need. There are also support for migrations.
|
|
@@ -62,7 +62,7 @@ db.units.all 'stats.life' => {_lt: 100} # => [tassadar]
|
|
|
62
62
|
More docs - there's no need for more docs, the whole point of this extension is to be small, intuitive, 100% compatible with the official driver, and require no extra knowledge.
|
|
63
63
|
So, please use standard Ruby driver documentation.
|
|
64
64
|
|
|
65
|
-
# Persistence for
|
|
65
|
+
# Persistence for any Ruby object
|
|
66
66
|
|
|
67
67
|
Save any Ruby object to MongoDB, as if it's a document. Objects can be any type, simple or composite with other objects / arrays / hashes inside.
|
|
68
68
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mongo_db
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2011-08-14 00:00:00.000000000Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: mongo
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &2844700 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ~>
|
|
@@ -21,7 +21,7 @@ dependencies:
|
|
|
21
21
|
version: '1.3'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *2844700
|
|
25
25
|
description:
|
|
26
26
|
email:
|
|
27
27
|
executables: []
|