mongoid_taggable_with_context 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,13 +1,13 @@
1
1
  source 'http://rubygems.org'
2
2
 
3
- gem 'mongoid', '~> 2.0.0.beta.20'
3
+ gem 'mongoid', '~> 2.0.2'
4
4
 
5
5
  # Add dependencies to develop your gem here.
6
6
  # Include everything needed to run rake, tests, features, etc.
7
7
  group :development do
8
8
  gem 'database_cleaner'
9
- gem 'bson', '~> 1.2.1'
10
- gem 'bson_ext', '~> 1.2.1'
9
+ gem 'bson', '~> 1.3.0'
10
+ gem 'bson_ext', '~> 1.3.0'
11
11
  gem 'rspec', '~> 2.3.0'
12
12
  gem 'yard', '~> 0.6.0'
13
13
  gem 'bundler', '~> 1.0.0'
data/README.rdoc CHANGED
@@ -142,7 +142,7 @@ To change the default separator you may pass a *separator* argument to the macro
142
142
 
143
143
  class Post
144
144
  include Mongoid::Document
145
- include Mongoid::Taggable
145
+ include Mongoid::TaggableWithContext
146
146
 
147
147
  field :title
148
148
  field :content
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.1
1
+ 0.6.2
@@ -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.1"
8
+ s.version = "0.6.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Aaron Qian"]
12
- s.date = %q{2011-02-13}
11
+ s.authors = [%q{Aaron Qian}]
12
+ s.date = %q{2011-06-20}
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 = [
@@ -33,9 +33,9 @@ Gem::Specification.new do |s|
33
33
  "spec/spec_helper.rb"
34
34
  ]
35
35
  s.homepage = %q{http://github.com/aq1018/mongoid_taggable_with_context}
36
- s.licenses = ["MIT"]
37
- s.require_paths = ["lib"]
38
- s.rubygems_version = %q{1.5.2}
36
+ s.licenses = [%q{MIT}]
37
+ s.require_paths = [%q{lib}]
38
+ s.rubygems_version = %q{1.8.5}
39
39
  s.summary = %q{Mongoid taggable behaviour}
40
40
  s.test_files = [
41
41
  "spec/mongoid_taggable_with_context_spec.rb",
@@ -46,10 +46,10 @@ Gem::Specification.new do |s|
46
46
  s.specification_version = 3
47
47
 
48
48
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
49
- s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.0.beta.20"])
49
+ s.add_runtime_dependency(%q<mongoid>, ["~> 2.0.2"])
50
50
  s.add_development_dependency(%q<database_cleaner>, [">= 0"])
51
- s.add_development_dependency(%q<bson>, ["~> 1.2.1"])
52
- s.add_development_dependency(%q<bson_ext>, ["~> 1.2.1"])
51
+ s.add_development_dependency(%q<bson>, ["~> 1.3.0"])
52
+ s.add_development_dependency(%q<bson_ext>, ["~> 1.3.0"])
53
53
  s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
54
54
  s.add_development_dependency(%q<yard>, ["~> 0.6.0"])
55
55
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
@@ -69,10 +69,10 @@ Gem::Specification.new do |s|
69
69
  s.add_development_dependency(%q<reek>, ["~> 1.2.8"])
70
70
  s.add_development_dependency(%q<roodi>, ["~> 2.1.0"])
71
71
  else
72
- s.add_dependency(%q<mongoid>, ["~> 2.0.0.beta.20"])
72
+ s.add_dependency(%q<mongoid>, ["~> 2.0.2"])
73
73
  s.add_dependency(%q<database_cleaner>, [">= 0"])
74
- s.add_dependency(%q<bson>, ["~> 1.2.1"])
75
- s.add_dependency(%q<bson_ext>, ["~> 1.2.1"])
74
+ s.add_dependency(%q<bson>, ["~> 1.3.0"])
75
+ s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])
76
76
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
77
77
  s.add_dependency(%q<yard>, ["~> 0.6.0"])
78
78
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
@@ -93,10 +93,10 @@ Gem::Specification.new do |s|
93
93
  s.add_dependency(%q<roodi>, ["~> 2.1.0"])
94
94
  end
95
95
  else
96
- s.add_dependency(%q<mongoid>, ["~> 2.0.0.beta.20"])
96
+ s.add_dependency(%q<mongoid>, ["~> 2.0.2"])
97
97
  s.add_dependency(%q<database_cleaner>, [">= 0"])
98
- s.add_dependency(%q<bson>, ["~> 1.2.1"])
99
- s.add_dependency(%q<bson_ext>, ["~> 1.2.1"])
98
+ s.add_dependency(%q<bson>, ["~> 1.3.0"])
99
+ s.add_dependency(%q<bson_ext>, ["~> 1.3.0"])
100
100
  s.add_dependency(%q<rspec>, ["~> 2.3.0"])
101
101
  s.add_dependency(%q<yard>, ["~> 0.6.0"])
102
102
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
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: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 1
10
- version: 0.6.1
9
+ - 2
10
+ version: 0.6.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Aaron Qian
@@ -15,30 +15,26 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-13 00:00:00 -08:00
19
- default_executable:
18
+ date: 2011-06-20 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- type: :runtime
23
- requirement: &id001 !ruby/object:Gem::Requirement
21
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
22
  none: false
25
23
  requirements:
26
24
  - - ~>
27
25
  - !ruby/object:Gem::Version
28
- hash: 62196427
26
+ hash: 11
29
27
  segments:
30
28
  - 2
31
29
  - 0
32
- - 0
33
- - beta
34
- - 20
35
- version: 2.0.0.beta.20
36
- name: mongoid
37
- version_requirements: *id001
30
+ - 2
31
+ version: 2.0.2
32
+ type: :runtime
33
+ requirement: *id001
38
34
  prerelease: false
35
+ name: mongoid
39
36
  - !ruby/object:Gem::Dependency
40
- type: :development
41
- requirement: &id002 !ruby/object:Gem::Requirement
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
42
38
  none: false
43
39
  requirements:
44
40
  - - ">="
@@ -47,44 +43,44 @@ dependencies:
47
43
  segments:
48
44
  - 0
49
45
  version: "0"
50
- name: database_cleaner
51
- version_requirements: *id002
46
+ type: :development
47
+ requirement: *id002
52
48
  prerelease: false
49
+ name: database_cleaner
53
50
  - !ruby/object:Gem::Dependency
54
- type: :development
55
- requirement: &id003 !ruby/object:Gem::Requirement
51
+ version_requirements: &id003 !ruby/object:Gem::Requirement
56
52
  none: false
57
53
  requirements:
58
54
  - - ~>
59
55
  - !ruby/object:Gem::Version
60
- hash: 29
56
+ hash: 27
61
57
  segments:
62
58
  - 1
63
- - 2
64
- - 1
65
- version: 1.2.1
66
- name: bson
67
- version_requirements: *id003
59
+ - 3
60
+ - 0
61
+ version: 1.3.0
62
+ type: :development
63
+ requirement: *id003
68
64
  prerelease: false
65
+ name: bson
69
66
  - !ruby/object:Gem::Dependency
70
- type: :development
71
- requirement: &id004 !ruby/object:Gem::Requirement
67
+ version_requirements: &id004 !ruby/object:Gem::Requirement
72
68
  none: false
73
69
  requirements:
74
70
  - - ~>
75
71
  - !ruby/object:Gem::Version
76
- hash: 29
72
+ hash: 27
77
73
  segments:
78
74
  - 1
79
- - 2
80
- - 1
81
- version: 1.2.1
82
- name: bson_ext
83
- version_requirements: *id004
75
+ - 3
76
+ - 0
77
+ version: 1.3.0
78
+ type: :development
79
+ requirement: *id004
84
80
  prerelease: false
81
+ name: bson_ext
85
82
  - !ruby/object:Gem::Dependency
86
- type: :development
87
- requirement: &id005 !ruby/object:Gem::Requirement
83
+ version_requirements: &id005 !ruby/object:Gem::Requirement
88
84
  none: false
89
85
  requirements:
90
86
  - - ~>
@@ -95,12 +91,12 @@ dependencies:
95
91
  - 3
96
92
  - 0
97
93
  version: 2.3.0
98
- name: rspec
99
- version_requirements: *id005
94
+ type: :development
95
+ requirement: *id005
100
96
  prerelease: false
97
+ name: rspec
101
98
  - !ruby/object:Gem::Dependency
102
- type: :development
103
- requirement: &id006 !ruby/object:Gem::Requirement
99
+ version_requirements: &id006 !ruby/object:Gem::Requirement
104
100
  none: false
105
101
  requirements:
106
102
  - - ~>
@@ -111,12 +107,12 @@ dependencies:
111
107
  - 6
112
108
  - 0
113
109
  version: 0.6.0
114
- name: yard
115
- version_requirements: *id006
110
+ type: :development
111
+ requirement: *id006
116
112
  prerelease: false
113
+ name: yard
117
114
  - !ruby/object:Gem::Dependency
118
- type: :development
119
- requirement: &id007 !ruby/object:Gem::Requirement
115
+ version_requirements: &id007 !ruby/object:Gem::Requirement
120
116
  none: false
121
117
  requirements:
122
118
  - - ~>
@@ -127,12 +123,12 @@ dependencies:
127
123
  - 0
128
124
  - 0
129
125
  version: 1.0.0
130
- name: bundler
131
- version_requirements: *id007
126
+ type: :development
127
+ requirement: *id007
132
128
  prerelease: false
129
+ name: bundler
133
130
  - !ruby/object:Gem::Dependency
134
- type: :development
135
- requirement: &id008 !ruby/object:Gem::Requirement
131
+ version_requirements: &id008 !ruby/object:Gem::Requirement
136
132
  none: false
137
133
  requirements:
138
134
  - - ~>
@@ -143,12 +139,12 @@ dependencies:
143
139
  - 5
144
140
  - 2
145
141
  version: 1.5.2
146
- name: jeweler
147
- version_requirements: *id008
142
+ type: :development
143
+ requirement: *id008
148
144
  prerelease: false
145
+ name: jeweler
149
146
  - !ruby/object:Gem::Dependency
150
- type: :development
151
- requirement: &id009 !ruby/object:Gem::Requirement
147
+ version_requirements: &id009 !ruby/object:Gem::Requirement
152
148
  none: false
153
149
  requirements:
154
150
  - - ">="
@@ -157,12 +153,12 @@ dependencies:
157
153
  segments:
158
154
  - 0
159
155
  version: "0"
160
- name: rcov
161
- version_requirements: *id009
156
+ type: :development
157
+ requirement: *id009
162
158
  prerelease: false
159
+ name: rcov
163
160
  - !ruby/object:Gem::Dependency
164
- type: :development
165
- requirement: &id010 !ruby/object:Gem::Requirement
161
+ version_requirements: &id010 !ruby/object:Gem::Requirement
166
162
  none: false
167
163
  requirements:
168
164
  - - ~>
@@ -173,12 +169,12 @@ dependencies:
173
169
  - 2
174
170
  - 8
175
171
  version: 1.2.8
176
- name: reek
177
- version_requirements: *id010
172
+ type: :development
173
+ requirement: *id010
178
174
  prerelease: false
175
+ name: reek
179
176
  - !ruby/object:Gem::Dependency
180
- type: :development
181
- requirement: &id011 !ruby/object:Gem::Requirement
177
+ version_requirements: &id011 !ruby/object:Gem::Requirement
182
178
  none: false
183
179
  requirements:
184
180
  - - ~>
@@ -189,12 +185,12 @@ dependencies:
189
185
  - 1
190
186
  - 0
191
187
  version: 2.1.0
192
- name: roodi
193
- version_requirements: *id011
188
+ type: :development
189
+ requirement: *id011
194
190
  prerelease: false
191
+ name: roodi
195
192
  - !ruby/object:Gem::Dependency
196
- type: :runtime
197
- requirement: &id012 !ruby/object:Gem::Requirement
193
+ version_requirements: &id012 !ruby/object:Gem::Requirement
198
194
  none: false
199
195
  requirements:
200
196
  - - ~>
@@ -207,12 +203,12 @@ dependencies:
207
203
  - beta
208
204
  - 20
209
205
  version: 2.0.0.beta.20
210
- name: mongoid
211
- version_requirements: *id012
206
+ type: :runtime
207
+ requirement: *id012
212
208
  prerelease: false
209
+ name: mongoid
213
210
  - !ruby/object:Gem::Dependency
214
- type: :development
215
- requirement: &id013 !ruby/object:Gem::Requirement
211
+ version_requirements: &id013 !ruby/object:Gem::Requirement
216
212
  none: false
217
213
  requirements:
218
214
  - - ">="
@@ -221,12 +217,12 @@ dependencies:
221
217
  segments:
222
218
  - 0
223
219
  version: "0"
224
- name: database_cleaner
225
- version_requirements: *id013
220
+ type: :development
221
+ requirement: *id013
226
222
  prerelease: false
223
+ name: database_cleaner
227
224
  - !ruby/object:Gem::Dependency
228
- type: :development
229
- requirement: &id014 !ruby/object:Gem::Requirement
225
+ version_requirements: &id014 !ruby/object:Gem::Requirement
230
226
  none: false
231
227
  requirements:
232
228
  - - ~>
@@ -237,12 +233,12 @@ dependencies:
237
233
  - 2
238
234
  - 1
239
235
  version: 1.2.1
240
- name: bson
241
- version_requirements: *id014
236
+ type: :development
237
+ requirement: *id014
242
238
  prerelease: false
239
+ name: bson
243
240
  - !ruby/object:Gem::Dependency
244
- type: :development
245
- requirement: &id015 !ruby/object:Gem::Requirement
241
+ version_requirements: &id015 !ruby/object:Gem::Requirement
246
242
  none: false
247
243
  requirements:
248
244
  - - ~>
@@ -253,12 +249,12 @@ dependencies:
253
249
  - 2
254
250
  - 1
255
251
  version: 1.2.1
256
- name: bson_ext
257
- version_requirements: *id015
252
+ type: :development
253
+ requirement: *id015
258
254
  prerelease: false
255
+ name: bson_ext
259
256
  - !ruby/object:Gem::Dependency
260
- type: :development
261
- requirement: &id016 !ruby/object:Gem::Requirement
257
+ version_requirements: &id016 !ruby/object:Gem::Requirement
262
258
  none: false
263
259
  requirements:
264
260
  - - ~>
@@ -269,12 +265,12 @@ dependencies:
269
265
  - 3
270
266
  - 0
271
267
  version: 2.3.0
272
- name: rspec
273
- version_requirements: *id016
268
+ type: :development
269
+ requirement: *id016
274
270
  prerelease: false
271
+ name: rspec
275
272
  - !ruby/object:Gem::Dependency
276
- type: :development
277
- requirement: &id017 !ruby/object:Gem::Requirement
273
+ version_requirements: &id017 !ruby/object:Gem::Requirement
278
274
  none: false
279
275
  requirements:
280
276
  - - ~>
@@ -285,12 +281,12 @@ dependencies:
285
281
  - 6
286
282
  - 0
287
283
  version: 0.6.0
288
- name: yard
289
- version_requirements: *id017
284
+ type: :development
285
+ requirement: *id017
290
286
  prerelease: false
287
+ name: yard
291
288
  - !ruby/object:Gem::Dependency
292
- type: :development
293
- requirement: &id018 !ruby/object:Gem::Requirement
289
+ version_requirements: &id018 !ruby/object:Gem::Requirement
294
290
  none: false
295
291
  requirements:
296
292
  - - ~>
@@ -301,12 +297,12 @@ dependencies:
301
297
  - 0
302
298
  - 0
303
299
  version: 1.0.0
304
- name: bundler
305
- version_requirements: *id018
300
+ type: :development
301
+ requirement: *id018
306
302
  prerelease: false
303
+ name: bundler
307
304
  - !ruby/object:Gem::Dependency
308
- type: :development
309
- requirement: &id019 !ruby/object:Gem::Requirement
305
+ version_requirements: &id019 !ruby/object:Gem::Requirement
310
306
  none: false
311
307
  requirements:
312
308
  - - ~>
@@ -317,12 +313,12 @@ dependencies:
317
313
  - 5
318
314
  - 2
319
315
  version: 1.5.2
320
- name: jeweler
321
- version_requirements: *id019
316
+ type: :development
317
+ requirement: *id019
322
318
  prerelease: false
319
+ name: jeweler
323
320
  - !ruby/object:Gem::Dependency
324
- type: :development
325
- requirement: &id020 !ruby/object:Gem::Requirement
321
+ version_requirements: &id020 !ruby/object:Gem::Requirement
326
322
  none: false
327
323
  requirements:
328
324
  - - ">="
@@ -331,12 +327,12 @@ dependencies:
331
327
  segments:
332
328
  - 0
333
329
  version: "0"
334
- name: rcov
335
- version_requirements: *id020
330
+ type: :development
331
+ requirement: *id020
336
332
  prerelease: false
333
+ name: rcov
337
334
  - !ruby/object:Gem::Dependency
338
- type: :development
339
- requirement: &id021 !ruby/object:Gem::Requirement
335
+ version_requirements: &id021 !ruby/object:Gem::Requirement
340
336
  none: false
341
337
  requirements:
342
338
  - - ~>
@@ -347,12 +343,12 @@ dependencies:
347
343
  - 2
348
344
  - 8
349
345
  version: 1.2.8
350
- name: reek
351
- version_requirements: *id021
346
+ type: :development
347
+ requirement: *id021
352
348
  prerelease: false
349
+ name: reek
353
350
  - !ruby/object:Gem::Dependency
354
- type: :development
355
- requirement: &id022 !ruby/object:Gem::Requirement
351
+ version_requirements: &id022 !ruby/object:Gem::Requirement
356
352
  none: false
357
353
  requirements:
358
354
  - - ~>
@@ -363,9 +359,10 @@ dependencies:
363
359
  - 1
364
360
  - 0
365
361
  version: 2.1.0
366
- name: roodi
367
- version_requirements: *id022
362
+ type: :development
363
+ requirement: *id022
368
364
  prerelease: false
365
+ name: roodi
369
366
  description: It provides some helpers to create taggable documents with context.
370
367
  email: aq1018@gmail.com
371
368
  executables: []
@@ -390,7 +387,6 @@ files:
390
387
  - mongoid_taggable_with_context.gemspec
391
388
  - spec/mongoid_taggable_with_context_spec.rb
392
389
  - spec/spec_helper.rb
393
- has_rdoc: true
394
390
  homepage: http://github.com/aq1018/mongoid_taggable_with_context
395
391
  licenses:
396
392
  - MIT
@@ -420,7 +416,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
420
416
  requirements: []
421
417
 
422
418
  rubyforge_project:
423
- rubygems_version: 1.5.2
419
+ rubygems_version: 1.8.5
424
420
  signing_key:
425
421
  specification_version: 3
426
422
  summary: Mongoid taggable behaviour