xml-sax-machines 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 0
3
- :minor: 3
3
+ :minor: 4
4
4
  :patch: 0
5
5
  :build:
@@ -46,6 +46,10 @@ module XML
46
46
  @filter.end_element(name) if @filter
47
47
  end
48
48
 
49
+ def end_element_namespace(name, prefix = nil, uri = nil) #:nodoc:
50
+ @filter.end_element_namespace(name, attributes, prefix, uri, ns) if @filter
51
+ end
52
+
49
53
  def error(string) #:nodoc:
50
54
  @filter.error(string) if @filter
51
55
  end
@@ -55,13 +59,21 @@ module XML
55
59
  end
56
60
 
57
61
  def start_element(name, attributes = []) #:nodoc:
58
- @filter.start_element(name, attributes = []) if @filter
62
+ @filter.start_element(name, attributes) if @filter
63
+ end
64
+
65
+ def start_element_namespace(name, attributes = [], prefix = nil, uri = nil, ns = []) #:nodoc:
66
+ @filter.start_element_namespace(name, attributes, prefix, uri, ns) if @filter
59
67
  end
60
68
 
61
69
  def warning(string) #:nodoc:
62
70
  @filter.warning(string) if @filter
63
71
  end
64
72
 
73
+ def xmldecl(version, encoding, standalone)
74
+ @filter.xmldecl(version, encoding, standalone) if @filter
75
+ end
76
+
65
77
  end # Filter
66
78
  end # SAX
67
79
  end # XML
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{xml-sax-machines}
8
- s.version = "0.3.0"
8
+ s.version = "0.4.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Shane Hanna"]
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 3
7
+ - 4
8
8
  - 0
9
- version: 0.3.0
9
+ version: 0.4.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Shane Hanna