tagged-cache 1.0.0 → 1.0.1

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.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.0.1 2010-10-07
2
+
3
+ * Fixed bug: incorrect Hash#delete using to filter options.
4
+
1
5
  === 1.0.0 2010-10-06
2
6
 
3
7
  * Added ActiveSupport::Cache adapter.
@@ -1,4 +1,5 @@
1
1
  require "active_support/core_ext/integer/time"
2
+ require "active_support/core_ext/hash"
2
3
 
3
4
  module ActiveSupport
4
5
  module Cache
@@ -152,7 +153,7 @@ module ActiveSupport
152
153
  entry.extend(TaggedEntry)
153
154
  entry.depends = read_tags(*depends)
154
155
  end
155
- @entity_store.send(:write_entry, key, entry, options.delete(:depends))
156
+ @entity_store.send(:write_entry, key, entry, options.except(:depends))
156
157
  end
157
158
 
158
159
  def delete_entry(key, options)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tagged-cache
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Anton Ageev
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-06 00:00:00 +04:00
18
+ date: 2010-10-07 00:00:00 +04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency