rexml 3.2.5 → 3.2.8

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