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.
- checksums.yaml +4 -4
- data/NEWS.md +19 -0
- data/ext/stringio/stringio.c +7 -7
- 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: 7c1acfcaec0e05165de2f55e7519bc0c5a732d9e00787843daade47fb287726e
|
|
4
|
+
data.tar.gz: 02eda2070ab8b4a9bc125de803c68de0a01845227c5e4f15359931f9fece7bbd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/ext/stringio/stringio.c
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
**********************************************************************/
|
|
14
14
|
|
|
15
15
|
static const char *const
|
|
16
|
-
STRINGIO_VERSION = "3.
|
|
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:
|
|
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:
|
|
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}[
|
|
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:
|
|
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:
|
|
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 {
|
|
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.
|
|
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-
|
|
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.
|
|
45
|
+
changelog_uri: https://github.com/ruby/stringio/releases/tag/v3.2.0
|
|
46
46
|
rdoc_options: []
|
|
47
47
|
require_paths:
|
|
48
48
|
- lib
|