stringio 3.0.9-java → 3.1.1-java

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 79ccfe104334627d141c077d6f7dc7dda6ad930edb4289be015f2120008ce170
4
- data.tar.gz: 4d9c41e8eb1c7c9d3755c868055bf11ce178ca243c69ae8f4b9e74b77e1d4e5f
3
+ metadata.gz: 1e17cfff7eb31d24b3a42b25adaa29f43839caf96fe25bafa02e0f50fde932c6
4
+ data.tar.gz: 4263dcffa714168c2a7a89997829b79e0affbbc4954fdfd0059f50b6745646f0
5
5
  SHA512:
6
- metadata.gz: e0e0c736ea253c9c3a3491e344bfcfd503f49e1984ce5d1e48a94cb0f9447d28bbac7cadadec97f4e2b54133800787d6663ebe97402b8b0d6ebff963dc5b0dd5
7
- data.tar.gz: 226e686e5ef3bc63d535eb14b4093ce8e639efbcc63d0c2265d5182fa8c194853be23d87a8fa8765b837e09093973d833d89a663776b4ba7ca119025831bc7eb
6
+ metadata.gz: 394ed25aac0a69b33c44f46a96edeacf17fd8c3bc82500c7d167392a37bb66f564a4f826bee338abb52051ed40a7e9f30bb53cc5092ae3aa03929a52378cf6f7
7
+ data.tar.gz: c50a8d54d1f60938a8eb20eb03475d37d13c7a61e2e706801879cc17b3b06295cc93232f10727edd7e636071385cfff8a2146cb25a76d4a980e3c4405c0fa38a
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,166 @@
1
+ # News
2
+
3
+ ## 3.1.1 - 2024-06-13
4
+
5
+ ### Improvements
6
+
7
+ * JRuby: Improved.
8
+ * GH-83
9
+ * GH-84
10
+ * GH-85
11
+
12
+ * Added `StringIO::MAX_LENGTH`.
13
+
14
+ * Added support for NULL `StringIO` by `StringIO.new(nil)`.
15
+
16
+ * Improved IO compatibility for partial read.
17
+ * GH-95
18
+ * https://bugs.ruby-lang.org/issues/20418
19
+
20
+ ### Fixes
21
+
22
+ * Fixed a bug that coderange isn't updated after overwrite.
23
+ * Reported by Tiago Cardoso.
24
+ * https://bugs.ruby-lang.org/issues/20185
25
+ * GH-77
26
+ * GH-79
27
+
28
+ ### Thanks
29
+
30
+ * Tiago Cardoso
31
+
32
+ ## 3.1.0 - 2023-11-28
33
+
34
+ ### Fixes
35
+
36
+ * TruffleRuby: Do not compile the C extension
37
+
38
+ GH-71
39
+
40
+ ## 3.0.9 - 2023-11-08
41
+
42
+ ### Improvements
43
+
44
+ * JRuby: Aligned `StringIO#gets` behavior with the C implementation.
45
+
46
+ GH-61
47
+
48
+ ### Fixes
49
+
50
+ * CRuby: Fixed `StringIO#pread` with the length 0.
51
+
52
+ Patch by Jean byroot Boussier.
53
+
54
+ GH-67
55
+
56
+ * CRuby: Fixed a bug that `StringIO#gets` with non ASCII compatible
57
+ encoding such as UTF-16 doesn't detect correct new line characters.
58
+
59
+ Reported by IWAMOTO Kouichi.
60
+
61
+ GH-68
62
+
63
+ ### Thanks
64
+
65
+ * Jean byroot Boussier
66
+
67
+ * IWAMOTO Kouichi
68
+
69
+ ## 3.0.8 - 2023-08-10
70
+
71
+ ### Improvements
72
+
73
+ * Added `StringIO#pread`.
74
+
75
+ Patch by Jean byroot Boussier.
76
+
77
+ GH-56
78
+
79
+ * JRuby: Added `StringIO::VERSION`.
80
+
81
+ GH-57 GH-59
82
+
83
+ ### Thanks
84
+
85
+ * Jean byroot Boussier
86
+
87
+ ## 3.0.7 - 2023-06-02
88
+
89
+ * CRuby: Avoid direct struct usage. This change is for supporting
90
+ Ruby 3.3.
91
+
92
+ GH-54
93
+
94
+ ## 3.0.6 - 2023-04-14
95
+
96
+ ### Improvements
97
+
98
+ * CRuby: Added support for write barrier.
99
+
100
+ * JRuby: Added missing arty-checking.
101
+
102
+ GH-48
103
+
104
+ * JRuby: Added support for `StringIO.new(encoding:)`.
105
+
106
+ GH-45
107
+
108
+ ## 3.0.5 - 2023-02-02
109
+
110
+ ### Improvements
111
+
112
+ ### Fixes
113
+
114
+ * Fixed a bug that `StringIO#gets("2+ character", chomp: true)` did not
115
+ remove the separator at the end.
116
+ [[Bug #19389](https://bugs.ruby-lang.org/issues/19389)]
117
+
118
+ ## 3.0.4 - 2022-12-09
119
+
120
+ ### Improvements
121
+
122
+ * JRuby: Changed to use flag registry.
123
+ [[GitHub#33](https://github.com/ruby/stringio/pull/26)]
124
+
125
+ ## 3.0.3 - 2022-12-08
126
+
127
+ ### Improvements
128
+
129
+ * Improved documents.
130
+ [[GitHub#33](https://github.com/ruby/stringio/pull/33)]
131
+ [[GitHub#34](https://github.com/ruby/stringio/pull/34)]
132
+ [[GitHub#35](https://github.com/ruby/stringio/pull/35)]
133
+ [[GitHub#36](https://github.com/ruby/stringio/pull/36)]
134
+ [[GitHub#37](https://github.com/ruby/stringio/pull/37)]
135
+ [Patch by Burdette Lamar]
136
+
137
+ ### Fixes
138
+
139
+ * Fixed a bug that large `StringIO#ungetc`/`StringIO#ungetbyte`
140
+ break internal buffer.
141
+
142
+ * Fixed a bug that `StringIO#each("2+ character", chomp: true)` cause
143
+ infinite loop.
144
+ [[Bug #18769](https://bugs.ruby-lang.org/issues/18769)]
145
+
146
+ * Fixed a bug that `StringIO#each(nil, chomp: true)` chomps.
147
+ [[Bug #18770](https://bugs.ruby-lang.org/issues/18770)]
148
+
149
+ * Fixed a bug that `StringIO#each("", chomp: true)` isn't compatible
150
+ with `IO#each("", chomp: true)`.
151
+ [[Bug #18768](https://bugs.ruby-lang.org/issues/18768)]
152
+
153
+ * Fixed a bug that `StringIO#set_encoding` doesn't accept external
154
+ and internal encodings pairo.
155
+ [[GitHub#16](https://github.com/ruby/stringio/issues/16)]
156
+ [Reported by Kenta Murata]
157
+
158
+ * Fixed a bug that `StringIO#truncate` isn't compatible with
159
+ `File#truncate`.
160
+
161
+ ### Thanks
162
+
163
+ * Kenta Murata
164
+
165
+ * Burdette Lamar
166
+
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.0.9
4
+ version: 3.1.1
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-08 00:00:00.000000000 Z
12
+ date: 2024-06-13 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