RubyGems
npm
Organizations
Log in
Sign up
RubyGems
hashcache
Versions diffs
0.2.1 → 0.2.2
hashcache 0.2.1 → 0.2.2
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/hashcache.rb
+1
-1
metadata
+1
-1
data/lib/hashcache.rb
CHANGED
Viewed
@@ -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
23
+
self.write item
{
blk
.call }
24
24
end
25
25
end
26
26
end
metadata
CHANGED
Viewed
@@ -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.
1
4
+
version: 0.2.
2
5
5
platform: ruby
6
6
authors: []
7
7