wayback_machine_downloader 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wayback_machine_downloader.rb +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73c0ec7ba53bc62a4ef801970325bcc56144e04d
|
4
|
+
data.tar.gz: 9096da258417570d757decce4ca2a847f39febac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27407c32b02bfc2d1ffb267c6b654552a37fa17bb0605605bae4a2dd0fe89573a1e0e092ee3bc00faad97895d0e31277c7db0e675ea846c4e8be908d0d3b317f
|
7
|
+
data.tar.gz: 2155e4e85e4192b252c5b92b46237b824b34c6b905d1446586452163255687fc946e1e433cf03c764b6df0c71065be302f742c5a0b631ed4ef748c6ed1cc2d77
|
@@ -9,7 +9,7 @@ require_relative 'wayback_machine_downloader/to_regex'
|
|
9
9
|
|
10
10
|
class WaybackMachineDownloader
|
11
11
|
|
12
|
-
VERSION = "0.4.
|
12
|
+
VERSION = "0.4.9"
|
13
13
|
|
14
14
|
attr_accessor :base_url, :from_timestamp, :to_timestamp, :only_filter, :exclude_filter, :all, :list
|
15
15
|
|
@@ -24,7 +24,11 @@ class WaybackMachineDownloader
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def backup_name
|
27
|
-
@base_url.
|
27
|
+
if @base_url.include? '//'
|
28
|
+
@base_url.split('/')[2]
|
29
|
+
else
|
30
|
+
@base_url
|
31
|
+
end
|
28
32
|
end
|
29
33
|
|
30
34
|
def backup_path
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wayback_machine_downloader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hartator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|