effscraper 0.0.3 → 0.0.4

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/effscraper.rb +1 -1
  2. metadata +1 -1
data/lib/effscraper.rb CHANGED
@@ -47,7 +47,7 @@ class EFFScraper
47
47
  dochash[:url] = a["href"]
48
48
  `wget -P public/uploads #{dochash[:url]}`
49
49
  path = dochash[:url].split("/")
50
- dochash[:path] = path[path.length-1].chomp.strip
50
+ dochash[:path] = "public/uploads/" + path[path.length-1].chomp.strip
51
51
  end
52
52
  end
53
53
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effscraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: