gravitext-xmlprod 1.4.0-java → 1.4.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemtest +0 -0
- data/History.rdoc +5 -0
- data/Manifest.txt +1 -1
- data/NOTICE.txt +1 -1
- data/README.rdoc +1 -1
- data/Rakefile +6 -2
- data/bin/gravitext-xmlprod-perftest +1 -1
- data/lib/gravitext-xmlprod.rb +1 -1
- data/lib/gravitext-xmlprod/{gravitext-xmlprod-1.4.0.jar → gravitext-xmlprod-1.4.1.jar} +0 -0
- data/lib/gravitext-xmlprod/version.rb +2 -2
- data/pom.xml +2 -1
- data/test/test_dom.rb +3 -3
- data/test/test_tree.rb +4 -4
- metadata +24 -30
data/.gemtest
ADDED
File without changes
|
data/History.rdoc
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
=== 1.4.1 (2011-10-1)
|
2
|
+
* Convert ruby tests to minitest
|
3
|
+
* Fix ruby 1.9 compatibility (in test): o.to_a -> Array( o )
|
4
|
+
* Upgrade to rjack-tarpit ~> 1.4 (dev)
|
5
|
+
|
1
6
|
=== 1.4.0 (2010-12-11)
|
2
7
|
* New extensible XML tree package.
|
3
8
|
* Tag, Attribute, Namespace final methods instead of final classes.
|
data/Manifest.txt
CHANGED
data/NOTICE.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
gravitext-xmlprod
|
2
|
-
Copyright (c) 2008-
|
2
|
+
Copyright (c) 2008-2011 David Kellum
|
data/README.rdoc
CHANGED
@@ -16,7 +16,7 @@ extensible XML tree representation in Java.
|
|
16
16
|
|
17
17
|
== License
|
18
18
|
|
19
|
-
Copyright (c) 2008-
|
19
|
+
Copyright (c) 2008-2011 David Kellum
|
20
20
|
|
21
21
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
22
22
|
may not use this file except in compliance with the License. You
|
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH << './lib'
|
|
4
4
|
require 'gravitext-xmlprod/version'
|
5
5
|
|
6
6
|
require 'rubygems'
|
7
|
-
gem 'rjack-tarpit', '~> 1.
|
7
|
+
gem 'rjack-tarpit', '~> 1.4'
|
8
8
|
require 'rjack-tarpit'
|
9
9
|
|
10
10
|
t = RJack::TarPit.new( 'gravitext-xmlprod',
|
@@ -14,7 +14,11 @@ t = RJack::TarPit.new( 'gravitext-xmlprod',
|
|
14
14
|
t.specify do |h|
|
15
15
|
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
16
16
|
h.extra_deps << [ 'gravitext-util', '~> 1.5.0' ]
|
17
|
-
|
17
|
+
|
18
|
+
h.testlib = :minitest
|
19
|
+
h.extra_dev_deps += [ [ 'rjack-jdom', '~> 1.1.0.0' ],
|
20
|
+
[ 'minitest', '~> 2.3' ] ]
|
21
|
+
|
18
22
|
h.rubyforge_name = "gravitext"
|
19
23
|
end
|
20
24
|
|
data/lib/gravitext-xmlprod.rb
CHANGED
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2008-
|
2
|
+
# Copyright (c) 2008-2011 David Kellum
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
5
5
|
# may not use this file except in compliance with the License. You
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
module Gravitext
|
18
18
|
module XMLProd
|
19
|
-
VERSION = '1.4.
|
19
|
+
VERSION = '1.4.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.4.
|
7
|
+
<version>1.4.1</version>
|
8
8
|
<name>Gravitext XML Producer</name>
|
9
9
|
<url>http://gravitext.com/oss/gravitext-xmlprod</url>
|
10
10
|
|
@@ -106,6 +106,7 @@
|
|
106
106
|
</plugin>
|
107
107
|
<plugin>
|
108
108
|
<artifactId>maven-javadoc-plugin</artifactId>
|
109
|
+
<version>2.8</version>
|
109
110
|
<configuration>
|
110
111
|
<links>
|
111
112
|
<link>http://java.sun.com/javase/6/docs/api/</link>
|
data/test/test_dom.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
|
4
4
|
#--
|
5
|
-
# Copyright (c)
|
5
|
+
# Copyright (c) 2008-2011 David Kellum
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
8
8
|
# may not use this file except in compliance with the License. You
|
@@ -18,13 +18,13 @@
|
|
18
18
|
#++
|
19
19
|
|
20
20
|
require 'rubygems'
|
21
|
-
require '
|
21
|
+
require 'minitest/unit'
|
22
22
|
|
23
23
|
$LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
|
24
24
|
|
25
25
|
require 'gravitext-xmlprod'
|
26
26
|
|
27
|
-
class TestDOM <
|
27
|
+
class TestDOM < MiniTest::Unit::TestCase
|
28
28
|
import 'com.gravitext.xml.tree.TreeUtils'
|
29
29
|
import 'com.gravitext.xml.tree.DOMUtils'
|
30
30
|
import 'com.gravitext.xml.tree.Node'
|
data/test/test_tree.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
|
4
4
|
#--
|
5
|
-
# Copyright (c)
|
5
|
+
# Copyright (c) 2008-2011 David Kellum
|
6
6
|
#
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
8
8
|
# may not use this file except in compliance with the License. You
|
@@ -18,13 +18,13 @@
|
|
18
18
|
#++
|
19
19
|
|
20
20
|
require 'rubygems'
|
21
|
-
require '
|
21
|
+
require 'minitest/unit'
|
22
22
|
|
23
23
|
$LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
|
24
24
|
|
25
25
|
require 'gravitext-xmlprod'
|
26
26
|
|
27
|
-
class TestTree <
|
27
|
+
class TestTree < MiniTest::Unit::TestCase
|
28
28
|
import 'com.gravitext.xml.tree.TreeUtils'
|
29
29
|
import 'com.gravitext.xml.tree.SAXUtils'
|
30
30
|
import 'com.gravitext.xml.tree.StAXUtils'
|
@@ -135,7 +135,7 @@ XML
|
|
135
135
|
def show_node( n, d = 0, out = "" )
|
136
136
|
if n.asElement
|
137
137
|
out << ( ' ' * d + '<' + n.name + ' ' +
|
138
|
-
n.namespace_declarations.
|
138
|
+
Array( n.namespace_declarations ).map { |ns|
|
139
139
|
'ns:%s=%s' % [ ns.prefix.to_s, ns.nameIRI ] }.join( ' ' ) +
|
140
140
|
' ' + n.attributes.map { |av| av.attribute.name }.join( ' ' ) )
|
141
141
|
n.children.each { |c| show_node( c, d+1, out ) }
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gravitext-xmlprod
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 4
|
8
|
-
- 0
|
9
|
-
version: 1.4.0
|
4
|
+
prerelease:
|
5
|
+
version: 1.4.1
|
10
6
|
platform: java
|
11
7
|
authors:
|
12
8
|
- David Kellum
|
@@ -14,20 +10,16 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
18
|
-
default_executable:
|
13
|
+
date: 2011-10-01 00:00:00 Z
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
16
|
name: gravitext-util
|
22
17
|
prerelease: false
|
23
18
|
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
24
20
|
requirements:
|
25
21
|
- - ~>
|
26
22
|
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 5
|
30
|
-
- 0
|
31
23
|
version: 1.5.0
|
32
24
|
type: :runtime
|
33
25
|
version_requirements: *id001
|
@@ -35,31 +27,35 @@ dependencies:
|
|
35
27
|
name: rjack-jdom
|
36
28
|
prerelease: false
|
37
29
|
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
38
31
|
requirements:
|
39
32
|
- - ~>
|
40
33
|
- !ruby/object:Gem::Version
|
41
|
-
segments:
|
42
|
-
- 1
|
43
|
-
- 1
|
44
|
-
- 0
|
45
|
-
- 0
|
46
34
|
version: 1.1.0.0
|
47
35
|
type: :development
|
48
36
|
version_requirements: *id002
|
49
37
|
- !ruby/object:Gem::Dependency
|
50
|
-
name:
|
38
|
+
name: minitest
|
51
39
|
prerelease: false
|
52
40
|
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
53
42
|
requirements:
|
54
43
|
- - ~>
|
55
44
|
- !ruby/object:Gem::Version
|
56
|
-
|
57
|
-
- 1
|
58
|
-
- 2
|
59
|
-
- 2
|
60
|
-
version: 1.2.2
|
45
|
+
version: "2.3"
|
61
46
|
type: :development
|
62
47
|
version_requirements: *id003
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rjack-tarpit
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 1.4.0
|
57
|
+
type: :development
|
58
|
+
version_requirements: *id004
|
63
59
|
description: |-
|
64
60
|
XML utilities, includes a fast XML streaming producer and an
|
65
61
|
extensible XML tree representation in Java.
|
@@ -87,8 +83,8 @@ files:
|
|
87
83
|
- test/test_dom.rb
|
88
84
|
- test/test_tree.rb
|
89
85
|
- test/xml/huffingtonpost.full.atom.xml
|
90
|
-
- lib/gravitext-xmlprod/gravitext-xmlprod-1.4.
|
91
|
-
|
86
|
+
- lib/gravitext-xmlprod/gravitext-xmlprod-1.4.1.jar
|
87
|
+
- .gemtest
|
92
88
|
homepage: http://gravitext.rubyforge.org
|
93
89
|
licenses: []
|
94
90
|
|
@@ -99,23 +95,21 @@ rdoc_options:
|
|
99
95
|
require_paths:
|
100
96
|
- lib
|
101
97
|
required_ruby_version: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
102
99
|
requirements:
|
103
100
|
- - ">="
|
104
101
|
- !ruby/object:Gem::Version
|
105
|
-
segments:
|
106
|
-
- 0
|
107
102
|
version: "0"
|
108
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
109
105
|
requirements:
|
110
106
|
- - ">="
|
111
107
|
- !ruby/object:Gem::Version
|
112
|
-
segments:
|
113
|
-
- 0
|
114
108
|
version: "0"
|
115
109
|
requirements: []
|
116
110
|
|
117
111
|
rubyforge_project: gravitext
|
118
|
-
rubygems_version: 1.
|
112
|
+
rubygems_version: 1.8.10
|
119
113
|
signing_key:
|
120
114
|
specification_version: 3
|
121
115
|
summary: XML utilities, includes a fast XML streaming producer and an extensible XML tree representation in Java.
|