hashcache 0.1.6 → 0.1.7

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/hashcache.rb +1 -1
  2. metadata +1 -1
data/lib/hashcache.rb CHANGED
@@ -43,7 +43,7 @@ class HashCache
43
43
  private
44
44
 
45
45
  def read_file(item)
46
- File.open(item) {|f| doc = Marshal.load(f) }
46
+ File.open(@file_path + '/' + item) {|f| Marshal.load(f) }
47
47
  end
48
48
 
49
49
  def write_file(item, obj)
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.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors: []
7
7