gravitext-xmlprod 1.5.b.1-java → 1.5.b.2-java

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.5.b.2 (2012-2-7)
2
+ * De-final the StAXConsumer; make element/attribute lookup extensible
3
+ * XMLHelper.stax_parse_string supports alt Consumer implementations
4
+
1
5
  === 1.5.b.1 (2012-1-30)
2
6
  * Change Element.to_xml( opts ), add implied_ns support
3
7
 
data/Manifest.txt CHANGED
@@ -12,4 +12,4 @@ test/setup.rb
12
12
  test/test_dom.rb
13
13
  test/test_tree.rb
14
14
  test/xml/huffingtonpost.full.atom.xml
15
- lib/gravitext-xmlprod/gravitext-xmlprod-1.5.b.1.jar
15
+ lib/gravitext-xmlprod/gravitext-xmlprod-1.5.b.2.jar
@@ -21,12 +21,8 @@ require 'com/gravitext/xml/jruby/XML'
21
21
 
22
22
  module Gravitext::XMLProd
23
23
 
24
- import 'com.gravitext.xml.jruby.ReturnElement'
25
-
26
24
  def parse_tree( input )
27
- rval = ReturnElement.new
28
- XMLHelper.stax_parse_string( input, rval )
29
- rval.value
25
+ XMLHelper.stax_parse_string( input, nil )
30
26
  end
31
27
 
32
28
  module_function :parse_tree
@@ -16,7 +16,7 @@
16
16
 
17
17
  module Gravitext
18
18
  module XMLProd
19
- VERSION = '1.5.b.1'
19
+ VERSION = '1.5.b.2'
20
20
 
21
21
  LIB_DIR = File.dirname(__FILE__) # :nodoc:
22
22
  end
data/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
  <groupId>com.gravitext</groupId>
5
5
  <artifactId>gravitext-xmlprod</artifactId>
6
6
  <packaging>jar</packaging>
7
- <version>1.5.b.1</version>
7
+ <version>1.5.b.2</version>
8
8
  <name>Gravitext XML Producer</name>
9
9
  <url>http://gravitext.com/oss/gravitext-xmlprod</url>
10
10
 
data/test/test_tree.rb CHANGED
@@ -85,6 +85,14 @@ XML
85
85
  <doc>
86
86
  <content type="html" xml:lang="en" xml:base="http://www.huffingtonpost.com/thenewswire"/>
87
87
  </doc>
88
+ XML
89
+
90
+ TEST_XML[ :namespace_xml_2 ] = <<XML
91
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
92
+ <body>
93
+ <p>hello</p>
94
+ </body>
95
+ </html>
88
96
  XML
89
97
 
90
98
  TEST_XML.each do | name, xml |
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: gravitext-xmlprod
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 4
5
- version: 1.5.b.1
5
+ version: 1.5.b.2
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-01-31 00:00:00 Z
13
+ date: 2012-02-08 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: gravitext-util
@@ -81,7 +81,7 @@ files:
81
81
  - test/test_dom.rb
82
82
  - test/test_tree.rb
83
83
  - test/xml/huffingtonpost.full.atom.xml
84
- - lib/gravitext-xmlprod/gravitext-xmlprod-1.5.b.1.jar
84
+ - lib/gravitext-xmlprod/gravitext-xmlprod-1.5.b.2.jar
85
85
  homepage: http://gravitext.rubyforge.org
86
86
  licenses: []
87
87
 
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
109
109
  requirements: []
110
110
 
111
111
  rubyforge_project:
112
- rubygems_version: 1.8.11
112
+ rubygems_version: 1.8.15
113
113
  signing_key:
114
114
  specification_version: 3
115
115
  summary: XML utilities, includes a fast XML streaming producer and an extensible XML tree representation in Java.