gravitext-xmlprod 1.5.b.0-java → 1.5.b.1-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,6 @@
1
+ === 1.5.b.1 (2012-1-30)
2
+ * Change Element.to_xml( opts ), add implied_ns support
3
+
1
4
  === 1.5.b.0 (2012-1-29)
2
5
  * New Element ruby extensions and XMLHelper for IO optimization (with
3
6
  perf tests)
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.0.jar
15
+ lib/gravitext-xmlprod/gravitext-xmlprod-1.5.b.1.jar
data/Rakefile CHANGED
@@ -4,4 +4,7 @@ require 'rubygems'
4
4
  require 'bundler/setup'
5
5
  require 'rjack-tarpit'
6
6
 
7
- RJack::TarPit.new( 'gravitext-xmlprod' ).define_tasks
7
+ RJack::TarPit.new( 'gravitext-xmlprod' ) do |tp|
8
+ tp.rdoc_destinations <<
9
+ 'dekellum@rubyforge.org:/var/www/gforge-projects/gravitext/gravitext-xmlprod'
10
+ end
@@ -72,12 +72,13 @@ module Gravitext::XMLProd
72
72
  end
73
73
  end
74
74
 
75
- # Serialize self to String of XML, using specified Indentor and
76
- # QuoteMark to use for attributes.
77
- def to_xml( indentor = Indentor::COMPRESSED, qmark = QuoteMark::DOUBLE )
78
- XMLHelper.write_element( self, indentor, qmark )
75
+ # Serialize self to String of XML, with options.
76
+ def to_xml( opts = {} )
77
+ XMLHelper.write_element( self,
78
+ opts[ :indentor ] || Indentor::COMPRESSED,
79
+ opts[ :qmark ] || QuoteMark::DOUBLE,
80
+ opts[ :implied_ns ] || [] )
79
81
  end
80
-
81
82
  end
82
83
 
83
84
  end
@@ -16,7 +16,7 @@
16
16
 
17
17
  module Gravitext
18
18
  module XMLProd
19
- VERSION = '1.5.b.0'
19
+ VERSION = '1.5.b.1'
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.0</version>
7
+ <version>1.5.b.1</version>
8
8
  <name>Gravitext XML Producer</name>
9
9
  <url>http://gravitext.com/oss/gravitext-xmlprod</url>
10
10
 
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.0
5
+ version: 1.5.b.1
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-30 00:00:00 Z
13
+ date: 2012-01-31 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.0.jar
84
+ - lib/gravitext-xmlprod/gravitext-xmlprod-1.5.b.1.jar
85
85
  homepage: http://gravitext.rubyforge.org
86
86
  licenses: []
87
87