wayback_archiver 0.0.5 → 0.0.6

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: 87e286b40825e15468832af25c42c98b59170b21
4
- data.tar.gz: 9a7eb7e6fc6db882cf23878718626db04847b33a
3
+ metadata.gz: aee3e5d863178ea9283eb2b723e347d17aefa6b1
4
+ data.tar.gz: 597d40bdfa0d7538477dbbba3f6671a72f22d82a
5
5
  SHA512:
6
- metadata.gz: 562641a2749e3a3e644ad7056f365b8d26566809b66606d1c6b95bf5c2db158039dd4a5b1c33677817c5f61d06786a63ec227150534a4dd5d1f958ccd1171dc9
7
- data.tar.gz: d635ae3f69ab3e585bf0519389d9335edfe4848b4c6a41f271f957413bb663d930974f2fe386445fef6f7a5bb7ffc9d0d5c3f3bdf8849c0cc66081b7806d61a8
6
+ metadata.gz: 37f2b0372499d7999eed48a80647218127de4d240c661260f18011456c281956cdf778aa3bd66852be08caa3f0cfc03fdf8668895644197c31d1889cb464ddbe
7
+ data.tar.gz: 505e63ed0e5ce661d96acee3e53d2c950f1e550e611ce64951d7011e76642f595f26e1cc6f522581e3253d1317c1496e861ace64a19032418deb7d14c4f4f991
@@ -22,16 +22,7 @@ module WaybackArchiver
22
22
  end
23
23
  end
24
24
  end
25
- threads.each_with_index do |thread, index|
26
- print_index = index + 1
27
- progress = '['
28
- progress << '#' * print_index
29
- progress << ' ' * (threads.length - print_index)
30
- progress << ']'
31
- procent = ((print_index.to_f/threads.length.to_f) * 100).round(0)
32
- puts "[PROGRESS] #{progress} #{procent}% (#{print_index}/#{threads.length})"
33
- thread.join
34
- end
25
+ threads.each(&:join)
35
26
  all_urls
36
27
  end
37
28
  end
@@ -1,3 +1,3 @@
1
1
  module WaybackArchiver
2
- VERSION = '0.0.5'
2
+ VERSION = '0.0.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wayback_archiver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Burenstam