wayback_machine_downloader 0.4.6 → 0.4.7
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 +2 -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: e029096f51177e5f4929d5f6aa87b57526c0ed80
|
4
|
+
data.tar.gz: 1089cf5998af684937bc93f571e3f4f2c2b17980
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eae916ce693e0c594ec2b4031d84b03e21e4201debece0898492bdd937a55282ae744ad623cfc81a53a4984b5bcf1463955530ae1b927c0c0bb7f9e729516f32
|
7
|
+
data.tar.gz: 42eb44752d7b0761a83549017dba94fa934d6a1a6ab83d508e4fd371f0bfb486f42ed10bd77205357e7a6f045e6fa14db06970343918e5499e8ce4b261c705c1
|
@@ -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.7"
|
13
13
|
|
14
14
|
attr_accessor :base_url, :from_timestamp, :to_timestamp, :only_filter, :exclude_filter, :all, :list
|
15
15
|
|
@@ -148,7 +148,7 @@ class WaybackMachineDownloader
|
|
148
148
|
file_path = backup_path + file_path_elements[0..-1].join('/')
|
149
149
|
end
|
150
150
|
if Gem.win_platform?
|
151
|
-
file_path = file_path.gsub(/[
|
151
|
+
file_path = file_path.gsub(/[:*?&=<>\\|]/) {|s| '%' + s.ord.to_s(16) }
|
152
152
|
end
|
153
153
|
unless File.exists? file_path
|
154
154
|
begin
|
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.7
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|