simply_mongo 0.0.7 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/lib/simply_mongo/version.rb +1 -1
- data/test/enterprise/Gemfile.lock +36 -35
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2160ecc98c2668b2876da76fc3c0721c12b7b57
|
4
|
+
data.tar.gz: 4bdbdc5a5a149915e533f056ce53b1cd30dcfd02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fc1f087cee8b5dfb2a83ba9688a284776537906ec002bdf83d9c15fdec0af7cfd1354287c57dd2c5a3d47f3b23b5baf90cef2adcb064851e5515dcec95d4ff0
|
7
|
+
data.tar.gz: 198024fe1ea45da445364fe9f3be46b946c70ed654b838089a1e8269f22acd01f6f9192e3a3185b66d7475408fe671b1a07e55b1ab1c95bf6f3f57a6a3810bcc
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![Gem Version][GV img]][Gem Version]
|
4
4
|
[![Build Status][BS img]][Build Status]
|
5
5
|
[![Dependency Status][DS img]][Dependency Status]
|
6
|
-
[![Coverage Status][CS img]][Coverage Status]
|
6
|
+
<!-- [![Coverage Status][CS img]][Coverage Status] -->
|
7
7
|
|
8
8
|
|
9
9
|
This project uses an MIT-LICENSE.
|
@@ -26,8 +26,7 @@ A simple controller example of adding a document to a collection
|
|
26
26
|
|
27
27
|
e = params[:enterprise] # extract the JSON document
|
28
28
|
ec = SimplyMongo.db['CollectionName'] # get reference to collection
|
29
|
-
|
30
|
-
e[:_id] = id
|
29
|
+
e[:_id] = BSON::ObjectId.new
|
31
30
|
ec.insert(e) # stuff document into collection
|
32
31
|
|
33
32
|
## Simple JSON Document
|
@@ -138,4 +137,4 @@ For example:
|
|
138
137
|
[GV img]: https://badge.fury.io/rb/simply_mongo.png
|
139
138
|
[BS img]: https://travis-ci.org/robdbirch/simply_mongo.png
|
140
139
|
[DS img]: https://gemnasium.com/robdbirch/simply_mongo.png
|
141
|
-
[CS img]: https://coveralls.io/repos/robdbirch/simply_mongo/badge.png?branch=master
|
140
|
+
<!-- [CS img]: https://coveralls.io/repos/robdbirch/simply_mongo/badge.png?branch=master -->
|
data/lib/simply_mongo/version.rb
CHANGED
@@ -1,61 +1,62 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/robdbirch/simply_mongo.git
|
3
|
-
revision:
|
3
|
+
revision: c4c2438848f630a74ba409fb78d1e9a36e395a78
|
4
4
|
specs:
|
5
|
-
simply_mongo (0.0.
|
5
|
+
simply_mongo (0.0.9)
|
6
6
|
bson (>= 1.8, <= 2.0)
|
7
7
|
bson_ext (>= 1.8, <= 2.0)
|
8
8
|
mongo (>= 1.8, <= 2.0)
|
9
|
-
rails (>= 3.2, <= 4.
|
9
|
+
rails (>= 3.2, <= 4.1)
|
10
10
|
rake
|
11
11
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
actionmailer (4.0.
|
16
|
-
actionpack (= 4.0.
|
17
|
-
mail (~> 2.5.
|
18
|
-
actionpack (4.0.
|
19
|
-
activesupport (= 4.0.
|
15
|
+
actionmailer (4.0.1)
|
16
|
+
actionpack (= 4.0.1)
|
17
|
+
mail (~> 2.5.4)
|
18
|
+
actionpack (4.0.1)
|
19
|
+
activesupport (= 4.0.1)
|
20
20
|
builder (~> 3.1.0)
|
21
21
|
erubis (~> 2.7.0)
|
22
22
|
rack (~> 1.5.2)
|
23
23
|
rack-test (~> 0.6.2)
|
24
|
-
activemodel (4.0.
|
25
|
-
activesupport (= 4.0.
|
24
|
+
activemodel (4.0.1)
|
25
|
+
activesupport (= 4.0.1)
|
26
26
|
builder (~> 3.1.0)
|
27
|
-
activerecord (4.0.
|
28
|
-
activemodel (= 4.0.
|
27
|
+
activerecord (4.0.1)
|
28
|
+
activemodel (= 4.0.1)
|
29
29
|
activerecord-deprecated_finders (~> 1.0.2)
|
30
|
-
activesupport (= 4.0.
|
30
|
+
activesupport (= 4.0.1)
|
31
31
|
arel (~> 4.0.0)
|
32
32
|
activerecord-deprecated_finders (1.0.3)
|
33
|
-
activesupport (4.0.
|
33
|
+
activesupport (4.0.1)
|
34
34
|
i18n (~> 0.6, >= 0.6.4)
|
35
35
|
minitest (~> 4.2)
|
36
36
|
multi_json (~> 1.3)
|
37
37
|
thread_safe (~> 0.1)
|
38
38
|
tzinfo (~> 0.3.37)
|
39
|
-
arel (4.0.
|
39
|
+
arel (4.0.1)
|
40
40
|
atomic (1.1.14)
|
41
41
|
bson (1.9.2)
|
42
42
|
bson_ext (1.9.2)
|
43
43
|
bson (~> 1.9.2)
|
44
44
|
builder (3.1.4)
|
45
|
-
coffee-rails (4.0.
|
45
|
+
coffee-rails (4.0.1)
|
46
46
|
coffee-script (>= 2.2.0)
|
47
|
-
railties (>= 4.0.0
|
47
|
+
railties (>= 4.0.0, < 5.0)
|
48
48
|
coffee-script (2.2.0)
|
49
49
|
coffee-script-source
|
50
50
|
execjs
|
51
51
|
coffee-script-source (1.6.3)
|
52
52
|
erubis (2.7.0)
|
53
|
-
execjs (2.0.
|
53
|
+
execjs (2.0.2)
|
54
54
|
hike (1.2.3)
|
55
55
|
i18n (0.6.5)
|
56
56
|
jquery-rails (3.0.4)
|
57
57
|
railties (>= 3.0, < 5.0)
|
58
58
|
thor (>= 0.14, < 2.0)
|
59
|
+
json (1.8.1)
|
59
60
|
mail (2.5.4)
|
60
61
|
mime-types (~> 1.16)
|
61
62
|
treetop (~> 1.4.8)
|
@@ -63,28 +64,28 @@ GEM
|
|
63
64
|
minitest (4.7.5)
|
64
65
|
mongo (1.9.2)
|
65
66
|
bson (~> 1.9.2)
|
66
|
-
multi_json (1.8.
|
67
|
+
multi_json (1.8.2)
|
67
68
|
polyglot (0.3.3)
|
68
69
|
rack (1.5.2)
|
69
70
|
rack-test (0.6.2)
|
70
71
|
rack (>= 1.0)
|
71
|
-
rails (4.0.
|
72
|
-
actionmailer (= 4.0.
|
73
|
-
actionpack (= 4.0.
|
74
|
-
activerecord (= 4.0.
|
75
|
-
activesupport (= 4.0.
|
72
|
+
rails (4.0.1)
|
73
|
+
actionmailer (= 4.0.1)
|
74
|
+
actionpack (= 4.0.1)
|
75
|
+
activerecord (= 4.0.1)
|
76
|
+
activesupport (= 4.0.1)
|
76
77
|
bundler (>= 1.3.0, < 2.0)
|
77
|
-
railties (= 4.0.
|
78
|
+
railties (= 4.0.1)
|
78
79
|
sprockets-rails (~> 2.0.0)
|
79
|
-
railties (4.0.
|
80
|
-
actionpack (= 4.0.
|
81
|
-
activesupport (= 4.0.
|
80
|
+
railties (4.0.1)
|
81
|
+
actionpack (= 4.0.1)
|
82
|
+
activesupport (= 4.0.1)
|
82
83
|
rake (>= 0.8.7)
|
83
84
|
thor (>= 0.18.1, < 2.0)
|
84
85
|
rake (10.1.0)
|
85
|
-
sass (3.2.
|
86
|
-
sass-rails (4.0.
|
87
|
-
railties (>= 4.0.0
|
86
|
+
sass (3.2.12)
|
87
|
+
sass-rails (4.0.1)
|
88
|
+
railties (>= 4.0.0, < 5.0)
|
88
89
|
sass (>= 3.1.10)
|
89
90
|
sprockets-rails (~> 2.0.0)
|
90
91
|
sprockets (2.10.0)
|
@@ -92,7 +93,7 @@ GEM
|
|
92
93
|
multi_json (~> 1.0)
|
93
94
|
rack (~> 1.0)
|
94
95
|
tilt (~> 1.1, != 1.3.0)
|
95
|
-
sprockets-rails (2.0.
|
96
|
+
sprockets-rails (2.0.1)
|
96
97
|
actionpack (>= 3.0)
|
97
98
|
activesupport (>= 3.0)
|
98
99
|
sprockets (~> 2.8)
|
@@ -103,10 +104,10 @@ GEM
|
|
103
104
|
treetop (1.4.15)
|
104
105
|
polyglot
|
105
106
|
polyglot (>= 0.3.1)
|
106
|
-
tzinfo (0.3.
|
107
|
-
uglifier (2.
|
107
|
+
tzinfo (0.3.38)
|
108
|
+
uglifier (2.3.1)
|
108
109
|
execjs (>= 0.3.0)
|
109
|
-
|
110
|
+
json (>= 1.8.0)
|
110
111
|
|
111
112
|
PLATFORMS
|
112
113
|
ruby
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simply_mongo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Birch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - <=
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4.
|
19
|
+
version: '4.1'
|
20
20
|
- - '>='
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '3.2'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - <=
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '4.
|
29
|
+
version: '4.1'
|
30
30
|
- - '>='
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '3.2'
|
@@ -187,7 +187,8 @@ files:
|
|
187
187
|
- test/enterprise/tmp/cache/assets/CF0/DA0/sprockets%2Fd7d5b37686831d37c4dd75e645f5e016
|
188
188
|
- test/enterprise/tmp/cache/assets/E25/4C0/sprockets%2Fde2fd9fd11c04a582cdbbe3d84a35ae6
|
189
189
|
homepage: http://www.dyntechconsulting.com
|
190
|
-
licenses:
|
190
|
+
licenses:
|
191
|
+
- MIT
|
191
192
|
metadata: {}
|
192
193
|
post_install_message:
|
193
194
|
rdoc_options: []
|