oga 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/changelog.md +6 -0
- data/ext/c/lexer.c +5 -10
- data/ext/java/org/liboga/xml/Lexer.java +1 -1
- data/ext/ragel/base_lexer.rl +1 -1
- data/lib/oga/version.rb +1 -1
- data/lib/oga/xml/attribute.rb +1 -1
- data/lib/oga/xml/element.rb +1 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b60359c51f8e8eb14fb35fbc7ffdd6da99a6d50
|
4
|
+
data.tar.gz: b7c569316e309823375f84dc628c1f170d3f2540
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57224b74df2f069a99826dcbc49d1bf4efdb7d31c5568c23e8b817952d3708b365198fcbafdd82d95e0e1f7af9b221d6b6a71cc1d09fd4cf2951d177fa4ed456
|
7
|
+
data.tar.gz: b7103802563321ebe4174a328e65d99a00df973abca79e1ef02544e0bcf2484e679db8009c9de98cb971d8912bfe573f0d0250bbbc25f77c5764e6d43f190d6c
|
data/doc/changelog.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
This document contains details of the various releases and their release dates.
|
4
4
|
Dates are in the format `yyyy-mm-dd`.
|
5
5
|
|
6
|
+
## 0.1.3 - 2014-09-24
|
7
|
+
|
8
|
+
This release fixes a problem with serializing attributes using the namespace
|
9
|
+
prefix "xmlns". See <https://github.com/YorickPeterse/oga/issues/47> for more
|
10
|
+
information.
|
11
|
+
|
6
12
|
## 0.1.2 - 2014-09-23
|
7
13
|
|
8
14
|
### SAX API
|
data/ext/c/lexer.c
CHANGED
@@ -1305,19 +1305,14 @@ case 64:
|
|
1305
1305
|
#line 1306 "ext/c/lexer.c"
|
1306
1306
|
if ( (*p) == 60 )
|
1307
1307
|
goto tr95;
|
1308
|
-
goto tr94;
|
1309
|
-
tr94:
|
1310
|
-
#line 304 "ext/ragel/base_lexer.rl"
|
1311
|
-
{ mark = p; }
|
1312
1308
|
goto st65;
|
1313
1309
|
st65:
|
1314
1310
|
if ( ++p == pe )
|
1315
1311
|
goto _test_eof65;
|
1316
1312
|
case 65:
|
1317
|
-
#line 1318 "ext/c/lexer.c"
|
1318
1313
|
if ( (*p) == 60 )
|
1319
1314
|
goto tr97;
|
1320
|
-
goto
|
1315
|
+
goto st65;
|
1321
1316
|
tr97:
|
1322
1317
|
#line 304 "ext/ragel/base_lexer.rl"
|
1323
1318
|
{ mark = p; }
|
@@ -1326,7 +1321,7 @@ st66:
|
|
1326
1321
|
if ( ++p == pe )
|
1327
1322
|
goto _test_eof66;
|
1328
1323
|
case 66:
|
1329
|
-
#line
|
1324
|
+
#line 1325 "ext/c/lexer.c"
|
1330
1325
|
switch( (*p) ) {
|
1331
1326
|
case 33: goto tr98;
|
1332
1327
|
case 45: goto tr98;
|
@@ -1342,7 +1337,7 @@ case 66:
|
|
1342
1337
|
goto tr98;
|
1343
1338
|
} else
|
1344
1339
|
goto tr98;
|
1345
|
-
goto
|
1340
|
+
goto st65;
|
1346
1341
|
tr95:
|
1347
1342
|
#line 304 "ext/ragel/base_lexer.rl"
|
1348
1343
|
{ mark = p; }
|
@@ -1351,7 +1346,7 @@ st67:
|
|
1351
1346
|
if ( ++p == pe )
|
1352
1347
|
goto _test_eof67;
|
1353
1348
|
case 67:
|
1354
|
-
#line
|
1349
|
+
#line 1350 "ext/c/lexer.c"
|
1355
1350
|
switch( (*p) ) {
|
1356
1351
|
case 33: goto tr99;
|
1357
1352
|
case 45: goto tr99;
|
@@ -1367,7 +1362,7 @@ case 67:
|
|
1367
1362
|
goto tr99;
|
1368
1363
|
} else
|
1369
1364
|
goto tr99;
|
1370
|
-
goto
|
1365
|
+
goto st65;
|
1371
1366
|
}
|
1372
1367
|
_test_eof35: cs = 35; goto _test_eof;
|
1373
1368
|
_test_eof36: cs = 36; goto _test_eof;
|
@@ -216,7 +216,7 @@ private static byte[] init__java_lexer_trans_actions_0()
|
|
216
216
|
67, 0, 73, 81, 75, 0, 89, 11, 0, 13, 9, 19,
|
217
217
|
86, 21, 0, 0, 0, 25, 23, 0, 0, 0, 0, 83,
|
218
218
|
0, 0, 0, 0, 31, 7, 7, 0, 0, 35, 33, 27,
|
219
|
-
0, 41, 39, 43, 0, 0, 0, 51, 55, 47,
|
219
|
+
0, 41, 39, 43, 0, 0, 0, 51, 55, 47, 0, 1,
|
220
220
|
61, 1, 59, 57
|
221
221
|
};
|
222
222
|
}
|
data/ext/ragel/base_lexer.rl
CHANGED
data/lib/oga/version.rb
CHANGED
data/lib/oga/xml/attribute.rb
CHANGED
data/lib/oga/xml/element.rb
CHANGED
@@ -307,8 +307,7 @@ module Oga
|
|
307
307
|
private
|
308
308
|
|
309
309
|
##
|
310
|
-
# Registers namespaces based on any "xmlns" attributes.
|
311
|
-
# has been registered the corresponding attribute is removed.
|
310
|
+
# Registers namespaces based on any "xmlns" attributes.
|
312
311
|
#
|
313
312
|
def register_namespaces_from_attributes
|
314
313
|
attributes.each do |attr|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oga
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yorick Peterse
|
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
216
|
version: '0'
|
217
217
|
requirements: []
|
218
218
|
rubyforge_project:
|
219
|
-
rubygems_version: 2.
|
219
|
+
rubygems_version: 2.2.2
|
220
220
|
signing_key:
|
221
221
|
specification_version: 4
|
222
222
|
summary: Oga is an XML/HTML parser written in Ruby.
|