spider-gazelle 3.0.8 → 3.0.9

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: 9e50764ce50e969cb4ff956a52b46fd81d218e8c
4
- data.tar.gz: fd68566d8e11d33483c2ff87d35af4634476d45a
3
+ metadata.gz: a1fb9d631f4b6388900685024833ffcc2ea4e27f
4
+ data.tar.gz: e0a966bb202f0981be2fbeafc239165423562779
5
5
  SHA512:
6
- metadata.gz: 5cfc5f4a00325d5c3c7aba6261991581939227f2164cb6470ec0edda82213cdc32704afddcb1d5c11680bd7ccff6b06bf29c24b9530ec7e527cc82f75fc72710
7
- data.tar.gz: 6acdadbe937902e5662c2b508da5edbb77f82422f94b1c23f14de2f3ecc46f50e58bc115c7cc041fb542e30f9c2a8dc45af959f99325f987ee503b8052737c9a
6
+ metadata.gz: c6cb52ce7c34a05e486bba8f4a2cb9194fe65858c22eadf33f60bb8af64c9f5b0c091f73d098e5ff67050404cd2096cd073d34bab79693138e2487e7503dbd69
7
+ data.tar.gz: e2dedb5e93f053a641270dccecb9ef9e32628653f0f89c74dc5be0cb4bee56d76a5825f07acb34b65f51df6e1bbc96c8be1c16a83fd8954b567f655440d1c473
@@ -18,16 +18,14 @@ module SpiderGazelle
18
18
  @shutdown_called = false
19
19
  end
20
20
 
21
- def run(&block)
21
+ def run
22
22
  if @running
23
- @thread.schedule block
23
+ @thread.schedule { yield }
24
24
  else
25
25
  @running = true
26
26
  @thread.notifier method(:log)
27
27
  @thread.on_program_interrupt @shutdown
28
- @thread.run { |thread|
29
- block.call
30
- }
28
+ @thread.run { yield }
31
29
  end
32
30
  end
33
31
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SpiderGazelle
4
- VERSION = '3.0.8'
4
+ VERSION = '3.0.9'
5
5
  EXEC_NAME = 'sg'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spider-gazelle
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.8
4
+ version: 3.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen von Takach
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-12 00:00:00.000000000 Z
11
+ date: 2017-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: http-parser