blather 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/blather/stream/parser.rb +1 -7
- metadata +3 -3
@@ -3,7 +3,7 @@ require 'nokogiri'
|
|
3
3
|
module Blather # :nodoc:
|
4
4
|
class Stream # :nodoc:
|
5
5
|
|
6
|
-
class Parser # :nodoc:
|
6
|
+
class Parser < Nokogiri::XML::SAX::Document # :nodoc:
|
7
7
|
NS_TO_IGNORE = %w[jabber:client jabber:component:accept]
|
8
8
|
|
9
9
|
@@debug = false
|
@@ -25,12 +25,6 @@ class Stream # :nodoc:
|
|
25
25
|
end
|
26
26
|
alias_method :<<, :receive_data
|
27
27
|
|
28
|
-
def start_document; end
|
29
|
-
def end_document; end
|
30
|
-
def start_element(*args); end
|
31
|
-
def end_element(*args); end
|
32
|
-
def warning(*args); end
|
33
|
-
|
34
28
|
def start_element_namespace(elem, attrs, prefix, uri, namespaces)
|
35
29
|
Blather.logger.debug "START ELEM: (#{{:elem => elem, :attrs => attrs, :prefix => prefix, :uri => uri, :ns => namespaces}.inspect})" if @@debug
|
36
30
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Smick
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10
|
12
|
+
date: 2009-11-10 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.4.0
|
34
34
|
version:
|
35
35
|
description: An XMPP DSL for Ruby written on top of EventMachine and Nokogiri
|
36
36
|
email: sprsquish@gmail.com
|