mongoid_taggable_on 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mongoid/taggable_on.rb +1 -1
  2. metadata +5 -4
@@ -26,7 +26,7 @@ find items with tag
26
26
  opts[:match] ||= ""
27
27
  field_name = field_name.to_s.tableize
28
28
  tags = split_tag(tags) if tags.is_a?(String)
29
- tags = tags.collect { |t| /#{t}/i }
29
+ tags = tags.collect { |t| t.to_s }
30
30
  case opts[:match].to_sym
31
31
  when :any then
32
32
  any_in(:"#{field_name}" => tags)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_taggable_on
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-22 00:00:00.000000000 Z
12
+ date: 2012-04-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
16
- requirement: &70160600877500 !ruby/object:Gem::Requirement
16
+ requirement: &70316349013900 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>'
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 2.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70160600877500
24
+ version_requirements: *70316349013900
25
25
  description: Mongoid Taggable provides some helpers to create taggable documents,
26
26
  can use many fields.
27
27
  email:
@@ -59,3 +59,4 @@ specification_version: 3
59
59
  summary: Mongoid Taggable provides some helpers to create taggable documents, can
60
60
  use many fields.
61
61
  test_files: []
62
+ has_rdoc: