rjack-nekohtml 1.9.15.0-java → 1.9.17.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/Manifest.txt +2 -1
- data/NOTICE.txt +1 -2
- data/README.rdoc +1 -1
- data/Rakefile +4 -34
- data/lib/rjack-nekohtml.rb +1 -1
- data/lib/rjack-nekohtml/base.rb +2 -2
- data/lib/rjack-nekohtml/nekohtml-1.9.17.jar +0 -0
- data/pom.xml +1 -1
- data/test/test_nekohtml.rb +7 -6
- metadata +103 -78
- data/lib/rjack-nekohtml/nekohtml-1.9.15.jar +0 -0
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
data/NOTICE.txt
CHANGED
data/README.rdoc
CHANGED
@@ -12,7 +12,7 @@ A gem packaging of the {CyberNeko HTML Parser}[http://nekohtml.sourceforge.net/]
|
|
12
12
|
|
13
13
|
=== rjack-nekohtml gem
|
14
14
|
|
15
|
-
Copyright (c) 2010-
|
15
|
+
Copyright (c) 2010-2012 David Kellum
|
16
16
|
|
17
17
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
18
18
|
may not use this file except in compliance with the License. You
|
data/Rakefile
CHANGED
@@ -1,42 +1,12 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
$LOAD_PATH << './lib'
|
4
|
-
require 'rjack-nekohtml/base'
|
5
|
-
|
6
3
|
require 'rubygems'
|
7
|
-
|
4
|
+
require 'bundler/setup'
|
8
5
|
require 'rjack-tarpit'
|
9
6
|
|
10
|
-
|
11
|
-
|
12
|
-
t = TarPit.new( 'rjack-nekohtml', NekoHTML::VERSION, :java_platform )
|
13
|
-
|
14
|
-
t.specify do |h|
|
15
|
-
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
16
|
-
h.extra_deps << [ 'rjack-xerces', '~> 2.9.1' ]
|
17
|
-
h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/nekohtml"
|
18
|
-
end
|
19
|
-
|
20
|
-
t.jars = [ "nekohtml-#{ NekoHTML::NEKOHTML_VERSION }.jar" ]
|
21
|
-
|
22
|
-
t.assembly_version = 1.0
|
7
|
+
RJack::TarPit.new( 'rjack-nekohtml' ) do |tp|
|
23
8
|
|
24
|
-
|
9
|
+
tp.rdoc_destinations <<
|
10
|
+
'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/nekohtml'
|
25
11
|
|
26
|
-
task :check_pom_deps do
|
27
|
-
t.test_line_match( 'pom.xml',
|
28
|
-
%r[<version>#{ NekoHTML::NEKOHTML_VERSION }</version>] )
|
29
12
|
end
|
30
|
-
|
31
|
-
task :check_history_version do
|
32
|
-
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
|
33
|
-
end
|
34
|
-
task :check_history_date do
|
35
|
-
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
|
36
|
-
end
|
37
|
-
|
38
|
-
task :gem => [ :check_pom_deps, :check_history_version ]
|
39
|
-
task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ]
|
40
|
-
task :push => [ :check_history_date ]
|
41
|
-
|
42
|
-
t.define_tasks
|
data/lib/rjack-nekohtml.rb
CHANGED
data/lib/rjack-nekohtml/base.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2010-
|
2
|
+
# Copyright (c) 2010-2012 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
|
@@ -18,7 +18,7 @@ module RJack
|
|
18
18
|
module NekoHTML
|
19
19
|
|
20
20
|
# Upstream java version
|
21
|
-
NEKOHTML_VERSION = '1.9.
|
21
|
+
NEKOHTML_VERSION = '1.9.17'
|
22
22
|
|
23
23
|
# rjack gem version
|
24
24
|
VERSION = NEKOHTML_VERSION + '.0'
|
Binary file
|
data/pom.xml
CHANGED
data/test/test_nekohtml.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
|
4
4
|
#--
|
5
|
-
# Copyright (c) 2010-
|
5
|
+
# Copyright (c) 2010-2012 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 may
|
@@ -17,20 +17,21 @@
|
|
17
17
|
# permissions and limitations under the License.
|
18
18
|
#++
|
19
19
|
|
20
|
-
require 'java'
|
21
20
|
require 'rubygems'
|
22
|
-
require '
|
21
|
+
require 'bundler/setup'
|
23
22
|
|
24
|
-
|
23
|
+
require 'minitest/unit'
|
24
|
+
require 'minitest/autorun'
|
25
25
|
|
26
26
|
require 'rjack-nekohtml'
|
27
|
+
require 'java'
|
27
28
|
|
28
|
-
class TestNekoHTML <
|
29
|
+
class TestNekoHTML < MiniTest::Unit::TestCase
|
29
30
|
|
30
31
|
import 'org.cyberneko.html.parsers.SAXParser'
|
31
32
|
import 'org.cyberneko.html.parsers.DOMParser'
|
32
33
|
|
33
34
|
def test_load
|
34
|
-
|
35
|
+
pass
|
35
36
|
end
|
36
37
|
end
|
metadata
CHANGED
@@ -1,90 +1,115 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rjack-nekohtml
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 1.9.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 1.9.17.0
|
6
6
|
platform: java
|
7
|
-
authors:
|
8
|
-
|
9
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- David Kellum
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
12
|
+
date: 2012-11-10 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rjack-xerces
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ~>
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: 2.9.1
|
21
|
+
none: false
|
22
|
+
requirement: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.9.1
|
27
|
+
none: false
|
28
|
+
prerelease: false
|
29
|
+
type: :runtime
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: minitest
|
32
|
+
version_requirements: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ~>
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '2.2'
|
37
|
+
none: false
|
38
|
+
requirement: !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ~>
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.2'
|
43
|
+
none: false
|
44
|
+
prerelease: false
|
45
|
+
type: :development
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rjack-tarpit
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - ~>
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.0'
|
53
|
+
none: false
|
54
|
+
requirement: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: '2.0'
|
59
|
+
none: false
|
60
|
+
prerelease: false
|
61
|
+
type: :development
|
62
|
+
description:
|
63
|
+
email:
|
64
|
+
- dek-oss@gravitext.com
|
40
65
|
executables: []
|
41
|
-
|
42
66
|
extensions: []
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
- lib/rjack-nekohtml.rb
|
59
|
-
- lib/rjack-nekohtml/nekohtml-1.9.15.jar
|
60
|
-
- test/test_nekohtml.rb
|
67
|
+
extra_rdoc_files:
|
68
|
+
- History.rdoc
|
69
|
+
- README.rdoc
|
70
|
+
files:
|
71
|
+
- History.rdoc
|
72
|
+
- Manifest.txt
|
73
|
+
- NOTICE.txt
|
74
|
+
- README.rdoc
|
75
|
+
- Rakefile
|
76
|
+
- assembly.xml
|
77
|
+
- pom.xml
|
78
|
+
- lib/rjack-nekohtml/base.rb
|
79
|
+
- lib/rjack-nekohtml.rb
|
80
|
+
- test/test_nekohtml.rb
|
81
|
+
- lib/rjack-nekohtml/nekohtml-1.9.17.jar
|
61
82
|
homepage: http://rjack.rubyforge.org/nekohtml
|
62
83
|
licenses: []
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
84
|
+
post_install_message:
|
85
|
+
rdoc_options:
|
86
|
+
- --main
|
87
|
+
- README.rdoc
|
88
|
+
require_paths:
|
89
|
+
- lib
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
segments:
|
96
|
+
- 0
|
97
|
+
hash: 2
|
71
98
|
none: false
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
segments:
|
105
|
+
- 0
|
106
|
+
hash: 2
|
77
107
|
none: false
|
78
|
-
requirements:
|
79
|
-
- - ">="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: "0"
|
82
108
|
requirements: []
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
signing_key:
|
109
|
+
rubyforge_project:
|
110
|
+
rubygems_version: 1.8.24
|
111
|
+
signing_key:
|
87
112
|
specification_version: 3
|
88
|
-
summary: A gem packaging of the
|
89
|
-
test_files:
|
90
|
-
|
113
|
+
summary: A gem packaging of the CyberNeko HTML Parser
|
114
|
+
test_files: []
|
115
|
+
...
|
Binary file
|