acluscraper 0.0.1 → 0.0.2

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/acluscraper.rb +2 -2
  2. metadata +2 -2
@@ -38,9 +38,9 @@ class ACLUScraper
38
38
  end
39
39
 
40
40
  # Download documents
41
- `wget #{dochash[:url]}`
41
+ `wget -P public/uploads #{dochash[:url]}`
42
42
  path = dochash[:url].split("/")
43
- dochash[:path] = path[path.length-1].chomp.strip
43
+ dochash[:path] = "public/uploads/" + path[path.length-1].chomp.strip
44
44
 
45
45
  # Extract metadata and text
46
46
  begin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acluscraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-19 00:00:00.000000000 Z
12
+ date: 2014-03-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Scrapes ACLU court documents then extracts the plaintext and metadata.
15
15
  email: shidash@shidash.com