urlarchiver 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/urlarchiver.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d549e64c30bf49d3baad9983d7cb9668ddc48918
4
- data.tar.gz: 1a52f738efd23b7bd543a5e1e15ad38199ef5428
3
+ metadata.gz: e77900bc1d3521861093522153e355c81c5710fc
4
+ data.tar.gz: d2070dce7fd98f8062f093155ce62f1c53ce1ebd
5
5
  SHA512:
6
- metadata.gz: 6027f65e719d22098fb5905dc0dcd004b2e781a161c76d8ff5d5ddae1e613e2065784b99e021b6f03541f517b55715eea253948932236850eb5e838f4e7037f3
7
- data.tar.gz: 3e5c0e073263c07ab6f54ebeb87c6d4c71570fe77795aea616eb90597750f73e7094156a19312bfc0a8c7085d09b369c8155fe58a74127fc3bb61b4b9eca4fbd
6
+ metadata.gz: b8b91120921bec531acf70c9e1250acee3aa0b4052909c59fb279445d6b17258c6ee6e687e88de0270ed077b0f29d420884aaceeb8ec2ecbb329c0e57b04d23a
7
+ data.tar.gz: 20c1c978ba213395bd8c162b9ba2f05050d169b4abd2e6d943ff686ea5b282220ecbe9e8da1eba3198e503b313097b27bfe410e639c9ebbbeef7c39ba0e0eb3a
data/lib/urlarchiver.rb CHANGED
@@ -25,7 +25,7 @@ class URLArchiver
25
25
  file = k.to_file(filepath)
26
26
 
27
27
  # Save output if single url
28
- if @type == "single"
28
+ if @type == "single" || "multifull"
29
29
  @output = Hash.new
30
30
  @output[:pdf_path] = filepath
31
31
  @output[:html_path] = filepath.gsub(".pdf", ".html")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urlarchiver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. C. McGrath
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-26 00:00:00.000000000 Z
11
+ date: 2014-06-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Saves html and pdfs of websites.
14
14
  email: shidash@shidash.com