lib/ardtweeno.rb in ardtweeno-0.3.1 vs lib/ardtweeno.rb in ardtweeno-0.4.0

- old
+ new

@@ -3,11 +3,10 @@ # @description Ardtweeno Gateway # # @date 14-06-2013 #################################################################################################### -require 'rubygems' require 'logger' require 'fileutils' require 'ardtweeno/serialparser' require 'ardtweeno/dispatcher' require 'ardtweeno/exceptions' @@ -15,10 +14,11 @@ require 'ardtweeno/nodemanager' require 'ardtweeno/node' require 'ardtweeno/configreader' require 'ardtweeno/api' require 'ardtweeno/db' +require 'ardtweeno/ringbuffer' ## # Ardtweeno Mesh Network Application Gateway # @@ -35,10 +35,10 @@ Ardtweeno::CONFIGPATH = ENV['HOME'] + "/.ardtweeno" unless defined? Ardtweeno::CONFIGPATH Ardtweeno::DBPATH = Ardtweeno::CONFIGPATH + "/conf.yaml" unless defined? Ardtweeno::DBPATH Ardtweeno::NODEPATH = Ardtweeno::CONFIGPATH + "/nodelist.yaml" unless defined? Ardtweeno::NODEPATH Ardtweeno::POSTPATH = Ardtweeno::CONFIGPATH + "/posts.yaml" unless defined? Ardtweeno::POSTPATH - # Global Variables + # Class Variables @@seqCount = 0 unless defined? @@seqCount @@options = {} unless defined? @@options ##