yoomee-acts_as_mongo_taggable 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/app/models/tag.rb +4 -0
  2. metadata +3 -3
@@ -66,6 +66,10 @@ class Tag
66
66
  most_tagged(klass, :limit => 25)
67
67
  end
68
68
 
69
+ def to_s
70
+ word
71
+ end
72
+
69
73
  def count_for(klass = nil)
70
74
  klass ? send(taggings_count_key_for(klass)) : taggings_count
71
75
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yoomee-acts_as_mongo_taggable
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 5
10
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Matt Atkins, Matt E. Patterson