mongoid-crud 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/examples/create.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c411a601601a1afaa01eb15643ccbe2fcd3a69af
|
4
|
+
data.tar.gz: 77f8d87b6340e12c103df514326f286e038e790f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc3870be623bab71c6dbf223c43af363eed5fa39b0dd29a5893d5f055d6d56f6eacda338e7f0e20ce2240151453f1c234f165c4176e6dbf720d1e23fdaf5a620
|
7
|
+
data.tar.gz: 5689025572e9f2b6955bcfee733a38d0434103d92bfe120b2644731944a3d3c0d35e879cc6e77a1f9fed6b4086dead232b6141257373db56fef85e40138746ba
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.1
|
data/examples/create.rb
CHANGED
@@ -9,7 +9,6 @@ test_c= TestC.__create__( hello: "embeds one", parent_id: test_a['_id'] )
|
|
9
9
|
test_d= TestD.__create__( hello: "embeds many in embeded one", parent_id: test_c['_id'] )
|
10
10
|
|
11
11
|
#> puts into json
|
12
|
-
puts TestA._read( _id: test_a['_id'] )
|
13
12
|
|
14
13
|
# [{"_id":"536b298b241548e55a000001","created_at":"2014-05-08T08:51:55+02:00","hello":"world","test_b":[{"_id":"536b298b241548e55a000002","created_at":"2014-05-08T08:51:55+02:00","hello":"world","updated_at":"2014-05-08T08:51:55+02:00","world":"no"}],"test_c":{"_id":"536b298b241548e55a000003","created_at":"2014-05-08T08:51:55+02:00","hello":"embeds one","updated_at":"2014-05-08T08:51:55+02:00"},"updated_at":"2014-05-08T08:51:55+02:00"}]
|
15
14
|
|