lib/arborist.rb in arborist-0.0.1.pre20160606141735 vs lib/arborist.rb in arborist-0.0.1.pre20160829140603
- old
+ new
@@ -15,11 +15,11 @@
# Package version
VERSION = '0.0.1'
# Version control revision
- REVISION = %q$Revision: ed4f0655b4b6 $
+ REVISION = %q$Revision: 4cc9924e6b0c $
# The name of the environment variable which can be used to set the config path
CONFIG_ENV = 'ARBORIST_CONFIG'
@@ -166,10 +166,14 @@
end
### Fetch the ZMQ context for Arborist.
def self::zmq_context
- return @zmq_context ||= ZMQ::Context.new
+ return @zmq_context ||= begin
+ self.log.info "Using ZeroMQ %s/CZMQ %s" %
+ [ ZMQ.version.join('.'), ZMQ.czmq_version.join('.') ]
+ ZMQ::Context.new
+ end
end
### Set the ZMQ context if it's already been created by something else.
def self::zmq_context=( existing_context )