Sha256: 86dfafd1df400ecf7efd0af3661f1c957d0c1b259262a2ae8d15fecdb018d910

Contents?: true

Size: 1.22 KB

Versions: 1

Compression:

Stored size: 1.22 KB

Contents

$:.unshift File.dirname(__FILE__)
$:.unshift File.join(File.dirname(__FILE__), '..')

# Require the necessary files
%w[
  rubygems
  eventmachine
  ext/push_parser
  xml/libxml
  digest/md5
  logger

  blather/core_ext/active_support
  blather/core_ext/libxml

  blather/errors
  blather/errors/sasl_error
  blather/errors/stanza_error
  blather/errors/stream_error
  blather/jid
  blather/roster
  blather/roster_item
  blather/xmpp_node

  blather/stanza
  blather/stanza/iq
  blather/stanza/iq/query
  blather/stanza/iq/roster
  blather/stanza/disco
  blather/stanza/disco/disco_info
  blather/stanza/disco/disco_items
  blather/stanza/message
  blather/stanza/presence
  blather/stanza/presence/status
  blather/stanza/presence/subscription
  blather/stanza/pubsub
  blather/stanza/pubsub/affiliations
  blather/stanza/pubsub/subscriptions
  blather/stanza/pubsub/items

  blather/stream
  blather/stream/client
  blather/stream/component
  blather/stream/stream_handler
  blather/stream/parser
  blather/stream/resource
  blather/stream/sasl
  blather/stream/session
  blather/stream/tls
].each { |r| require r }

XML.indent_tree_output = false

module Blather
  LOG = Logger.new(STDOUT) unless const_defined?(:LOG)
  LOG.level = Logger::INFO
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blather-0.2.2 lib/blather.rb