wayback_machine_downloader 1.1.5 → 2.0.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9fcedae9ed7f5c2564541c257d652be742513a1a
4
- data.tar.gz: 92580e6f057564b022cb69f72f0d889bc2d0def2
3
+ metadata.gz: e2132b28dea0a03978384a3b337b1107562e644a
4
+ data.tar.gz: e8b6421b78d02505a8498c79cd1761ebb28a3290
5
5
  SHA512:
6
- metadata.gz: 43a8ab1c76eb180d6e83b8b72a2b99865d7eed050af33e126adeaf8bd50842b05f8ca3d3ac069bcdfbba26886858a3608b1518c18b5cf1c7cb50d428132588bb
7
- data.tar.gz: 25fe12b4352d353a78c497443814f97bf675b371b09ba93141f44618d256c25ee250025b8f2f503e78d06cb24b9005806675391404de82d0d5a35489c2d93c38
6
+ metadata.gz: d1d0944e9593aadc02db950aa9826491d727f93c6185f23aac20b24b48da086ed67f2be76d91184d2709610b84160c2665ca4b30bcddfcd4981b6840c988e1d0
7
+ data.tar.gz: aa40fb4da67241e972c86631b9390703ec77643b17b7f62ae2cfbffe49f276ff6f77d901aac87df66aca94d6da7ec3d230ceb001aa9b47f697b5ef1c98b4194f
@@ -14,7 +14,7 @@ option_parser = OptionParser.new do |opts|
14
14
  opts.separator ""
15
15
  opts.separator "Optional options:"
16
16
 
17
- opts.on("-d", "--directory PATH", String, "Directory to save the downloaded files into\n\t\t\t\t Default is ./websites/ plus the domain name") do |t|
17
+ opts.on("-d", "--directory PATH", String, "Directory to save the downloaded files into", "Default is ./websites/ plus the domain name") do |t|
18
18
  options[:directory] = t
19
19
  end
20
20
 
@@ -26,11 +26,11 @@ option_parser = OptionParser.new do |opts|
26
26
  options[:to_timestamp] = t
27
27
  end
28
28
 
29
- opts.on("-o", "--only ONLY_FILTER", String, "Restrict downloading to urls that match this filter\n\t\t\t\t (use // notation for the filter to be treated as a regex)") do |t|
29
+ opts.on("-o", "--only ONLY_FILTER", String, "Restrict downloading to urls that match this filter", "(use // notation for the filter to be treated as a regex)") do |t|
30
30
  options[:only_filter] = t
31
31
  end
32
32
 
33
- opts.on("-x", "--exclude EXCLUDE_FILTER", String, "Skip downloading of urls that match this filter\n\t\t\t\t (use // notation for the filter to be treated as a regex)") do |t|
33
+ opts.on("-x", "--exclude EXCLUDE_FILTER", String, "Skip downloading of urls that match this filter", "(use // notation for the filter to be treated as a regex)") do |t|
34
34
  options[:exclude_filter] = t
35
35
  end
36
36
 
@@ -38,11 +38,11 @@ option_parser = OptionParser.new do |opts|
38
38
  options[:all] = true
39
39
  end
40
40
 
41
- opts.on("-c", "--concurrency NUMBER", Integer, "Number of multiple files to dowload at a time\n\t\t\t\t Default is one file at a time (ie. 20)") do |t|
41
+ opts.on("-c", "--concurrency NUMBER", Integer, "Number of multiple files to dowload at a time", "Default is one file at a time (ie. 20)") do |t|
42
42
  options[:threads_count] = t
43
43
  end
44
44
 
45
- opts.on("-p", "--maximum-snapshot NUMBER", Integer, "Maximum snapshot pages to consider (Default is 100)\n\t\t\t\t Count an average of 150,000 snapshots per page ") do |t|
45
+ opts.on("-p", "--maximum-snapshot NUMBER", Integer, "Maximum snapshot pages to consider (Default is 100)", "Count an average of 150,000 snapshots per page ") do |t|
46
46
  options[:maximum_pages] = t
47
47
  end
48
48
 
@@ -14,7 +14,7 @@ class WaybackMachineDownloader
14
14
 
15
15
  include ArchiveAPI
16
16
 
17
- VERSION = "1.1.5"
17
+ VERSION = "2.0.0"
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
 
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: 1.1.5
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - hartator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-17 00:00:00.000000000 Z
11
+ date: 2017-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake