meteor 0.9.9.0 → 0.9.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/ChangeLog +4 -0
- data/README.md +10 -3
- data/Rakefile +1 -1
- data/demo/{demo_html5.rb → html.rb} +5 -4
- data/demo/{demo_html4.rb → html4.rb} +5 -4
- data/demo/ml/sample.xml +11 -11
- data/demo/ml/sample_html.html +32 -0
- data/demo/ml/sample_html4.html +40 -0
- data/demo/ml/sample_xhtml.html +33 -0
- data/demo/ml/sample_xhtml4.html +33 -0
- data/demo/{demo_xhtml5.rb → xhtml.rb} +6 -5
- data/demo/{demo_xhtml4.rb → xhtml4.rb} +5 -4
- data/demo/{demo_xml.rb → xml.rb} +1 -0
- data/lib/meteor.rb +477 -475
- data/meteor.gemspec +4 -3
- metadata +23 -26
- data/demo/ml/sample_4.html +0 -40
- data/demo/ml/sample_5.html +0 -32
- data/demo/ml/sample_x4.html +0 -33
- data/demo/ml/sample_x5.html +0 -33
data/meteor.gemspec
CHANGED
|
@@ -11,7 +11,9 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
spec.description = %q{A lightweight (X)HTML(5) & XML parser}
|
|
12
12
|
spec.summary = %q{A lightweight (X)HTML(5) & XML parser}
|
|
13
13
|
spec.homepage = %q{https://github.com/asip/meteor}
|
|
14
|
-
spec.license = 'LGPL-2.1'
|
|
14
|
+
spec.license = 'LGPL-2.1-only'
|
|
15
|
+
|
|
16
|
+
spec.required_ruby_version = ">=3.0"
|
|
15
17
|
|
|
16
18
|
spec.files = `git ls-files`.split($/)
|
|
17
19
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
@@ -19,7 +21,6 @@ Gem::Specification.new do |spec|
|
|
|
19
21
|
spec.require_paths = ["lib"]
|
|
20
22
|
|
|
21
23
|
spec.add_development_dependency "bundler", "~> 2.2"
|
|
22
|
-
#spec.add_development_dependency "rake"
|
|
23
|
-
spec.has_rdoc = 'yard'
|
|
24
|
+
# spec.add_development_dependency "rake"
|
|
24
25
|
|
|
25
26
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: meteor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yasumasa Ashida
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
@@ -36,25 +35,24 @@ files:
|
|
|
36
35
|
- Gemfile.lock
|
|
37
36
|
- README.md
|
|
38
37
|
- Rakefile
|
|
39
|
-
- demo/
|
|
40
|
-
- demo/
|
|
41
|
-
- demo/demo_xhtml4.rb
|
|
42
|
-
- demo/demo_xhtml5.rb
|
|
43
|
-
- demo/demo_xml.rb
|
|
38
|
+
- demo/html.rb
|
|
39
|
+
- demo/html4.rb
|
|
44
40
|
- demo/ml/sample.xml
|
|
45
|
-
- demo/ml/
|
|
46
|
-
- demo/ml/
|
|
47
|
-
- demo/ml/
|
|
48
|
-
- demo/ml/
|
|
41
|
+
- demo/ml/sample_html.html
|
|
42
|
+
- demo/ml/sample_html4.html
|
|
43
|
+
- demo/ml/sample_xhtml.html
|
|
44
|
+
- demo/ml/sample_xhtml4.html
|
|
45
|
+
- demo/xhtml.rb
|
|
46
|
+
- demo/xhtml4.rb
|
|
47
|
+
- demo/xml.rb
|
|
49
48
|
- lib/meteor.rb
|
|
50
49
|
- meteor.gemspec
|
|
51
50
|
- test/meteor_test.rb
|
|
52
51
|
- test/test_helper.rb
|
|
53
52
|
homepage: https://github.com/asip/meteor
|
|
54
53
|
licenses:
|
|
55
|
-
- LGPL-2.1
|
|
54
|
+
- LGPL-2.1-only
|
|
56
55
|
metadata: {}
|
|
57
|
-
post_install_message:
|
|
58
56
|
rdoc_options: []
|
|
59
57
|
require_paths:
|
|
60
58
|
- lib
|
|
@@ -62,27 +60,26 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
62
60
|
requirements:
|
|
63
61
|
- - ">="
|
|
64
62
|
- !ruby/object:Gem::Version
|
|
65
|
-
version: '0'
|
|
63
|
+
version: '3.0'
|
|
66
64
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
65
|
requirements:
|
|
68
66
|
- - ">="
|
|
69
67
|
- !ruby/object:Gem::Version
|
|
70
68
|
version: '0'
|
|
71
69
|
requirements: []
|
|
72
|
-
rubygems_version: 3.
|
|
73
|
-
signing_key:
|
|
70
|
+
rubygems_version: 3.6.9
|
|
74
71
|
specification_version: 4
|
|
75
72
|
summary: A lightweight (X)HTML(5) & XML parser
|
|
76
73
|
test_files:
|
|
77
|
-
- demo/
|
|
78
|
-
- demo/
|
|
79
|
-
- demo/demo_xhtml4.rb
|
|
80
|
-
- demo/demo_xhtml5.rb
|
|
81
|
-
- demo/demo_xml.rb
|
|
74
|
+
- demo/html.rb
|
|
75
|
+
- demo/html4.rb
|
|
82
76
|
- demo/ml/sample.xml
|
|
83
|
-
- demo/ml/
|
|
84
|
-
- demo/ml/
|
|
85
|
-
- demo/ml/
|
|
86
|
-
- demo/ml/
|
|
77
|
+
- demo/ml/sample_html.html
|
|
78
|
+
- demo/ml/sample_html4.html
|
|
79
|
+
- demo/ml/sample_xhtml.html
|
|
80
|
+
- demo/ml/sample_xhtml4.html
|
|
81
|
+
- demo/xhtml.rb
|
|
82
|
+
- demo/xhtml4.rb
|
|
83
|
+
- demo/xml.rb
|
|
87
84
|
- test/meteor_test.rb
|
|
88
85
|
- test/test_helper.rb
|
data/demo/ml/sample_4.html
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>HTMLテスト</title>
|
|
4
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
5
|
-
</head>
|
|
6
|
-
|
|
7
|
-
<body bgcolor="#FFFFFF" text="#000000">
|
|
8
|
-
<font id="hello" color="#000000">Hello,World</font>
|
|
9
|
-
<font id="hello2">Hello,World</font>
|
|
10
|
-
<!-- @quark id="hello3" -->Hello,World<!-- /@quark -->
|
|
11
|
-
<form>
|
|
12
|
-
<input id="text1" type="text" >
|
|
13
|
-
|
|
14
|
-
<input id="radio1" type="radio" class="test">
|
|
15
|
-
|
|
16
|
-
<select id="select1">
|
|
17
|
-
<option id="option1">オプション</option>
|
|
18
|
-
</select>
|
|
19
|
-
|
|
20
|
-
<select id="select2">
|
|
21
|
-
<option id="option2">オプション</option>
|
|
22
|
-
</select>
|
|
23
|
-
</form>
|
|
24
|
-
|
|
25
|
-
<table>
|
|
26
|
-
<tr id="loop">
|
|
27
|
-
<td id="aa"></td><td id="bb"></td><td id="cc"></td>
|
|
28
|
-
</tr>
|
|
29
|
-
</table>
|
|
30
|
-
|
|
31
|
-
<div id="sample" style="test" >
|
|
32
|
-
<div>test</div>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<div id="sample" style="test" class="test">
|
|
36
|
-
<div>test</div>
|
|
37
|
-
</div>
|
|
38
|
-
|
|
39
|
-
</body>
|
|
40
|
-
</html>
|
data/demo/ml/sample_5.html
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>HTMLテスト</title>
|
|
4
|
-
<meta http-equiv="Content-Type" charset="utf-8" content="text/html; charset=UTF-8">
|
|
5
|
-
</head>
|
|
6
|
-
|
|
7
|
-
<body bgcolor="#FFFFFF" text="#000000">
|
|
8
|
-
<font id="hello" color="#000000">Hello,World</font>
|
|
9
|
-
<font id="hello2">Hello,World</font>
|
|
10
|
-
<!-- @quark id="hello3" -->Hello,World<!-- /@quark -->
|
|
11
|
-
<form>
|
|
12
|
-
<input id="text1" type="text" >
|
|
13
|
-
|
|
14
|
-
<input id="radio1" type="radio">
|
|
15
|
-
|
|
16
|
-
<select>
|
|
17
|
-
<option id="option1">オプション</option>
|
|
18
|
-
</select>
|
|
19
|
-
|
|
20
|
-
<select id="select2">
|
|
21
|
-
<option id="option2">オプション</option>
|
|
22
|
-
</select>
|
|
23
|
-
</form>
|
|
24
|
-
|
|
25
|
-
<table>
|
|
26
|
-
<tr id="loop">
|
|
27
|
-
<td id="aa"></td><td id="bb"></td><td id="cc"></td>
|
|
28
|
-
</tr>
|
|
29
|
-
</table>
|
|
30
|
-
|
|
31
|
-
</body>
|
|
32
|
-
</html>
|
data/demo/ml/sample_x4.html
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>HTMLテスト</title>
|
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
|
6
|
-
</head>
|
|
7
|
-
|
|
8
|
-
<body bgcolor="#FFFFFF" text="#000000">
|
|
9
|
-
<font id="hello" color="#000000">Hello,World</font>
|
|
10
|
-
<font id="hello2">Hello,World</font>
|
|
11
|
-
<!-- @quark id="hello3" -->Hello,World<!-- /@quark -->
|
|
12
|
-
<form>
|
|
13
|
-
<input id="text1" type="text" />
|
|
14
|
-
|
|
15
|
-
<input id="radio1" type="radio" />
|
|
16
|
-
|
|
17
|
-
<select>
|
|
18
|
-
<option id="option1">オプション</option>
|
|
19
|
-
</select>
|
|
20
|
-
|
|
21
|
-
<select id="select2">
|
|
22
|
-
<option id="option2">オプション</option>
|
|
23
|
-
</select>
|
|
24
|
-
</form>
|
|
25
|
-
|
|
26
|
-
<table>
|
|
27
|
-
<tr id="loop">
|
|
28
|
-
<td id="aa"></td><td id="bb"></td><td id="cc"></td>
|
|
29
|
-
</tr>
|
|
30
|
-
</table>
|
|
31
|
-
|
|
32
|
-
</body>
|
|
33
|
-
</html>
|
data/demo/ml/sample_x5.html
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>HTMLテスト</title>
|
|
5
|
-
<meta http-equiv="Content-Type" charset="utf-8" content="text/html; charset=UTF-8"/>
|
|
6
|
-
</head>
|
|
7
|
-
|
|
8
|
-
<body bgcolor="#FFFFFF" text="#000000">
|
|
9
|
-
<font id="hello" color="#000000">Hello,World</font>
|
|
10
|
-
<font id="hello2">Hello,World</font>
|
|
11
|
-
<!-- @quark id="hello3" -->Hello,World<!-- /@quark -->
|
|
12
|
-
<form>
|
|
13
|
-
<input id="text1" type="text" />
|
|
14
|
-
|
|
15
|
-
<input id="radio1" type="radio" />
|
|
16
|
-
|
|
17
|
-
<select>
|
|
18
|
-
<option id="option1">オプション</option>
|
|
19
|
-
</select>
|
|
20
|
-
|
|
21
|
-
<select id="select2">
|
|
22
|
-
<option id="option2">オプション</option>
|
|
23
|
-
</select>
|
|
24
|
-
</form>
|
|
25
|
-
|
|
26
|
-
<table>
|
|
27
|
-
<tr id="loop">
|
|
28
|
-
<td id="aa"></td><td id="bb"></td><td id="cc"></td>
|
|
29
|
-
</tr>
|
|
30
|
-
</table>
|
|
31
|
-
|
|
32
|
-
</body>
|
|
33
|
-
</html>
|