hashcache 0.2.2 → 0.2.3

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/hashcache.rb +1 -1
  2. metadata +1 -1
data/lib/hashcache.rb CHANGED
@@ -20,7 +20,7 @@ class HashCache
20
20
  if @file_cache == true and File.exists? @file_path + '/' + item then
21
21
  read_file item
22
22
  else
23
- self.write item { blk.call }
23
+ self.write(item) { blk.call }
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hashcache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors: []
7
7