lib/arborist.rb in arborist-0.2.0.pre20170519125456 vs lib/arborist.rb in arborist-0.2.0
- old
+ new
@@ -12,14 +12,14 @@
module Arborist
extend Loggability,
Configurability
# Package version
- VERSION = '0.1.0'
+ VERSION = '0.2.0'
# Version control revision
- REVISION = %q$Revision: 17a8567d86e2 $
+ REVISION = %q$Revision: b7725c5136bc $
# The name of the environment variable which can be used to set the config path
CONFIG_ENV = 'ARBORIST_CONFIG'
@@ -135,10 +135,16 @@
return runner
end
+ ### Return a new Arborist::Client.
+ def self::client
+ return Arborist::Client.new
+ end
+
+
### Load all node and event types
def self::load_all
Arborist::Node.load_all
end
@@ -154,8 +160,9 @@
autoload :MonitorRunner, 'arborist/monitor_runner'
autoload :Node, 'arborist/node'
autoload :Observer, 'arborist/observer'
autoload :ObserverRunner, 'arborist/observer_runner'
autoload :Subscription, 'arborist/subscription'
+ autoload :NodeSubscription, 'arborist/node_subscription'
end # module Arborist