wayback_machine_downloader 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 77c3cb9b38d076dbaa7c30790c828ed63dacf2a6
4
- data.tar.gz: 1e47ae74b6d2c0bbbe2ae99bc4622115c1a6496c
3
+ metadata.gz: d037bdcdc516a9366f9d6181d63e61970f3a2ec1
4
+ data.tar.gz: 03eef551fbb7be1d6dfb29f05c380e517b2870f8
5
5
  SHA512:
6
- metadata.gz: 0326d70c1cf269099418b37302b01b22433931e217cf6d37b1bfd9fd6bcd1ced45e80ff2d0aad72d7c695ac4c25fa59d5e512a4b4674f182d4602647602ccb23
7
- data.tar.gz: 9a0bf4eed69041ce156075a7f206237f9c1f5974b63fcb23370c19139a996d5fd143c1ff1fbe4640ce9cf5d36e36ed2e20916db504cbff9d0949f72f4086626d
6
+ metadata.gz: ee25c7e833907143a08d9b6438482d1c9bc76219eb62b4ac179ef770c323b60c3956bb7c1c1bd33ce0e7f5b3cda620fda4c06258837066762541b4404fd4d2cc
7
+ data.tar.gz: cffca8734ae0ee449b35aae26f77032cd27bd749bbc34e925a64ea51f52a8a55c9b7fe85c5a3c2a8787715fba15f5c4138a04d4499ab170a0404d4fb0c2624d2
@@ -14,7 +14,7 @@ class WaybackMachineDownloader
14
14
 
15
15
  include ArchiveAPI
16
16
 
17
- VERSION = "2.2.0"
17
+ VERSION = "2.2.1"
18
18
 
19
19
  attr_accessor :base_url, :exact_url, :directory, :all_timestamps,
20
20
  :from_timestamp, :to_timestamp, :only_filter, :exclude_filter,
@@ -260,6 +260,7 @@ class WaybackMachineDownloader
260
260
  file_path = backup_path + file_path_elements[0..-1].join('/')
261
261
  end
262
262
  if Gem.win_platform?
263
+ dir_path = dir_path.gsub(/[:*?&=<>\\|]/) {|s| '%' + s.ord.to_s(16) }
263
264
  file_path = file_path.gsub(/[:*?&=<>\\|]/) {|s| '%' + s.ord.to_s(16) }
264
265
  end
265
266
  unless File.exist? file_path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wayback_machine_downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - hartator