mongoid_taggable_with_context 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/Rakefile +11 -0
- data/VERSION +1 -1
- data/lib/mongoid/taggable_with_context.rb +0 -14
- data/mongoid_taggable_with_context.gemspec +32 -2
- metadata +160 -4
data/README.rdoc
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
= Mongoid Taggable With Context
|
2
2
|
|
3
3
|
A tagging lib for Mongoid that allows for custom tagging along dynamic contexts. This lib was originally based on Mongoid Taggable by Wilker Lúcio and Ches Martin. It has evolved substantially since that point, but all credit goes to them for the initial tagging functionality.
|
4
4
|
|
data/Rakefile
CHANGED
@@ -19,6 +19,17 @@ Jeweler::Tasks.new do |gem|
|
|
19
19
|
gem.email = "aq1018@gmail.com"
|
20
20
|
gem.authors = ["Aaron Qian"]
|
21
21
|
gem.add_runtime_dependency 'mongoid', '~> 2.0.0.beta.20'
|
22
|
+
|
23
|
+
gem.add_development_dependency 'database_cleaner'
|
24
|
+
gem.add_development_dependency 'bson', '~> 1.2.1'
|
25
|
+
gem.add_development_dependency 'bson_ext', '~> 1.2.1'
|
26
|
+
gem.add_development_dependency 'rspec', '~> 2.3.0'
|
27
|
+
gem.add_development_dependency 'yard', '~> 0.6.0'
|
28
|
+
gem.add_development_dependency 'bundler', '~> 1.0.0'
|
29
|
+
gem.add_development_dependency 'jeweler', '~> 1.5.2'
|
30
|
+
gem.add_development_dependency 'rcov', '>= 0'
|
31
|
+
gem.add_development_dependency 'reek', '~> 1.2.8'
|
32
|
+
gem.add_development_dependency 'roodi', '~> 2.1.0'
|
22
33
|
end
|
23
34
|
Jeweler::RubygemsDotOrgTasks.new
|
24
35
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.1
|
@@ -1,17 +1,3 @@
|
|
1
|
-
# Copyright (c) 2010 Wilker Lúcio <wilkerlucio@gmail.com>
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
1
|
module Mongoid::TaggableWithContext
|
16
2
|
extend ActiveSupport::Concern
|
17
3
|
|
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{mongoid_taggable_with_context}
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Aaron Qian"]
|
12
|
-
s.date = %q{2011-02-
|
12
|
+
s.date = %q{2011-02-13}
|
13
13
|
s.description = %q{It provides some helpers to create taggable documents with context.}
|
14
14
|
s.email = %q{aq1018@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -58,6 +58,16 @@ Gem::Specification.new do |s|
|
|
58
58
|
s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
|
59
59
|
s.add_development_dependency(%q<roodi>, ["~> 2.1.0"])
|
60
60
|
s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.0.beta.20"])
|
61
|
+
s.add_development_dependency(%q<database_cleaner>, [">= 0"])
|
62
|
+
s.add_development_dependency(%q<bson>, ["~> 1.2.1"])
|
63
|
+
s.add_development_dependency(%q<bson_ext>, ["~> 1.2.1"])
|
64
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
|
65
|
+
s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
|
66
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
67
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
68
|
+
s.add_development_dependency(%q<rcov>, [">= 0"])
|
69
|
+
s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
|
70
|
+
s.add_development_dependency(%q<roodi>, ["~> 2.1.0"])
|
61
71
|
else
|
62
72
|
s.add_dependency(%q<mongoid>, ["~> 2.0.0.beta.20"])
|
63
73
|
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
@@ -71,6 +81,16 @@ Gem::Specification.new do |s|
|
|
71
81
|
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
72
82
|
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
73
83
|
s.add_dependency(%q<mongoid>, ["~> 2.0.0.beta.20"])
|
84
|
+
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
85
|
+
s.add_dependency(%q<bson>, ["~> 1.2.1"])
|
86
|
+
s.add_dependency(%q<bson_ext>, ["~> 1.2.1"])
|
87
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
88
|
+
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
89
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
90
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
91
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
92
|
+
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
93
|
+
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
74
94
|
end
|
75
95
|
else
|
76
96
|
s.add_dependency(%q<mongoid>, ["~> 2.0.0.beta.20"])
|
@@ -85,6 +105,16 @@ Gem::Specification.new do |s|
|
|
85
105
|
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
86
106
|
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
87
107
|
s.add_dependency(%q<mongoid>, ["~> 2.0.0.beta.20"])
|
108
|
+
s.add_dependency(%q<database_cleaner>, [">= 0"])
|
109
|
+
s.add_dependency(%q<bson>, ["~> 1.2.1"])
|
110
|
+
s.add_dependency(%q<bson_ext>, ["~> 1.2.1"])
|
111
|
+
s.add_dependency(%q<rspec>, ["~> 2.3.0"])
|
112
|
+
s.add_dependency(%q<yard>, ["~> 0.6.0"])
|
113
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
114
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
115
|
+
s.add_dependency(%q<rcov>, [">= 0"])
|
116
|
+
s.add_dependency(%q<reek>, ["~> 1.2.8"])
|
117
|
+
s.add_dependency(%q<roodi>, ["~> 2.1.0"])
|
88
118
|
end
|
89
119
|
end
|
90
120
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_taggable_with_context
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 0.6.
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Aaron Qian
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-13 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -210,6 +210,162 @@ dependencies:
|
|
210
210
|
name: mongoid
|
211
211
|
version_requirements: *id012
|
212
212
|
prerelease: false
|
213
|
+
- !ruby/object:Gem::Dependency
|
214
|
+
type: :development
|
215
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
216
|
+
none: false
|
217
|
+
requirements:
|
218
|
+
- - ">="
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
hash: 3
|
221
|
+
segments:
|
222
|
+
- 0
|
223
|
+
version: "0"
|
224
|
+
name: database_cleaner
|
225
|
+
version_requirements: *id013
|
226
|
+
prerelease: false
|
227
|
+
- !ruby/object:Gem::Dependency
|
228
|
+
type: :development
|
229
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
230
|
+
none: false
|
231
|
+
requirements:
|
232
|
+
- - ~>
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
hash: 29
|
235
|
+
segments:
|
236
|
+
- 1
|
237
|
+
- 2
|
238
|
+
- 1
|
239
|
+
version: 1.2.1
|
240
|
+
name: bson
|
241
|
+
version_requirements: *id014
|
242
|
+
prerelease: false
|
243
|
+
- !ruby/object:Gem::Dependency
|
244
|
+
type: :development
|
245
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
246
|
+
none: false
|
247
|
+
requirements:
|
248
|
+
- - ~>
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
hash: 29
|
251
|
+
segments:
|
252
|
+
- 1
|
253
|
+
- 2
|
254
|
+
- 1
|
255
|
+
version: 1.2.1
|
256
|
+
name: bson_ext
|
257
|
+
version_requirements: *id015
|
258
|
+
prerelease: false
|
259
|
+
- !ruby/object:Gem::Dependency
|
260
|
+
type: :development
|
261
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
262
|
+
none: false
|
263
|
+
requirements:
|
264
|
+
- - ~>
|
265
|
+
- !ruby/object:Gem::Version
|
266
|
+
hash: 3
|
267
|
+
segments:
|
268
|
+
- 2
|
269
|
+
- 3
|
270
|
+
- 0
|
271
|
+
version: 2.3.0
|
272
|
+
name: rspec
|
273
|
+
version_requirements: *id016
|
274
|
+
prerelease: false
|
275
|
+
- !ruby/object:Gem::Dependency
|
276
|
+
type: :development
|
277
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
278
|
+
none: false
|
279
|
+
requirements:
|
280
|
+
- - ~>
|
281
|
+
- !ruby/object:Gem::Version
|
282
|
+
hash: 7
|
283
|
+
segments:
|
284
|
+
- 0
|
285
|
+
- 6
|
286
|
+
- 0
|
287
|
+
version: 0.6.0
|
288
|
+
name: yard
|
289
|
+
version_requirements: *id017
|
290
|
+
prerelease: false
|
291
|
+
- !ruby/object:Gem::Dependency
|
292
|
+
type: :development
|
293
|
+
requirement: &id018 !ruby/object:Gem::Requirement
|
294
|
+
none: false
|
295
|
+
requirements:
|
296
|
+
- - ~>
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
hash: 23
|
299
|
+
segments:
|
300
|
+
- 1
|
301
|
+
- 0
|
302
|
+
- 0
|
303
|
+
version: 1.0.0
|
304
|
+
name: bundler
|
305
|
+
version_requirements: *id018
|
306
|
+
prerelease: false
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
type: :development
|
309
|
+
requirement: &id019 !ruby/object:Gem::Requirement
|
310
|
+
none: false
|
311
|
+
requirements:
|
312
|
+
- - ~>
|
313
|
+
- !ruby/object:Gem::Version
|
314
|
+
hash: 7
|
315
|
+
segments:
|
316
|
+
- 1
|
317
|
+
- 5
|
318
|
+
- 2
|
319
|
+
version: 1.5.2
|
320
|
+
name: jeweler
|
321
|
+
version_requirements: *id019
|
322
|
+
prerelease: false
|
323
|
+
- !ruby/object:Gem::Dependency
|
324
|
+
type: :development
|
325
|
+
requirement: &id020 !ruby/object:Gem::Requirement
|
326
|
+
none: false
|
327
|
+
requirements:
|
328
|
+
- - ">="
|
329
|
+
- !ruby/object:Gem::Version
|
330
|
+
hash: 3
|
331
|
+
segments:
|
332
|
+
- 0
|
333
|
+
version: "0"
|
334
|
+
name: rcov
|
335
|
+
version_requirements: *id020
|
336
|
+
prerelease: false
|
337
|
+
- !ruby/object:Gem::Dependency
|
338
|
+
type: :development
|
339
|
+
requirement: &id021 !ruby/object:Gem::Requirement
|
340
|
+
none: false
|
341
|
+
requirements:
|
342
|
+
- - ~>
|
343
|
+
- !ruby/object:Gem::Version
|
344
|
+
hash: 15
|
345
|
+
segments:
|
346
|
+
- 1
|
347
|
+
- 2
|
348
|
+
- 8
|
349
|
+
version: 1.2.8
|
350
|
+
name: reek
|
351
|
+
version_requirements: *id021
|
352
|
+
prerelease: false
|
353
|
+
- !ruby/object:Gem::Dependency
|
354
|
+
type: :development
|
355
|
+
requirement: &id022 !ruby/object:Gem::Requirement
|
356
|
+
none: false
|
357
|
+
requirements:
|
358
|
+
- - ~>
|
359
|
+
- !ruby/object:Gem::Version
|
360
|
+
hash: 11
|
361
|
+
segments:
|
362
|
+
- 2
|
363
|
+
- 1
|
364
|
+
- 0
|
365
|
+
version: 2.1.0
|
366
|
+
name: roodi
|
367
|
+
version_requirements: *id022
|
368
|
+
prerelease: false
|
213
369
|
description: It provides some helpers to create taggable documents with context.
|
214
370
|
email: aq1018@gmail.com
|
215
371
|
executables: []
|