iostreams 1.6.0 → 1.6.1

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: e4fb750e5c3779000fac8f21803b84a5977f111f481b7d4e11a117149cd0d9e6
4
- data.tar.gz: '09cb2dc7ff67afd44d3ebcfefa29f6a1840d1b3dd871c33bc1a06914cd8bee2d'
3
+ metadata.gz: 844554b8eeaaffafc4ec283775cfd3145b0c459f549367dbdb63edcd35893cca
4
+ data.tar.gz: 6384647714a78ff9999c3d049a5222caa7e746059c3ecffbee41098c07465ee1
5
5
  SHA512:
6
- metadata.gz: 0cf2db14e03b9e81e0e39119b35f293408a9d4b6bf3365abc724d95d7376abf7af73720b8fd8d000b70b2eb7abbae20055753e845a77dec2d8d7297e5b6693ba
7
- data.tar.gz: d9fa2194965ef99a99e1ecd0655e84066e6021236d1494336c40693b103d3c7ecb7e5a87e8f179a38c990ad7670d6bd4901b6a7cd8b89757c00a3179d657a1cc
6
+ metadata.gz: 9aed6c1832d502c162b5d9ba42600caf6102e7ac71b3df6b3473a44472dd93fa0513c03ff258675c9ed19838ee1cd0e4e91198389bafa605bfaf051d87431895
7
+ data.tar.gz: dde06ece42e29869d73c17e89a8f5aca8b93b37859663256b218140ccd21032c45a0b7ece40bf4be66ccdc51cb5d580840d1a18d7ec99be42ae716b79381c165
@@ -261,7 +261,7 @@ module IOStreams
261
261
 
262
262
  import(key: key)
263
263
  set_trust(email: email, key_id: key_id)
264
- email
264
+ email || key_id
265
265
  end
266
266
 
267
267
  # Set the trust level for an existing key.
@@ -350,7 +350,7 @@ module IOStreams
350
350
  end
351
351
 
352
352
  def self.version_check
353
- return unless pgp_version.to_f >= 2.3
353
+ return unless pgp_version.to_f >= 2.4
354
354
 
355
355
  raise(
356
356
  Pgp::UnsupportedVersion,
@@ -1,3 +1,3 @@
1
1
  module IOStreams
2
- VERSION = "1.6.0".freeze
2
+ VERSION = "1.6.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iostreams
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reid Morrison
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-08 00:00:00.000000000 Z
11
+ date: 2021-04-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -132,56 +132,56 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  requirements: []
135
- rubygems_version: 3.2.3
135
+ rubygems_version: 3.1.6
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: Input and Output streaming for Ruby.
139
139
  test_files:
140
+ - test/pgp_reader_test.rb
141
+ - test/deprecated_test.rb
140
142
  - test/builder_test.rb
141
- - test/bzip2_reader_test.rb
143
+ - test/line_reader_test.rb
144
+ - test/xlsx_reader_test.rb
145
+ - test/minimal_file_reader.rb
146
+ - test/row_writer_test.rb
147
+ - test/zip_reader_test.rb
142
148
  - test/bzip2_writer_test.rb
143
- - test/deprecated_test.rb
144
- - test/encode_reader_test.rb
145
149
  - test/encode_writer_test.rb
146
- - test/files/embedded_lines_test.csv
147
- - test/files/multiple_files.zip
150
+ - test/gzip_writer_test.rb
151
+ - test/stream_test.rb
152
+ - test/record_reader_test.rb
153
+ - test/pgp_writer_test.rb
154
+ - test/line_writer_test.rb
155
+ - test/row_reader_test.rb
156
+ - test/bzip2_reader_test.rb
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
172
+ - test/files/text.zip
148
173
  - test/files/spreadsheet.xlsx
174
+ - test/files/embedded_lines_test.csv
149
175
  - test/files/test.csv
150
176
  - test/files/test.json
151
- - test/files/test.psv
152
- - test/files/text file.txt
153
- - test/files/text.txt
177
+ - test/files/text.zip.gz
178
+ - test/files/unclosed_quote_test.csv
154
179
  - test/files/text.txt.bz2
155
- - test/files/text.txt.gz
156
180
  - test/files/text.txt.gz.zip
157
- - test/files/text.zip
158
- - test/files/text.zip.gz
181
+ - test/files/text.txt.gz
182
+ - test/files/text.txt
183
+ - test/files/test.psv
159
184
  - test/files/unclosed_quote_large_test.csv
160
- - test/files/unclosed_quote_test.csv
161
185
  - test/files/unclosed_quote_test2.csv
162
- - test/gzip_reader_test.rb
163
- - test/gzip_writer_test.rb
164
- - test/io_streams_test.rb
165
- - test/line_reader_test.rb
166
- - test/line_writer_test.rb
167
- - test/minimal_file_reader.rb
168
- - test/path_test.rb
169
- - test/paths/file_test.rb
170
- - test/paths/http_test.rb
171
- - test/paths/matcher_test.rb
172
- - test/paths/s3_test.rb
173
- - test/paths/sftp_test.rb
174
- - test/pgp_reader_test.rb
175
- - test/pgp_test.rb
176
- - test/pgp_writer_test.rb
177
- - test/record_reader_test.rb
178
- - test/record_writer_test.rb
179
- - test/row_reader_test.rb
180
- - test/row_writer_test.rb
181
- - test/stream_test.rb
182
- - test/tabular_test.rb
183
- - test/test_helper.rb
184
- - test/utils_test.rb
185
- - test/xlsx_reader_test.rb
186
- - test/zip_reader_test.rb
187
- - test/zip_writer_test.rb
186
+ - test/files/multiple_files.zip
187
+ - test/files/text file.txt