redis_tags 0.0.3 → 0.0.4

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.
@@ -69,7 +69,11 @@ module RedisTags
69
69
 
70
70
  # After save callback, confirms that redis is saved after object exists.
71
71
  def update_tags_to_redis
72
- tags_collection = RedisTags::RedisTagList.new(self, @_tag_list)
72
+ if self.class.acts_as_taggable_on_steroids_legacy_mode?
73
+ tags_collection = RedisTags::RedisTagList.new(self, self.tag_list)
74
+ else
75
+ @_tag_list = RedisTags::RedisTagList.new(self, @_tag_list)
76
+ end
73
77
  end
74
78
  end
75
79
  end
@@ -1,3 +1,3 @@
1
1
  module RedisTags
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_tags
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Elad Meidar
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-11-08 00:00:00 +02:00
18
+ date: 2012-11-20 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency