wayback_machine_downloader 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9fcedae9ed7f5c2564541c257d652be742513a1a
4
+ data.tar.gz: 92580e6f057564b022cb69f72f0d889bc2d0def2
5
+ SHA512:
6
+ metadata.gz: 43a8ab1c76eb180d6e83b8b72a2b99865d7eed050af33e126adeaf8bd50842b05f8ca3d3ac069bcdfbba26886858a3608b1518c18b5cf1c7cb50d428132588bb
7
+ data.tar.gz: 25fe12b4352d353a78c497443814f97bf675b371b09ba93141f44618d256c25ee250025b8f2f503e78d06cb24b9005806675391404de82d0d5a35489c2d93c38
@@ -14,7 +14,7 @@ class WaybackMachineDownloader
14
14
 
15
15
  include ArchiveAPI
16
16
 
17
- VERSION = "1.1.4"
17
+ VERSION = "1.1.5"
18
18
 
19
19
  attr_accessor :base_url, :directory, :from_timestamp, :to_timestamp, :only_filter, :exclude_filter, :all, :list, :maximum_pages, :threads_count
20
20
 
@@ -201,7 +201,8 @@ class WaybackMachineDownloader
201
201
  end
202
202
 
203
203
  def download_file file_remote_info
204
- file_url = file_remote_info[:file_url]
204
+ current_encoding = "".encoding
205
+ file_url = file_remote_info[:file_url].encode(current_encoding)
205
206
  file_id = file_remote_info[:file_id]
206
207
  file_timestamp = file_remote_info[:timestamp]
207
208
  file_path_elements = file_id.split('/')
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wayback_machine_downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
5
- prerelease:
4
+ version: 1.1.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - hartator
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2016-11-15 00:00:00.000000000 Z
11
+ date: 2017-02-17 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '10.2'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '10.2'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: minitest
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '5.2'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: '5.2'
46
41
  description: Download an entire website from the Wayback Machine. Wayback Machine
@@ -53,34 +48,33 @@ executables:
53
48
  extensions: []
54
49
  extra_rdoc_files: []
55
50
  files:
51
+ - bin/wayback_machine_downloader
56
52
  - lib/wayback_machine_downloader.rb
53
+ - lib/wayback_machine_downloader/archive_api.rb
57
54
  - lib/wayback_machine_downloader/tidy_bytes.rb
58
55
  - lib/wayback_machine_downloader/to_regex.rb
59
- - lib/wayback_machine_downloader/archive_api.rb
60
- - bin/wayback_machine_downloader
61
56
  homepage: https://github.com/hartator/wayback-machine-downloader
62
57
  licenses:
63
58
  - MIT
59
+ metadata: {}
64
60
  post_install_message:
65
61
  rdoc_options: []
66
62
  require_paths:
67
63
  - lib
68
64
  required_ruby_version: !ruby/object:Gem::Requirement
69
- none: false
70
65
  requirements:
71
- - - ! '>='
66
+ - - ">="
72
67
  - !ruby/object:Gem::Version
73
68
  version: 1.9.2
74
69
  required_rubygems_version: !ruby/object:Gem::Requirement
75
- none: false
76
70
  requirements:
77
- - - ! '>='
71
+ - - ">="
78
72
  - !ruby/object:Gem::Version
79
73
  version: '0'
80
74
  requirements: []
81
75
  rubyforge_project:
82
- rubygems_version: 1.8.23.2
76
+ rubygems_version: 2.5.2
83
77
  signing_key:
84
- specification_version: 3
78
+ specification_version: 4
85
79
  summary: Download an entire website from the Wayback Machine.
86
80
  test_files: []