stringio 3.1.9 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.md +19 -0
  3. data/ext/stringio/stringio.c +7 -7
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82c38ce8a492167984eccc4291f550ec4f16c82708e9a11412e6636b5d8c0f3a
4
- data.tar.gz: 78853fef7518aafb4fbdec810923d4ba6c05149cf03e9e998a93c98e2de1a82e
3
+ metadata.gz: 7c1acfcaec0e05165de2f55e7519bc0c5a732d9e00787843daade47fb287726e
4
+ data.tar.gz: 02eda2070ab8b4a9bc125de803c68de0a01845227c5e4f15359931f9fece7bbd
5
5
  SHA512:
6
- metadata.gz: 3015bd4fa76347c286fc9da21ff751ebc17dcbf6980440c4247ad946901a435c4a31b63085ab5c74d9d55893e43f0e15d11acf34872cd2e16f49591961834cf5
7
- data.tar.gz: 07a0567e7ef8e667c979cedcc6af3a26934100df077b8054b578b1632593a0a0f490c03c54c447844380bca39ec6fabbb4be837eb3961a9363078e41e38ff763
6
+ metadata.gz: f86b9853126abe79c1b801c2854cb606d532617218fa2a26dcc0c55c2c0ef457bee707e1d9ce08e6bfaf93c09411a175d244773b23ad0970c91ad3d068ba5718
7
+ data.tar.gz: 76083aecab40178e6c7296351c6cb66f128188000d925062d210cc938917ad8e8316074843e1fc7da295e67d391b1be2bded0409c076700a8e15a16f9dc8cd23
data/NEWS.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # News
2
2
 
3
+ ## 3.2.0 - 2025-12-17
4
+
5
+ ### Improvements
6
+
7
+ * Improved documents.
8
+ * GH-179
9
+ * GH-188
10
+ * GH-189
11
+ * GH-190
12
+ * GH-191
13
+ * GH-192
14
+ * GH-193
15
+ * GH-194
16
+ * Patch by Burdette Lamar
17
+
18
+ ### Thanks
19
+
20
+ * Burdette Lamar
21
+
3
22
  ## 3.1.9 - 2025-12-01
4
23
 
5
24
  ### Improvements
@@ -13,7 +13,7 @@
13
13
  **********************************************************************/
14
14
 
15
15
  static const char *const
16
- STRINGIO_VERSION = "3.1.9";
16
+ STRINGIO_VERSION = "3.2.0";
17
17
 
18
18
  #include <stdbool.h>
19
19
 
@@ -747,7 +747,7 @@ strio_copy(VALUE copy, VALUE orig)
747
747
  * lineno -> current_line_number
748
748
  *
749
749
  * Returns the current line number in +self+;
750
- * see {Line Number}[rdoc-ref:IO@Line+Number].
750
+ * see {Line Number}[rdoc-ref:StringIO@Line+Number].
751
751
  */
752
752
  static VALUE
753
753
  strio_get_lineno(VALUE self)
@@ -760,7 +760,7 @@ strio_get_lineno(VALUE self)
760
760
  * lineno = new_line_number -> new_line_number
761
761
  *
762
762
  * Sets the current line number in +self+ to the given +new_line_number+;
763
- * see {Line Number}[rdoc-ref:IO@Line+Number].
763
+ * see {Line Number}[rdoc-ref:StringIO@Line+Number].
764
764
  */
765
765
  static VALUE
766
766
  strio_set_lineno(VALUE self, VALUE lineno)
@@ -774,7 +774,7 @@ strio_set_lineno(VALUE self, VALUE lineno)
774
774
  * binmode -> self
775
775
  *
776
776
  * Sets the data mode in +self+ to binary mode;
777
- * see {Data Mode}[https://docs.ruby-lang.org/en/master/File.html#class-File-label-Data+Mode].
777
+ * see {Data Mode}[rdoc-ref:StringIO@Data+Mode].
778
778
  *
779
779
  */
780
780
  static VALUE
@@ -835,7 +835,7 @@ strio_reopen(int argc, VALUE *argv, VALUE self)
835
835
  * pos -> stream_position
836
836
  *
837
837
  * Returns the current position (in bytes);
838
- * see {Position}[rdoc-ref:IO@Position].
838
+ * see {Position}[rdoc-ref:StringIO@Position].
839
839
  */
840
840
  static VALUE
841
841
  strio_get_pos(VALUE self)
@@ -848,7 +848,7 @@ strio_get_pos(VALUE self)
848
848
  * pos = new_position -> new_position
849
849
  *
850
850
  * Sets the current position (in bytes);
851
- * see {Position}[rdoc-ref:IO@Position].
851
+ * see {Position}[rdoc-ref:StringIO@Position].
852
852
  */
853
853
  static VALUE
854
854
  strio_set_pos(VALUE self, VALUE pos)
@@ -1888,7 +1888,7 @@ strio_truncate(VALUE self, VALUE len)
1888
1888
  * external_encoding -> encoding or nil
1889
1889
  *
1890
1890
  * Returns an Encoding object that represents the encoding of the string;
1891
- * see {Encoding}[https://docs.ruby-lang.org/en/master/Encoding.html]:
1891
+ * see {Encodings}[rdoc-ref:StringIO@Encodings]:
1892
1892
  *
1893
1893
  * strio = StringIO.new('foo')
1894
1894
  * strio.external_encoding # => #<Encoding:UTF-8>
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.9
4
+ version: 3.2.0
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-12-02 00:00:00.000000000 Z
11
+ date: 2025-12-17 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.9
45
+ changelog_uri: https://github.com/ruby/stringio/releases/tag/v3.2.0
46
46
  rdoc_options: []
47
47
  require_paths:
48
48
  - lib