bin/gitmqueue-consume in gitmqueue-0.1.0 vs bin/gitmqueue-consume in gitmqueue-0.1.1
- old
+ new
@@ -11,10 +11,12 @@
storage: GitMQueue::Storage.new(path),
name: consumer,
branch: branch
)
+consumer.consume { |m| puts m }
+
begin
- consumer.consume { |m| puts m }
+ sleep
rescue Interrupt
puts 'Bye.'
end