stringio 3.1.0-java → 3.1.2-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e3fc75014c55d5fd5f0ef2511a1059ebf587a9a92461b9b9938fa4539c935ab
4
- data.tar.gz: fdb9d648bb5a8ff59f77cfc2446bfe916dddae336b3888ce079cdcd81c6a374b
3
+ metadata.gz: 623563aaece35afe9a6a8f24f80aaedb5358db5a0ad0aa383dd68a328da2ba1f
4
+ data.tar.gz: c7913b7e21ffc6026ac119f9248db1f58a3277cf9426f554999cd4857b0e0f47
5
5
  SHA512:
6
- metadata.gz: be31fb248f499fa7469e9c1c758c397e27420c27cfca4d25f487a1fd7a3a10280896c362c5be069b751cb0f7055bd17c0883b9af33c05dc615ebe9b12af428fb
7
- data.tar.gz: ff784166e3fddf1b50f7ede1f27bbae77ab3122bcdb0aedceb84f00483ca5b1f41d1e1bbc946df6593b5b7e8ba8915d8552c9fa2354c63edb685b8e8bd5407fc
6
+ metadata.gz: 9edcdc35b87986ad7dcaebfd51dc71001ad76c4456a972c94ed1b4863601bd09857a81563ca6de524739ee52eb8d84d6654935726841830e7e0b4a4bb39876e6
7
+ data.tar.gz: 5e8c3d4db106b2c62a45a72dcc6a85245420bff2c3e810f8772c2bf46c828db6704125e6cbd3e53513441daf4e106bc43bf40379f71a4d6eb1e5754841ad04fd
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ COPYING
2
+ *.md
3
+ *.txt
4
+ docs/
5
+ ext/stringio/
data/.rdoc_options ADDED
@@ -0,0 +1,2 @@
1
+ ---
2
+ main_page: README.md
data/COPYING ADDED
@@ -0,0 +1,56 @@
1
+ Ruby is copyrighted free software by Yukihiro Matsumoto <matz@netlab.jp>.
2
+ You can redistribute it and/or modify it under either the terms of the
3
+ 2-clause BSDL (see the file BSDL), or the conditions below:
4
+
5
+ 1. You may make and give away verbatim copies of the source form of the
6
+ software without restriction, provided that you duplicate all of the
7
+ original copyright notices and associated disclaimers.
8
+
9
+ 2. You may modify your copy of the software in any way, provided that
10
+ you do at least ONE of the following:
11
+
12
+ a. place your modifications in the Public Domain or otherwise
13
+ make them Freely Available, such as by posting said
14
+ modifications to Usenet or an equivalent medium, or by allowing
15
+ the author to include your modifications in the software.
16
+
17
+ b. use the modified software only within your corporation or
18
+ organization.
19
+
20
+ c. give non-standard binaries non-standard names, with
21
+ instructions on where to get the original software distribution.
22
+
23
+ d. make other distribution arrangements with the author.
24
+
25
+ 3. You may distribute the software in object code or binary form,
26
+ provided that you do at least ONE of the following:
27
+
28
+ a. distribute the binaries and library files of the software,
29
+ together with instructions (in the manual page or equivalent)
30
+ on where to get the original distribution.
31
+
32
+ b. accompany the distribution with the machine-readable source of
33
+ the software.
34
+
35
+ c. give non-standard binaries non-standard names, with
36
+ instructions on where to get the original software distribution.
37
+
38
+ d. make other distribution arrangements with the author.
39
+
40
+ 4. You may modify and include the part of the software into any other
41
+ software (possibly commercial). But some files in the distribution
42
+ are not written by the author, so that they are not under these terms.
43
+
44
+ For the list of those files and their copying conditions, see the
45
+ file LEGAL.
46
+
47
+ 5. The scripts and library files supplied as input to or produced as
48
+ output from the software do not automatically fall under the
49
+ copyright of the software, but belong to whomever generated them,
50
+ and may be sold commercially, and may be aggregated with this
51
+ software.
52
+
53
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
54
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
55
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
56
+ PURPOSE.
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions
5
+ are met:
6
+ 1. Redistributions of source code must retain the above copyright
7
+ notice, this list of conditions and the following disclaimer.
8
+ 2. Redistributions in binary form must reproduce the above copyright
9
+ notice, this list of conditions and the following disclaimer in the
10
+ documentation and/or other materials provided with the distribution.
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22
+ SUCH DAMAGE.
data/NEWS.md ADDED
@@ -0,0 +1,185 @@
1
+ # News
2
+
3
+ ## 3.1.2 - 2024-11-07
4
+
5
+ ### Improvements
6
+
7
+ * JRuby: Added support for detecting encoding by BOM.
8
+ * GH-100
9
+ * GH-101
10
+
11
+ ### Fixes
12
+
13
+ * CRuby: Fixed a bug that unknown memory may be used by
14
+ `StringIO#ungetc`/`StringIO#ungetbyte`.
15
+ * https://hackerone.com/reports/2805165
16
+ * Reported by manun.
17
+
18
+ ### Thanks
19
+
20
+ * manun
21
+
22
+ ## 3.1.1 - 2024-06-13
23
+
24
+ ### Improvements
25
+
26
+ * JRuby: Improved.
27
+ * GH-83
28
+ * GH-84
29
+ * GH-85
30
+
31
+ * Added `StringIO::MAX_LENGTH`.
32
+
33
+ * Added support for NULL `StringIO` by `StringIO.new(nil)`.
34
+
35
+ * Improved IO compatibility for partial read.
36
+ * GH-95
37
+ * https://bugs.ruby-lang.org/issues/20418
38
+
39
+ ### Fixes
40
+
41
+ * Fixed a bug that coderange isn't updated after overwrite.
42
+ * Reported by Tiago Cardoso.
43
+ * https://bugs.ruby-lang.org/issues/20185
44
+ * GH-77
45
+ * GH-79
46
+
47
+ ### Thanks
48
+
49
+ * Tiago Cardoso
50
+
51
+ ## 3.1.0 - 2023-11-28
52
+
53
+ ### Fixes
54
+
55
+ * TruffleRuby: Do not compile the C extension
56
+
57
+ GH-71
58
+
59
+ ## 3.0.9 - 2023-11-08
60
+
61
+ ### Improvements
62
+
63
+ * JRuby: Aligned `StringIO#gets` behavior with the C implementation.
64
+
65
+ GH-61
66
+
67
+ ### Fixes
68
+
69
+ * CRuby: Fixed `StringIO#pread` with the length 0.
70
+
71
+ Patch by Jean byroot Boussier.
72
+
73
+ GH-67
74
+
75
+ * CRuby: Fixed a bug that `StringIO#gets` with non ASCII compatible
76
+ encoding such as UTF-16 doesn't detect correct new line characters.
77
+
78
+ Reported by IWAMOTO Kouichi.
79
+
80
+ GH-68
81
+
82
+ ### Thanks
83
+
84
+ * Jean byroot Boussier
85
+
86
+ * IWAMOTO Kouichi
87
+
88
+ ## 3.0.8 - 2023-08-10
89
+
90
+ ### Improvements
91
+
92
+ * Added `StringIO#pread`.
93
+
94
+ Patch by Jean byroot Boussier.
95
+
96
+ GH-56
97
+
98
+ * JRuby: Added `StringIO::VERSION`.
99
+
100
+ GH-57 GH-59
101
+
102
+ ### Thanks
103
+
104
+ * Jean byroot Boussier
105
+
106
+ ## 3.0.7 - 2023-06-02
107
+
108
+ * CRuby: Avoid direct struct usage. This change is for supporting
109
+ Ruby 3.3.
110
+
111
+ GH-54
112
+
113
+ ## 3.0.6 - 2023-04-14
114
+
115
+ ### Improvements
116
+
117
+ * CRuby: Added support for write barrier.
118
+
119
+ * JRuby: Added missing arty-checking.
120
+
121
+ GH-48
122
+
123
+ * JRuby: Added support for `StringIO.new(encoding:)`.
124
+
125
+ GH-45
126
+
127
+ ## 3.0.5 - 2023-02-02
128
+
129
+ ### Improvements
130
+
131
+ ### Fixes
132
+
133
+ * Fixed a bug that `StringIO#gets("2+ character", chomp: true)` did not
134
+ remove the separator at the end.
135
+ [[Bug #19389](https://bugs.ruby-lang.org/issues/19389)]
136
+
137
+ ## 3.0.4 - 2022-12-09
138
+
139
+ ### Improvements
140
+
141
+ * JRuby: Changed to use flag registry.
142
+ [[GitHub#33](https://github.com/ruby/stringio/pull/26)]
143
+
144
+ ## 3.0.3 - 2022-12-08
145
+
146
+ ### Improvements
147
+
148
+ * Improved documents.
149
+ [[GitHub#33](https://github.com/ruby/stringio/pull/33)]
150
+ [[GitHub#34](https://github.com/ruby/stringio/pull/34)]
151
+ [[GitHub#35](https://github.com/ruby/stringio/pull/35)]
152
+ [[GitHub#36](https://github.com/ruby/stringio/pull/36)]
153
+ [[GitHub#37](https://github.com/ruby/stringio/pull/37)]
154
+ [Patch by Burdette Lamar]
155
+
156
+ ### Fixes
157
+
158
+ * Fixed a bug that large `StringIO#ungetc`/`StringIO#ungetbyte`
159
+ break internal buffer.
160
+
161
+ * Fixed a bug that `StringIO#each("2+ character", chomp: true)` cause
162
+ infinite loop.
163
+ [[Bug #18769](https://bugs.ruby-lang.org/issues/18769)]
164
+
165
+ * Fixed a bug that `StringIO#each(nil, chomp: true)` chomps.
166
+ [[Bug #18770](https://bugs.ruby-lang.org/issues/18770)]
167
+
168
+ * Fixed a bug that `StringIO#each("", chomp: true)` isn't compatible
169
+ with `IO#each("", chomp: true)`.
170
+ [[Bug #18768](https://bugs.ruby-lang.org/issues/18768)]
171
+
172
+ * Fixed a bug that `StringIO#set_encoding` doesn't accept external
173
+ and internal encodings pairo.
174
+ [[GitHub#16](https://github.com/ruby/stringio/issues/16)]
175
+ [Reported by Kenta Murata]
176
+
177
+ * Fixed a bug that `StringIO#truncate` isn't compatible with
178
+ `File#truncate`.
179
+
180
+ ### Thanks
181
+
182
+ * Kenta Murata
183
+
184
+ * Burdette Lamar
185
+
data/README.md CHANGED
@@ -12,7 +12,7 @@ This library is based on MoonWolf version written in Ruby. Thanks a lot.
12
12
 
13
13
  * `fileno` raises `NotImplementedError`.
14
14
  * encoding conversion is not implemented, and ignored silently.
15
- * there is no `#to_io` method because this is not an `IO.
15
+ * there is no `#to_io` method because this is not an `IO`.
16
16
 
17
17
  ## Installation
18
18
 
data/docs/io.rb ADDED
@@ -0,0 +1,8 @@
1
+ # :stopdoc:
2
+ class IO
3
+ module generic_readable
4
+ end
5
+ module generic_writable
6
+ end
7
+ end
8
+ # :startdoc:
@@ -0,0 +1 @@
1
+ *.[ch]
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stringio
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.2
5
5
  platform: java
6
6
  authors:
7
7
  - Nobu Nakada
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-11-28 00:00:00.000000000 Z
12
+ date: 2024-11-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Pseudo `IO` class from/to `String`.
15
15
  email:
@@ -17,9 +17,24 @@ email:
17
17
  - headius@headius.com
18
18
  executables: []
19
19
  extensions: []
20
- extra_rdoc_files: []
20
+ extra_rdoc_files:
21
+ - ".document"
22
+ - ".rdoc_options"
23
+ - COPYING
24
+ - LICENSE.txt
25
+ - NEWS.md
26
+ - README.md
27
+ - docs/io.rb
28
+ - ext/stringio/.document
21
29
  files:
30
+ - ".document"
31
+ - ".rdoc_options"
32
+ - COPYING
33
+ - LICENSE.txt
34
+ - NEWS.md
22
35
  - README.md
36
+ - docs/io.rb
37
+ - ext/stringio/.document
23
38
  - lib/java/stringio.jar
24
39
  - lib/java/stringio.rb
25
40
  homepage: https://github.com/ruby/stringio