asip-meteor 0.9.1.2 → 0.9.1.3
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.
- data/lib/meteor.rb +4 -4
- metadata +1 -1
data/lib/meteor.rb
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
19
19
|
#
|
20
20
|
# @author Yasumasa Ashida
|
21
|
-
# @version 0.9.1.
|
21
|
+
# @version 0.9.1.3
|
22
22
|
#
|
23
23
|
|
24
24
|
|
@@ -31,7 +31,7 @@ end
|
|
31
31
|
|
32
32
|
module Meteor
|
33
33
|
|
34
|
-
VERSION = "0.9.1.
|
34
|
+
VERSION = "0.9.1.3"
|
35
35
|
|
36
36
|
#
|
37
37
|
# 要素クラス
|
@@ -97,7 +97,7 @@ module Meteor
|
|
97
97
|
@usable = 0
|
98
98
|
end
|
99
99
|
|
100
|
-
def self.new
|
100
|
+
def self.new!(elm)
|
101
101
|
@obj = elm.parser.e_cache[elm.origin]
|
102
102
|
if @obj then
|
103
103
|
@obj.attributes = String.new(elm.attributes)
|
@@ -2370,7 +2370,7 @@ module Meteor
|
|
2370
2370
|
#@root.hookDocument << TAG_OPEN3 << @root.mutableElement.name << TAG_CLOSE
|
2371
2371
|
@root.hook_document << "<#{@root.mutableElement.name}#{@_attributes}>#{@root.document}</#{@root.mutableElement.name}>"
|
2372
2372
|
end
|
2373
|
-
@root.mutableElement = Element.new
|
2373
|
+
@root.mutableElement = Element.new!(@root.element)
|
2374
2374
|
@root.document = String.new(@root.element.mixed_content)
|
2375
2375
|
else
|
2376
2376
|
if @root.mono_hook then
|