test/support/hackaday/dl.rb in docparser-0.2.3 vs test/support/hackaday/dl.rb in docparser-0.3.0
- old
+ new
@@ -1,2 +1,4 @@
#!/usr/bin/env ruby
+# frozen_string_literal: true
+
(1..40).map do |i|
system("wget -O file_#{i}.html http://hackaday.com/page/#{i}/")