stringio 3.1.3 → 3.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +12 -0
- data/ext/stringio/stringio.c +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6f03f57798ed52e817100679ced99d00819fe959b6d99c31280ef621c32cb68
|
4
|
+
data.tar.gz: aec5aa9b4cd9f7748d5b17a02a6bbe870abce6278822f660731f355fcd94e312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17e9d0e81ec5ec172a690dfb2dde25419d7485ad79b47d4b6894d4aea50ad546e0290d08fbb731f2c360c5c7c3551a053869197940e7c7d11eeb64e5067017e5
|
7
|
+
data.tar.gz: 7b1c47063e31d2889d69462a29a09a090abc9aebc86d4c23fe1d3f5bca5c96e7de63066c6be2756f72d027127f4bfe3c6ea8f0c49b4498e657acf57b830f129a
|
data/NEWS.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# News
|
2
2
|
|
3
|
+
## 3.1.4 - 2025-02-20
|
4
|
+
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* JRuby: Improved compatibility with CRuby.
|
8
|
+
* GH-116
|
9
|
+
|
10
|
+
### Fixes
|
11
|
+
|
12
|
+
* CRuby: Fixed a bug that `StringIO` may mutate a shared string.
|
13
|
+
* GH-117
|
14
|
+
|
3
15
|
## 3.1.3 - 2025-02-14
|
4
16
|
|
5
17
|
### Fixes
|
data/ext/stringio/stringio.c
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
**********************************************************************/
|
14
14
|
|
15
15
|
static const char *const
|
16
|
-
STRINGIO_VERSION = "3.1.
|
16
|
+
STRINGIO_VERSION = "3.1.4";
|
17
17
|
|
18
18
|
#include <stdbool.h>
|
19
19
|
|
@@ -180,6 +180,7 @@ check_modifiable(struct StringIO *ptr)
|
|
180
180
|
else if (OBJ_FROZEN_RAW(ptr->string)) {
|
181
181
|
rb_raise(rb_eIOError, "not modifiable string");
|
182
182
|
}
|
183
|
+
rb_str_modify(ptr->string);
|
183
184
|
}
|
184
185
|
|
185
186
|
static VALUE
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stringio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nobu Nakada
|
8
8
|
- Charles Oliver Nutter
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Pseudo `IO` class from/to `String`.
|
14
14
|
email:
|
@@ -42,7 +42,7 @@ licenses:
|
|
42
42
|
- Ruby
|
43
43
|
- BSD-2-Clause
|
44
44
|
metadata:
|
45
|
-
changelog_uri: https://github.com/ruby/stringio/releases/tag/v3.1.
|
45
|
+
changelog_uri: https://github.com/ruby/stringio/releases/tag/v3.1.4
|
46
46
|
rdoc_options: []
|
47
47
|
require_paths:
|
48
48
|
- lib
|