iostreams 1.3.3 → 1.6.1
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/README.md +13 -1
- data/lib/io_streams/builder.rb +19 -5
- data/lib/io_streams/bzip2/reader.rb +3 -3
- data/lib/io_streams/bzip2/writer.rb +3 -3
- data/lib/io_streams/encode/reader.rb +0 -2
- data/lib/io_streams/errors.rb +12 -0
- data/lib/io_streams/io_streams.rb +0 -4
- data/lib/io_streams/line/reader.rb +28 -16
- data/lib/io_streams/path.rb +3 -1
- data/lib/io_streams/paths/s3.rb +5 -2
- data/lib/io_streams/paths/sftp.rb +5 -2
- data/lib/io_streams/pgp.rb +7 -13
- data/lib/io_streams/stream.rb +60 -5
- data/lib/io_streams/tabular.rb +23 -25
- data/lib/io_streams/tabular/parser/csv.rb +4 -2
- data/lib/io_streams/tabular/parser/fixed.rb +60 -30
- data/lib/io_streams/tabular/utility/csv_row.rb +1 -4
- data/lib/io_streams/version.rb +1 -1
- data/test/builder_test.rb +29 -0
- data/test/bzip2_writer_test.rb +6 -4
- data/test/deprecated_test.rb +2 -0
- data/test/files/test.psv +4 -0
- data/test/files/unclosed_quote_large_test.csv +1658 -0
- data/test/files/unclosed_quote_test2.csv +3 -0
- data/test/line_reader_test.rb +30 -4
- data/test/stream_test.rb +174 -8
- data/test/tabular_test.rb +71 -40
- metadata +28 -23
metadata
CHANGED
@@ -1,18 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iostreams
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reid Morrison
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description:
|
14
14
|
email:
|
15
|
-
- reidmo@gmail.com
|
16
15
|
executables: []
|
17
16
|
extensions: []
|
18
17
|
extra_rdoc_files: []
|
@@ -77,6 +76,7 @@ files:
|
|
77
76
|
- test/files/spreadsheet.xlsx
|
78
77
|
- test/files/test.csv
|
79
78
|
- test/files/test.json
|
79
|
+
- test/files/test.psv
|
80
80
|
- test/files/text file.txt
|
81
81
|
- test/files/text.txt
|
82
82
|
- test/files/text.txt.bz2
|
@@ -84,7 +84,9 @@ files:
|
|
84
84
|
- test/files/text.txt.gz.zip
|
85
85
|
- test/files/text.zip
|
86
86
|
- test/files/text.zip.gz
|
87
|
+
- test/files/unclosed_quote_large_test.csv
|
87
88
|
- test/files/unclosed_quote_test.csv
|
89
|
+
- test/files/unclosed_quote_test2.csv
|
88
90
|
- test/gzip_reader_test.rb
|
89
91
|
- test/gzip_writer_test.rb
|
90
92
|
- test/io_streams_test.rb
|
@@ -111,11 +113,11 @@ files:
|
|
111
113
|
- test/xlsx_reader_test.rb
|
112
114
|
- test/zip_reader_test.rb
|
113
115
|
- test/zip_writer_test.rb
|
114
|
-
homepage: https://
|
116
|
+
homepage: https://iostreams.rocketjob.io
|
115
117
|
licenses:
|
116
118
|
- Apache-2.0
|
117
119
|
metadata: {}
|
118
|
-
post_install_message:
|
120
|
+
post_install_message:
|
119
121
|
rdoc_options: []
|
120
122
|
require_paths:
|
121
123
|
- lib
|
@@ -130,8 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
132
|
- !ruby/object:Gem::Version
|
131
133
|
version: '0'
|
132
134
|
requirements: []
|
133
|
-
rubygems_version: 3.1.
|
134
|
-
signing_key:
|
135
|
+
rubygems_version: 3.1.6
|
136
|
+
signing_key:
|
135
137
|
specification_version: 4
|
136
138
|
summary: Input and Output streaming for Ruby.
|
137
139
|
test_files:
|
@@ -147,17 +149,26 @@ test_files:
|
|
147
149
|
- test/encode_writer_test.rb
|
148
150
|
- test/gzip_writer_test.rb
|
149
151
|
- test/stream_test.rb
|
150
|
-
- test/paths/matcher_test.rb
|
151
|
-
- test/paths/s3_test.rb
|
152
|
-
- test/paths/sftp_test.rb
|
153
|
-
- test/paths/file_test.rb
|
154
|
-
- test/paths/http_test.rb
|
155
152
|
- test/record_reader_test.rb
|
156
153
|
- test/pgp_writer_test.rb
|
157
154
|
- test/line_writer_test.rb
|
158
155
|
- test/row_reader_test.rb
|
159
156
|
- test/bzip2_reader_test.rb
|
160
157
|
- test/zip_writer_test.rb
|
158
|
+
- test/gzip_reader_test.rb
|
159
|
+
- test/encode_reader_test.rb
|
160
|
+
- test/test_helper.rb
|
161
|
+
- test/utils_test.rb
|
162
|
+
- test/tabular_test.rb
|
163
|
+
- test/path_test.rb
|
164
|
+
- test/pgp_test.rb
|
165
|
+
- test/io_streams_test.rb
|
166
|
+
- test/record_writer_test.rb
|
167
|
+
- test/paths/matcher_test.rb
|
168
|
+
- test/paths/s3_test.rb
|
169
|
+
- test/paths/sftp_test.rb
|
170
|
+
- test/paths/file_test.rb
|
171
|
+
- test/paths/http_test.rb
|
161
172
|
- test/files/text.zip
|
162
173
|
- test/files/spreadsheet.xlsx
|
163
174
|
- test/files/embedded_lines_test.csv
|
@@ -169,14 +180,8 @@ test_files:
|
|
169
180
|
- test/files/text.txt.gz.zip
|
170
181
|
- test/files/text.txt.gz
|
171
182
|
- test/files/text.txt
|
183
|
+
- test/files/test.psv
|
184
|
+
- test/files/unclosed_quote_large_test.csv
|
185
|
+
- test/files/unclosed_quote_test2.csv
|
172
186
|
- test/files/multiple_files.zip
|
173
187
|
- test/files/text file.txt
|
174
|
-
- test/gzip_reader_test.rb
|
175
|
-
- test/encode_reader_test.rb
|
176
|
-
- test/test_helper.rb
|
177
|
-
- test/utils_test.rb
|
178
|
-
- test/tabular_test.rb
|
179
|
-
- test/path_test.rb
|
180
|
-
- test/pgp_test.rb
|
181
|
-
- test/io_streams_test.rb
|
182
|
-
- test/record_writer_test.rb
|