carnivore 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/carnivore/source.rb +1 -0
- data/lib/carnivore/version.rb +1 -1
- metadata +1 -1
data/CHANGELOG.md
CHANGED
data/lib/carnivore/source.rb
CHANGED
@@ -117,6 +117,7 @@ module Carnivore
|
|
117
117
|
size = block_or_class.workers || 1
|
118
118
|
if(size < 1)
|
119
119
|
warn "Callback class (#{block_or_class}) defined no workers. Skipping."
|
120
|
+
return self
|
120
121
|
elsif(size == 1)
|
121
122
|
debug "Adding callback class (#{block_or_class}) under supervision. Name: #{callback_name(name)}"
|
122
123
|
@callback_supervisor.supervise_as callback_name(name), block_or_class, name
|
data/lib/carnivore/version.rb
CHANGED