rexml 3.2.5 → 3.3.0

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: 25c91d880b1d9de11210a1fec235f630b6948e09104aa810b3cdde1a3d277139
4
+ data.tar.gz: b06ffa92b8f883052db3b41fcc025b9b09c0f9117c301476de0264203c94632f
5
5
  SHA512:
6
- metadata.gz: 4b3f5f714c38e22ed05b53389e7d3950896f1da2675527c28ed6c7f91ef18bb49fec90e0120c2f2c911da85db34a3a99e9b6209ba4d5dc4876379c6302a01ace
7
- data.tar.gz: 9b11b1cfcdb9404574f35ad237b141c6d6fd97b34ead68401064228eb7562c2d13576e1b66a75fa1e3ddc70d937ff638c31de03eb9bc47274c01711eb8abcf3f
6
+ metadata.gz: 21fe3b359774dd752c405d74c4888f25dfd55c436ca0f02cc34f602aff88b99f80b97cdb186bf9ccc40e52783b9f90f985d8e87fd0687972cedaf759c808cc9d
7
+ data.tar.gz: d613797dcd6f20b6c1d17deca5235a91456165fbc04dcd4fa0ec419e72bd8ba0aee7eadbb2a7e2a65263f74e0dcfacc99a9976ffe396717c2956b7f5155c2725
data/NEWS.md CHANGED
@@ -1,15 +1,217 @@
1
1
  # News
2
2
 
3
+ ## 3.3.0 - 2024-06-11 {#version-3-3-0}
4
+
5
+ ### Improvements
6
+
7
+ * Added support for strscan 0.7.0 installed with Ruby 2.6.
8
+ * GH-142
9
+ * Reported by Fernando Trigoso.
10
+
11
+ ### Thanks
12
+
13
+ * Fernando Trigoso
14
+
15
+ ## 3.2.9 - 2024-06-09 {#version-3-2-9}
16
+
17
+ ### Improvements
18
+
19
+ * Added support for old strscan.
20
+ * GH-132
21
+ * Reported by Adam.
22
+
23
+ * Improved attribute value parse performance.
24
+ * GH-135
25
+ * Patch by NAITOH Jun.
26
+
27
+ * Improved `REXML::Node#each_recursive` performance.
28
+ * GH-134
29
+ * GH-139
30
+ * Patch by Hiroya Fujinami.
31
+
32
+ * Improved text parse performance.
33
+ * Reported by mprogrammer.
34
+
35
+ ### Thanks
36
+
37
+ * Adam
38
+ * NAITOH Jun
39
+ * Hiroya Fujinami
40
+ * mprogrammer
41
+
42
+ ## 3.2.8 - 2024-05-16 {#version-3-2-8}
43
+
44
+ ### Fixes
45
+
46
+ * Suppressed a warning
47
+
48
+ ## 3.2.7 - 2024-05-16 {#version-3-2-7}
49
+
50
+ ### Improvements
51
+
52
+ * Improve parse performance by using `StringScanner`.
53
+
54
+ * GH-106
55
+ * GH-107
56
+ * GH-108
57
+ * GH-109
58
+ * GH-112
59
+ * GH-113
60
+ * GH-114
61
+ * GH-115
62
+ * GH-116
63
+ * GH-117
64
+ * GH-118
65
+ * GH-119
66
+ * GH-121
67
+
68
+ * Patch by NAITOH Jun.
69
+
70
+ * Improved parse performance when an attribute has many `<`s.
71
+
72
+ * GH-126
73
+
74
+ ### Fixes
75
+
76
+ * XPath: Fixed a bug of `normalize_space(array)`.
77
+
78
+ * GH-110
79
+ * GH-111
80
+
81
+ * Patch by flatisland.
82
+
83
+ * XPath: Fixed a bug that wrong position is used with nested path.
84
+
85
+ * GH-110
86
+ * GH-122
87
+
88
+ * Reported by jcavalieri.
89
+ * Patch by NAITOH Jun.
90
+
91
+ * Fixed a bug that an exception message can't be generated for
92
+ invalid encoding XML.
93
+
94
+ * GH-29
95
+ * GH-123
96
+
97
+ * Reported by DuKewu.
98
+ * Patch by NAITOH Jun.
99
+
100
+ ### Thanks
101
+
102
+ * NAITOH Jun
103
+ * flatisland
104
+ * jcavalieri
105
+ * DuKewu
106
+
107
+ ## 3.2.6 - 2023-07-27 {#version-3-2-6}
108
+
109
+ ### Improvements
110
+
111
+ * Required Ruby 2.5 or later explicitly.
112
+ [GH-69][gh-69]
113
+ [Patch by Ivo Anjo]
114
+
115
+ * Added documentation for maintenance cycle.
116
+ [GH-71][gh-71]
117
+ [Patch by Ivo Anjo]
118
+
119
+ * Added tutorial.
120
+ [GH-77][gh-77]
121
+ [GH-78][gh-78]
122
+ [Patch by Burdette Lamar]
123
+
124
+ * Improved performance and memory usage.
125
+ [GH-94][gh-94]
126
+ [Patch by fatkodima]
127
+
128
+ * `REXML::Parsers::XPathParser#abbreviate`: Added support for
129
+ function arguments.
130
+ [GH-95][gh-95]
131
+ [Reported by pulver]
132
+
133
+ * `REXML::Parsers::XPathParser#abbreviate`: Added support for string
134
+ literal that contains double-quote.
135
+ [GH-96][gh-96]
136
+ [Patch by pulver]
137
+
138
+ * `REXML::Parsers::XPathParser#abbreviate`: Added missing `/` to
139
+ `:descendant_or_self/:self/:parent`.
140
+ [GH-97][gh-97]
141
+ [Reported by pulver]
142
+
143
+ * `REXML::Parsers::XPathParser#abbreviate`: Added support for more patterns.
144
+ [GH-97][gh-97]
145
+ [Reported by pulver]
146
+
147
+ ### Fixes
148
+
149
+ * Fixed a typo in NEWS.
150
+ [GH-72][gh-72]
151
+ [Patch by Spencer Goodman]
152
+
153
+ * Fixed a typo in NEWS.
154
+ [GH-75][gh-75]
155
+ [Patch by Andrew Bromwich]
156
+
157
+ * Fixed documents.
158
+ [GH-87][gh-87]
159
+ [Patch by Alexander Ilyin]
160
+
161
+ * Fixed a bug that `Attriute` convert `'` and `&apos;` even when
162
+ `attribute_quote: :quote` is used.
163
+ [GH-92][gh-92]
164
+ [Reported by Edouard Brière]
165
+
166
+ * Fixed links in tutorial.
167
+ [GH-99][gh-99]
168
+ [Patch by gemmaro]
169
+
170
+
171
+ ### Thanks
172
+
173
+ * Ivo Anjo
174
+
175
+ * Spencer Goodman
176
+
177
+ * Andrew Bromwich
178
+
179
+ * Burdette Lamar
180
+
181
+ * Alexander Ilyin
182
+
183
+ * Edouard Brière
184
+
185
+ * fatkodima
186
+
187
+ * pulver
188
+
189
+ * gemmaro
190
+
191
+ [gh-69]:https://github.com/ruby/rexml/issues/69
192
+ [gh-71]:https://github.com/ruby/rexml/issues/71
193
+ [gh-72]:https://github.com/ruby/rexml/issues/72
194
+ [gh-75]:https://github.com/ruby/rexml/issues/75
195
+ [gh-77]:https://github.com/ruby/rexml/issues/77
196
+ [gh-87]:https://github.com/ruby/rexml/issues/87
197
+ [gh-92]:https://github.com/ruby/rexml/issues/92
198
+ [gh-94]:https://github.com/ruby/rexml/issues/94
199
+ [gh-95]:https://github.com/ruby/rexml/issues/95
200
+ [gh-96]:https://github.com/ruby/rexml/issues/96
201
+ [gh-97]:https://github.com/ruby/rexml/issues/97
202
+ [gh-98]:https://github.com/ruby/rexml/issues/98
203
+ [gh-99]:https://github.com/ruby/rexml/issues/99
204
+
3
205
  ## 3.2.5 - 2021-04-05 {#version-3-2-5}
4
206
 
5
207
  ### Improvements
6
208
 
7
209
  * Add more validations to XPath parser.
8
210
 
9
- * `require "rexml/docuemnt"` by default.
211
+ * `require "rexml/document"` by default.
10
212
  [GitHub#36][Patch by Koichi ITO]
11
213
 
12
- * Don't add `#dcloe` method to core classes globally.
214
+ * Don't add `#dclone` method to core classes globally.
13
215
  [GitHub#37][Patch by Akira Matsuda]
14
216
 
15
217
  * 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>