meteor 0.9.22 → 0.9.23
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/ChangeLog +4 -0
- data/Gemfile.lock +1 -1
- data/lib/meteor/ml/html4/parser_impl.rb +3 -3
- data/lib/meteor/ml/xhtml4/parser_impl.rb +3 -3
- data/lib/meteor/ml/xml/parser_impl.rb +3 -3
- data/lib/meteor.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 280d6970523834a12f7c71dc862add46a45f23ba59f2d7339ee23633323edfa3
|
|
4
|
+
data.tar.gz: 86badb6f85c41fb0c664b8d154c46865e95999634106cac57d01c6db364b9ae9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e72c280022b57f63af5b25dd2c98c9ce9a9ed88259112ce4a177112af8ebe2edfb23acbb78dac4831e1284f92146c81015d99e46ec975439d1fbc2c4a46b5c30
|
|
7
|
+
data.tar.gz: 042247ef84e70b88e82025308f15fae566f2f2175a14bf5cc490565fb70f45456b06a6fcee41f73ed483a935b6d2a3f711d90a27f05fb63c18e92ab6ecf95051
|
data/ChangeLog
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -124,7 +124,7 @@ module Meteor
|
|
|
124
124
|
#
|
|
125
125
|
def analyze_ml
|
|
126
126
|
analyze_content_type
|
|
127
|
-
|
|
127
|
+
analyze_newline
|
|
128
128
|
|
|
129
129
|
@res = nil
|
|
130
130
|
end
|
|
@@ -168,7 +168,7 @@ module Meteor
|
|
|
168
168
|
#
|
|
169
169
|
# analuze document , set newline (ドキュメントをパースし、改行コードをセットする)
|
|
170
170
|
#
|
|
171
|
-
def
|
|
171
|
+
def analyze_newline
|
|
172
172
|
for a in KAIGYO_CODE
|
|
173
173
|
if @root.document.include?(a)
|
|
174
174
|
@root.kaigyo_code = a
|
|
@@ -177,7 +177,7 @@ module Meteor
|
|
|
177
177
|
end
|
|
178
178
|
end
|
|
179
179
|
|
|
180
|
-
protected :
|
|
180
|
+
protected :analyze_newline
|
|
181
181
|
|
|
182
182
|
#
|
|
183
183
|
# get element using tag name (要素のタグ名で検索し、要素を取得する)
|
|
@@ -120,7 +120,7 @@ module Meteor
|
|
|
120
120
|
#
|
|
121
121
|
def analyze_ml
|
|
122
122
|
analyze_content_type
|
|
123
|
-
|
|
123
|
+
analyze_newline
|
|
124
124
|
@res = nil
|
|
125
125
|
end
|
|
126
126
|
|
|
@@ -163,7 +163,7 @@ module Meteor
|
|
|
163
163
|
#
|
|
164
164
|
# analyze document , set newline (ドキュメントをパースし、改行コードをセットする)
|
|
165
165
|
#
|
|
166
|
-
def
|
|
166
|
+
def analyze_newline
|
|
167
167
|
for a in KAIGYO_CODE
|
|
168
168
|
if @root.document.include?(a)
|
|
169
169
|
@root.kaigyo_code = a
|
|
@@ -171,7 +171,7 @@ module Meteor
|
|
|
171
171
|
end
|
|
172
172
|
end
|
|
173
173
|
|
|
174
|
-
private :
|
|
174
|
+
private :analyze_newline
|
|
175
175
|
|
|
176
176
|
def edit_attrs_(elm, attr_name, attr_value)
|
|
177
177
|
if is_match("selected", attr_name) && is_match("option", elm.name)
|
|
@@ -76,7 +76,7 @@ module Meteor
|
|
|
76
76
|
# analyze document (ドキュメントをパースする)
|
|
77
77
|
#
|
|
78
78
|
def analyze_ml
|
|
79
|
-
|
|
79
|
+
analyze_newline
|
|
80
80
|
analyze_content_type
|
|
81
81
|
|
|
82
82
|
@res = nil
|
|
@@ -95,7 +95,7 @@ module Meteor
|
|
|
95
95
|
#
|
|
96
96
|
# analuze document , set newline (ドキュメントをパースし、改行コードをセットする)
|
|
97
97
|
#
|
|
98
|
-
def
|
|
98
|
+
def analyze_newline
|
|
99
99
|
for a in KAIGYO_CODE
|
|
100
100
|
if @root.document.include?(a)
|
|
101
101
|
@root.kaigyo_code = a
|
|
@@ -104,7 +104,7 @@ module Meteor
|
|
|
104
104
|
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
private :
|
|
107
|
+
private :analyze_newline
|
|
108
108
|
|
|
109
109
|
#
|
|
110
110
|
# analyze document , set content type (ドキュメントをパースし、コンテントタイプをセットする)
|
data/lib/meteor.rb
CHANGED
|
@@ -36,11 +36,11 @@ require "meteor/ml/xml/parser_impl"
|
|
|
36
36
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
37
37
|
#
|
|
38
38
|
# @author Yasumasa Ashida
|
|
39
|
-
# @version 0.9.
|
|
39
|
+
# @version 0.9.23
|
|
40
40
|
#
|
|
41
41
|
|
|
42
42
|
module Meteor
|
|
43
|
-
VERSION = "0.9.
|
|
43
|
+
VERSION = "0.9.23"
|
|
44
44
|
|
|
45
45
|
# require 'fileutils'
|
|
46
46
|
|