rexml 3.2.5 → 3.2.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rexml might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc3edd128c37b7817a6db92dfa9d45add8328d9c5f6983652d24562cd6968672
4
- data.tar.gz: 1c604fe6aa4908d8c13134c8f0966bd1483a01ad2ccca0ad1a85057e39f36e54
3
+ metadata.gz: 8c54a60c677a865a023fc0bf1fc403419b530cbc7b306bc7da18f1489e02cd79
4
+ data.tar.gz: 5dbbae05d90151d6d4ea9d8b5a4a3097e144ab79bb346c30e75c3d62cbc05dd7
5
5
  SHA512:
6
- metadata.gz: 4b3f5f714c38e22ed05b53389e7d3950896f1da2675527c28ed6c7f91ef18bb49fec90e0120c2f2c911da85db34a3a99e9b6209ba4d5dc4876379c6302a01ace
7
- data.tar.gz: 9b11b1cfcdb9404574f35ad237b141c6d6fd97b34ead68401064228eb7562c2d13576e1b66a75fa1e3ddc70d937ff638c31de03eb9bc47274c01711eb8abcf3f
6
+ metadata.gz: 5579b5fe5f6a5488d78d0ed19cdad1498aeb44bbe0b72dca9895391d1a3d1aaaed353fa14e7366d3c08ab6f723e4bb11d6cdb7a667fd310d5cdcec954bb0e77e
7
+ data.tar.gz: 2db805399a3cf3c6cf5bced1157e3c84539c5f3d12d806db951c5c3fd6aaadb86b3a4feaa0ea60a2771432009f873df3be3a688947156be9a63039a5f9bf449c
data/NEWS.md CHANGED
@@ -1,15 +1,165 @@
1
1
  # News
2
2
 
3
+ ## 3.2.7 - 2024-05-16 {#version-3-2-7}
4
+
5
+ ### Improvements
6
+
7
+ * Improve parse performance by using `StringScanner`.
8
+
9
+ * GH-106
10
+ * GH-107
11
+ * GH-108
12
+ * GH-109
13
+ * GH-112
14
+ * GH-113
15
+ * GH-114
16
+ * GH-115
17
+ * GH-116
18
+ * GH-117
19
+ * GH-118
20
+ * GH-119
21
+ * GH-121
22
+
23
+ * Patch by NAITOH Jun.
24
+
25
+ * Improved parse performance when an attribute has many `<`s.
26
+
27
+ * GH-124
28
+
29
+ ### Fixes
30
+
31
+ * XPath: Fixed a bug of `normalize_space(array)`.
32
+
33
+ * GH-110
34
+ * GH-111
35
+
36
+ * Patch by flatisland.
37
+
38
+ * XPath: Fixed a bug that wrong position is used with nested path.
39
+
40
+ * GH-110
41
+ * GH-122
42
+
43
+ * Reported by jcavalieri.
44
+ * Patch by NAITOH Jun.
45
+
46
+ * Fixed a bug that an exception message can't be generated for
47
+ invalid encoding XML.
48
+
49
+ * GH-29
50
+ * GH-123
51
+
52
+ * Reported by DuKewu.
53
+ * Patch by NAITOH Jun.
54
+
55
+ w## 3.2.6 - 2023-07-27 {#version-3-2-6}
56
+
57
+ ### Improvements
58
+
59
+ * Required Ruby 2.5 or later explicitly.
60
+ [GH-69][gh-69]
61
+ [Patch by Ivo Anjo]
62
+
63
+ * Added documentation for maintenance cycle.
64
+ [GH-71][gh-71]
65
+ [Patch by Ivo Anjo]
66
+
67
+ * Added tutorial.
68
+ [GH-77][gh-77]
69
+ [GH-78][gh-78]
70
+ [Patch by Burdette Lamar]
71
+
72
+ * Improved performance and memory usage.
73
+ [GH-94][gh-94]
74
+ [Patch by fatkodima]
75
+
76
+ * `REXML::Parsers::XPathParser#abbreviate`: Added support for
77
+ function arguments.
78
+ [GH-95][gh-95]
79
+ [Reported by pulver]
80
+
81
+ * `REXML::Parsers::XPathParser#abbreviate`: Added support for string
82
+ literal that contains double-quote.
83
+ [GH-96][gh-96]
84
+ [Patch by pulver]
85
+
86
+ * `REXML::Parsers::XPathParser#abbreviate`: Added missing `/` to
87
+ `:descendant_or_self/:self/:parent`.
88
+ [GH-97][gh-97]
89
+ [Reported by pulver]
90
+
91
+ * `REXML::Parsers::XPathParser#abbreviate`: Added support for more patterns.
92
+ [GH-97][gh-97]
93
+ [Reported by pulver]
94
+
95
+ ### Fixes
96
+
97
+ * Fixed a typo in NEWS.
98
+ [GH-72][gh-72]
99
+ [Patch by Spencer Goodman]
100
+
101
+ * Fixed a typo in NEWS.
102
+ [GH-75][gh-75]
103
+ [Patch by Andrew Bromwich]
104
+
105
+ * Fixed documents.
106
+ [GH-87][gh-87]
107
+ [Patch by Alexander Ilyin]
108
+
109
+ * Fixed a bug that `Attriute` convert `'` and `&apos;` even when
110
+ `attribute_quote: :quote` is used.
111
+ [GH-92][gh-92]
112
+ [Reported by Edouard Brière]
113
+
114
+ * Fixed links in tutorial.
115
+ [GH-99][gh-99]
116
+ [Patch by gemmaro]
117
+
118
+
119
+ ### Thanks
120
+
121
+ * Ivo Anjo
122
+
123
+ * Spencer Goodman
124
+
125
+ * Andrew Bromwich
126
+
127
+ * Burdette Lamar
128
+
129
+ * Alexander Ilyin
130
+
131
+ * Edouard Brière
132
+
133
+ * fatkodima
134
+
135
+ * pulver
136
+
137
+ * gemmaro
138
+
139
+ [gh-69]:https://github.com/ruby/rexml/issues/69
140
+ [gh-71]:https://github.com/ruby/rexml/issues/71
141
+ [gh-72]:https://github.com/ruby/rexml/issues/72
142
+ [gh-75]:https://github.com/ruby/rexml/issues/75
143
+ [gh-77]:https://github.com/ruby/rexml/issues/77
144
+ [gh-87]:https://github.com/ruby/rexml/issues/87
145
+ [gh-92]:https://github.com/ruby/rexml/issues/92
146
+ [gh-94]:https://github.com/ruby/rexml/issues/94
147
+ [gh-95]:https://github.com/ruby/rexml/issues/95
148
+ [gh-96]:https://github.com/ruby/rexml/issues/96
149
+ [gh-97]:https://github.com/ruby/rexml/issues/97
150
+ [gh-98]:https://github.com/ruby/rexml/issues/98
151
+ [gh-99]:https://github.com/ruby/rexml/issues/99
152
+
3
153
  ## 3.2.5 - 2021-04-05 {#version-3-2-5}
4
154
 
5
155
  ### Improvements
6
156
 
7
157
  * Add more validations to XPath parser.
8
158
 
9
- * `require "rexml/docuemnt"` by default.
159
+ * `require "rexml/document"` by default.
10
160
  [GitHub#36][Patch by Koichi ITO]
11
161
 
12
- * Don't add `#dcloe` method to core classes globally.
162
+ * Don't add `#dclone` method to core classes globally.
13
163
  [GitHub#37][Patch by Akira Matsuda]
14
164
 
15
165
  * Add more documentations.
data/README.md CHANGED
@@ -6,7 +6,7 @@ REXML supports both tree and stream document parsing. Stream parsing is faster (
6
6
 
7
7
  ## API
8
8
 
9
- See the {API documentation}[https://ruby.github.io/rexml/]
9
+ See the [API documentation](https://ruby.github.io/rexml/).
10
10
 
11
11
  ## Usage
12
12
 
@@ -33,6 +33,15 @@ doc = Document.new string
33
33
 
34
34
  So parsing a string is just as easy as parsing a file.
35
35
 
36
+ ## Support
37
+
38
+ REXML support follows the same maintenance cycle as Ruby releases, as shown on <https://www.ruby-lang.org/en/downloads/branches/>.
39
+
40
+ If you are running on an end-of-life Ruby, do not expect modern REXML releases to be compatible with it; in fact, it's recommended that you DO NOT use this gem, and instead use the REXML version that came bundled with your end-of-life Ruby version.
41
+
42
+ The `required_ruby_version` on the gemspec is kept updated on a [best-effort basis](https://github.com/ruby/rexml/pull/70) by the community.
43
+ Up to version 3.2.5, this information was not set. That version [is known broken with at least Ruby < 2.3](https://github.com/ruby/rexml/issues/69).
44
+
36
45
  ## Development
37
46
 
38
47
  After checking out the repo, run `rake test` to run the tests.
@@ -369,7 +369,7 @@ to retrieve the first text node in a specified element:
369
369
 
370
370
  Use method
371
371
  {Element#has_text?}[../../../../REXML/Element.html#method-i-has_text-3F]
372
- to determine whethe the element has text:
372
+ to determine whether the element has text:
373
373
 
374
374
  e = REXML::Element.new('foo')
375
375
  e.has_text? # => false
@@ -486,7 +486,7 @@ to remove a specific namespace from the element:
486
486
 
487
487
  Use method
488
488
  {Element#namespace}[../../../../REXML/Element.html#method-i-namespace]
489
- to retrieve a speficic namespace URI for the element:
489
+ to retrieve a specific namespace URI for the element:
490
490
 
491
491
  xml_string = <<-EOT
492
492
  <root>