mongoo 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.rvmrc +1 -0
- data/Gemfile +20 -0
- data/LICENSE.txt +20 -0
- data/README.rdoc +19 -0
- data/Rakefile +53 -0
- data/VERSION +1 -0
- data/lib/mongoo.rb +49 -0
- data/lib/mongoo/async.rb +41 -0
- data/lib/mongoo/attribute_proxy.rb +47 -0
- data/lib/mongoo/attribute_sanitizer.rb +41 -0
- data/lib/mongoo/base.rb +209 -0
- data/lib/mongoo/changelog.rb +36 -0
- data/lib/mongoo/cursor.rb +55 -0
- data/lib/mongoo/hash_ext.rb +21 -0
- data/lib/mongoo/modifiers.rb +150 -0
- data/lib/mongoo/mongohash.rb +79 -0
- data/lib/mongoo/persistence.rb +256 -0
- data/mongoo.gemspec +91 -0
- data/test/helper.rb +62 -0
- data/test/test_activemodel.rb +14 -0
- data/test/test_mongohash.rb +36 -0
- data/test/test_mongoo.rb +276 -0
- metadata +236 -0
metadata
ADDED
@@ -0,0 +1,236 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mongoo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Ben Myles
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2011-03-19 00:00:00 -07:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: i18n
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 4
|
30
|
+
- 1
|
31
|
+
version: 0.4.1
|
32
|
+
type: :runtime
|
33
|
+
prerelease: false
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: activesupport
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
segments:
|
43
|
+
- 3
|
44
|
+
- 0
|
45
|
+
- 3
|
46
|
+
version: 3.0.3
|
47
|
+
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: *id002
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: activemodel
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
segments:
|
58
|
+
- 3
|
59
|
+
- 0
|
60
|
+
- 3
|
61
|
+
version: 3.0.3
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: *id003
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: bson_ext
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
segments:
|
73
|
+
- 1
|
74
|
+
- 2
|
75
|
+
- 4
|
76
|
+
version: 1.2.4
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: mongo
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
segments:
|
88
|
+
- 1
|
89
|
+
- 2
|
90
|
+
- 4
|
91
|
+
version: 1.2.4
|
92
|
+
type: :runtime
|
93
|
+
prerelease: false
|
94
|
+
version_requirements: *id005
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: em-synchrony
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
segments:
|
103
|
+
- 0
|
104
|
+
- 2
|
105
|
+
- 0
|
106
|
+
version: 0.2.0
|
107
|
+
type: :runtime
|
108
|
+
prerelease: false
|
109
|
+
version_requirements: *id006
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: shoulda
|
112
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
segments:
|
118
|
+
- 0
|
119
|
+
version: "0"
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: *id007
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: bundler
|
125
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ~>
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
segments:
|
131
|
+
- 1
|
132
|
+
- 0
|
133
|
+
- 0
|
134
|
+
version: 1.0.0
|
135
|
+
type: :development
|
136
|
+
prerelease: false
|
137
|
+
version_requirements: *id008
|
138
|
+
- !ruby/object:Gem::Dependency
|
139
|
+
name: jeweler
|
140
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
segments:
|
146
|
+
- 1
|
147
|
+
- 5
|
148
|
+
- 1
|
149
|
+
version: 1.5.1
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: *id009
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rcov
|
155
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
156
|
+
none: false
|
157
|
+
requirements:
|
158
|
+
- - ">="
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
segments:
|
161
|
+
- 0
|
162
|
+
version: "0"
|
163
|
+
type: :development
|
164
|
+
prerelease: false
|
165
|
+
version_requirements: *id010
|
166
|
+
description: Simple object mapper for MongoDB
|
167
|
+
email: ben.myles@gmail.com
|
168
|
+
executables: []
|
169
|
+
|
170
|
+
extensions: []
|
171
|
+
|
172
|
+
extra_rdoc_files:
|
173
|
+
- LICENSE.txt
|
174
|
+
- README.rdoc
|
175
|
+
files:
|
176
|
+
- .document
|
177
|
+
- .rvmrc
|
178
|
+
- Gemfile
|
179
|
+
- LICENSE.txt
|
180
|
+
- README.rdoc
|
181
|
+
- Rakefile
|
182
|
+
- VERSION
|
183
|
+
- lib/mongoo.rb
|
184
|
+
- lib/mongoo/async.rb
|
185
|
+
- lib/mongoo/attribute_proxy.rb
|
186
|
+
- lib/mongoo/attribute_sanitizer.rb
|
187
|
+
- lib/mongoo/base.rb
|
188
|
+
- lib/mongoo/changelog.rb
|
189
|
+
- lib/mongoo/cursor.rb
|
190
|
+
- lib/mongoo/hash_ext.rb
|
191
|
+
- lib/mongoo/modifiers.rb
|
192
|
+
- lib/mongoo/mongohash.rb
|
193
|
+
- lib/mongoo/persistence.rb
|
194
|
+
- mongoo.gemspec
|
195
|
+
- test/helper.rb
|
196
|
+
- test/test_activemodel.rb
|
197
|
+
- test/test_mongohash.rb
|
198
|
+
- test/test_mongoo.rb
|
199
|
+
has_rdoc: true
|
200
|
+
homepage: http://github.com/benmyles/mongoo
|
201
|
+
licenses:
|
202
|
+
- MIT
|
203
|
+
post_install_message:
|
204
|
+
rdoc_options: []
|
205
|
+
|
206
|
+
require_paths:
|
207
|
+
- lib
|
208
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
210
|
+
requirements:
|
211
|
+
- - ">="
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
hash: -2890679974794693644
|
214
|
+
segments:
|
215
|
+
- 0
|
216
|
+
version: "0"
|
217
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
218
|
+
none: false
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
segments:
|
223
|
+
- 0
|
224
|
+
version: "0"
|
225
|
+
requirements: []
|
226
|
+
|
227
|
+
rubyforge_project:
|
228
|
+
rubygems_version: 1.3.7
|
229
|
+
signing_key:
|
230
|
+
specification_version: 3
|
231
|
+
summary: Object mapper for MongoDB
|
232
|
+
test_files:
|
233
|
+
- test/helper.rb
|
234
|
+
- test/test_activemodel.rb
|
235
|
+
- test/test_mongohash.rb
|
236
|
+
- test/test_mongoo.rb
|