jsl-feedzirra 0.0.12.2 → 0.0.12.3

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.
@@ -6,7 +6,7 @@ module Feedzirra
6
6
  class Filesystem
7
7
 
8
8
  DEFAULTS = {
9
- :path => File.join(%w[ ~ / .feedzirra ])
9
+ :path => File.expand_path(File.join(%w[ ~ / .feedzirra ]))
10
10
  }
11
11
 
12
12
  def initialize(options = { })
@@ -15,7 +15,7 @@ module Feedzirra
15
15
 
16
16
  def get(url)
17
17
  f = filename_for(url)
18
- Marshal.load(File.read(filename_for(url))) if File.exist?(f)
18
+ Marshal.load(File.read(f)) if File.exist?(f)
19
19
  end
20
20
 
21
21
  def set(url, result)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsl-feedzirra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12.2
4
+ version: 0.0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix