urlarchiver 0.0.6 → 0.0.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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/urlarchiver.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e77900bc1d3521861093522153e355c81c5710fc
4
- data.tar.gz: d2070dce7fd98f8062f093155ce62f1c53ce1ebd
3
+ metadata.gz: 00bc5fc12538f6329fa097e215220e82a3c4da03
4
+ data.tar.gz: 079ff49b704f1582b816fbddd399bbb61b6b6c39
5
5
  SHA512:
6
- metadata.gz: b8b91120921bec531acf70c9e1250acee3aa0b4052909c59fb279445d6b17258c6ee6e687e88de0270ed077b0f29d420884aaceeb8ec2ecbb329c0e57b04d23a
7
- data.tar.gz: 20c1c978ba213395bd8c162b9ba2f05050d169b4abd2e6d943ff686ea5b282220ecbe9e8da1eba3198e503b313097b27bfe410e639c9ebbbeef7c39ba0e0eb3a
6
+ metadata.gz: 75bfa6a48d231e3697ad0d1aea263ad5753178955a68c78ce4141ea304de23ad18dbe8f7448ff664f058f6fd11c9d81a1959442ac366f97f63d29e5afc1b15d4
7
+ data.tar.gz: c8ccf5c67047cc952a664fbafe34276370d9ce7073b86d06b8bcaf83b74742f9306a5d308c90602d649cd5d91edd9f9f59d3e5fc781b5278e204ec7fe2d21dea
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" || "multifull"
28
+ if @type == "single" || @type == "multifull"
29
29
  @output = Hash.new
30
30
  @output[:pdf_path] = filepath
31
31
  @output[:html_path] = filepath.gsub(".pdf", ".html")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: urlarchiver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - M. C. McGrath