nigel 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e44822d2203dd4ef6f1298e26e05ec36276c01e
4
- data.tar.gz: 3178f2b57f699296a3a14691c7b5fb2b5f6650de
3
+ metadata.gz: 956767d30f3b769109a9803e99381bcaf36dca8e
4
+ data.tar.gz: 98cc742fa8f061df29d300916687f330af0493d1
5
5
  SHA512:
6
- metadata.gz: 9ed05b114d15094d7bff6ec0620352d7dc8d9a59d73be71be7cdc42e8db893389208af5057cacab0ba62a41972b36c0d179d0788a082039afeaab03b40722272
7
- data.tar.gz: 18f0e1cc94fd4dcd30fbc180b04e34d946b67504e18b0042e8f68411aaa3bbb4e705e408b44b3e8f49e7ffd3dac9052b3672c3269a7583d42e58a7a9d19d582e
6
+ metadata.gz: 787d2f7382aa47ac78b7fa7788d132a8fccc690aa6efba419b34139adbb50137b23ee12c8e938a92716c366ed2ded21b86dc40d94c1fddd1145e19518cc6772f
7
+ data.tar.gz: af78b075addb2ebd0d45658baf3a67432573731d48acd7b157bec015160abc4273b03aecbf1a41274ef11049c5ddac9a45ba7012d92c1545262a9ba115ce172a
@@ -3,10 +3,11 @@ module Nigel
3
3
  class Flood
4
4
  def self.process(options)
5
5
 
6
+ threads = []
7
+
6
8
  Google::Search::Image.new(
7
9
  query: 'Nigel Thornberry').each_with_index do |image, i|
8
10
 
9
- threads = []
10
11
 
11
12
  if(image.uri.include? '.gif')
12
13
 
@@ -14,9 +15,9 @@ module Nigel
14
15
 
15
16
  threads << self.fetch(image.uri, "#{ i }.gif")
16
17
  end
17
-
18
- threads.each(&:join)
19
18
  end
19
+
20
+ threads.each(&:join)
20
21
  end
21
22
 
22
23
  private
@@ -1,3 +1,3 @@
1
1
  module Nigel
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nigel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Latta