Great rubocop-ing
This commit is contained in:
parent
8f75f6516d
commit
04dc48f13d
78 changed files with 457 additions and 607 deletions
|
@ -35,7 +35,7 @@ class Middleman::Extensions::Gzip < ::Middleman::Extension
|
|||
|
||||
# Farm out gzip tasks to threads and put the results in in_queue
|
||||
out_queue = Queue.new
|
||||
threads = num_threads.times.map do
|
||||
num_threads.times.each do
|
||||
Thread.new do
|
||||
while path = in_queue.pop
|
||||
out_queue << gzip_file(path.to_s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue