stringio 3.1.3 → 3.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.md +21 -0
  3. data/ext/stringio/stringio.c +2 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53f93bd2c66c51afc07b243b140794c10300067651cd29caae8abbda0f8c67dc
4
- data.tar.gz: 05ec27cf31975fb899df94db40aa310bcea567cd3d3139348334ee62980fae81
3
+ metadata.gz: b9f7204dcb94ef40c0b88ca4b8687976b15343e5d1fd4061f6f950ed233d6559
4
+ data.tar.gz: 2af6f911dcfba01b80c03a0de22ac90edf271f3f4904fc56abd635bb7eb14ee9
5
5
  SHA512:
6
- metadata.gz: 0775a86fb9144d9c8baf319717b06ed4932aa04a6eecddfdc62ca25bb2be574938c28a750766848e138918f553383345ab46b38856083dbafbb651d86169c918
7
- data.tar.gz: b255d4b82939a69f1dbd12f152b8cfa9b9f6c1c4b78fd40a2bec3a22b6e40e7536430c940c5e19800815bbce7fd48c2f1bc5acf88368ed7b63aa0836a88f8ddb
6
+ metadata.gz: c7539db6bc763bb420aa5d0e669d91c4da3405bd78f2897af22eba0f10f22863b03dc5e7ba386d1abf7ef08e7af7a3f36880f55f394594f33ecace42166bbd14
7
+ data.tar.gz: 23ad934633417cfb11780d9017a4e9a7446f07eae7cb1ff4cafb9a118301bbf315fc347fd889ea97ebdd2a67819d1ee07c4af7c53d11b4e060ec9eb095ab7925
data/NEWS.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # News
2
2
 
3
+ ## 3.1.5 - 2025-02-21
4
+
5
+ ### Improvements
6
+
7
+ * JRuby: Improved compatibility with CRuby for `StringIO#seek` with
8
+ frozen string.
9
+ * GH-119
10
+ * GH-121
11
+
12
+ ## 3.1.4 - 2025-02-20
13
+
14
+ ### Improvements
15
+
16
+ * JRuby: Improved compatibility with CRuby.
17
+ * GH-116
18
+
19
+ ### Fixes
20
+
21
+ * CRuby: Fixed a bug that `StringIO` may mutate a shared string.
22
+ * GH-117
23
+
3
24
  ## 3.1.3 - 2025-02-14
4
25
 
5
26
  ### Fixes
@@ -13,7 +13,7 @@
13
13
  **********************************************************************/
14
14
 
15
15
  static const char *const
16
- STRINGIO_VERSION = "3.1.3";
16
+ STRINGIO_VERSION = "3.1.5";
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.3
4
+ version: 3.1.5
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-14 00:00:00.000000000 Z
11
+ date: 2025-02-21 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.3
45
+ changelog_uri: https://github.com/ruby/stringio/releases/tag/v3.1.5
46
46
  rdoc_options: []
47
47
  require_paths:
48
48
  - lib