csv 3.3.3 → 3.3.4

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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/NEWS.md +8 -1
  3. data/lib/csv/version.rb +1 -1
  4. metadata +4 -6
  5. data/bin/csv-filter +0 -59
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b09d2eaa0c8e6c8c385fa6f958d93d893ee7c3441cc83248d07562cd719d960
4
- data.tar.gz: 7e2aff2545b8bbeaefd4adb73627e7345bec284b18d431f3ab41f5a136f479a1
3
+ metadata.gz: 7de8075012a39a948cee7b3cc1fa8ccb9ca15cc3ca3718f3883a7d82acc51c2c
4
+ data.tar.gz: 55459b45132d6da9880cfc294f46a9eb5a4646726c08b6a0053dc801179dccfc
5
5
  SHA512:
6
- metadata.gz: 88525c73bd61ae40b2fe4314a402210acc2ad4993def484e7531d6356d1652f80b2b5a1f72be1f4b4a38350d4c25d00ac43b3a8b1b41817b0c95bc2df8f5c082
7
- data.tar.gz: 28322a68f915cee37aebbcd2fbaee39293d289760c878f3b6bcfe237a9247fd319368d1c54d9170f25929625b71c89475b016ccbdb80afc88a3d0926784b6a7e
6
+ metadata.gz: '04382fe706d56323605226220819ed2af7af8833b753e98c9ca2537f288808b104c1e88a6d9a7d65ac393817c15a052be7966e8b9cd0494402513fe88ce4cb65'
7
+ data.tar.gz: 9b0f33b6b0560b84a73eaac22924b3b1397f2bfa939f036c2ba4243411e2df4fcafb6ebc82644217d977d7d2ebf3c226df93338f7def80196c050acdb847da0e
data/NEWS.md CHANGED
@@ -1,10 +1,17 @@
1
1
  # News
2
2
 
3
+ ## 3.3.4 - 2025-04-13
4
+
5
+ ### Improvements
6
+
7
+ * `csv-filter`: Removed an experimental command line tool.
8
+ * GH-341
9
+
3
10
  ## 3.3.3 - 2025-03-20
4
11
 
5
12
  ### Improvements
6
13
 
7
- * `csv-filter`: Add an experimental command line tool to filter a CSV.
14
+ * `csv-filter`: Added an experimental command line tool to filter a CSV.
8
15
  * Patch by Burdette Lamar
9
16
 
10
17
  ### Fixes
data/lib/csv/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  class CSV
4
4
  # The version of the installed library.
5
- VERSION = "3.3.3"
5
+ VERSION = "3.3.4"
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.3
4
+ version: 3.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Edward Gray II
8
8
  - Kouhei Sutou
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-20 00:00:00.000000000 Z
11
+ date: 2025-04-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The CSV library provides a complete interface to CSV files and data.
14
14
  It offers tools to enable you to read and write to and from Strings or IO objects,
@@ -16,8 +16,7 @@ description: The CSV library provides a complete interface to CSV files and data
16
16
  email:
17
17
  -
18
18
  - kou@cozmixng.org
19
- executables:
20
- - csv-filter
19
+ executables: []
21
20
  extensions: []
22
21
  extra_rdoc_files:
23
22
  - LICENSE.txt
@@ -31,7 +30,6 @@ files:
31
30
  - LICENSE.txt
32
31
  - NEWS.md
33
32
  - README.md
34
- - bin/csv-filter
35
33
  - doc/csv/arguments/io.rdoc
36
34
  - doc/csv/options/common/col_sep.rdoc
37
35
  - doc/csv/options/common/quote_char.rdoc
@@ -73,7 +71,7 @@ licenses:
73
71
  - Ruby
74
72
  - BSD-2-Clause
75
73
  metadata:
76
- changelog_uri: https://github.com/ruby/csv/releases/tag/v3.3.3
74
+ changelog_uri: https://github.com/ruby/csv/releases/tag/v3.3.4
77
75
  rdoc_options:
78
76
  - "--main"
79
77
  - README.md
data/bin/csv-filter DELETED
@@ -1,59 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'optparse'
4
- require 'csv'
5
-
6
- options = {}
7
-
8
- parser = OptionParser.new
9
-
10
- parser.version = CSV::VERSION
11
- parser.banner = <<-BANNER
12
- Usage: #{parser.program_name} [options]
13
-
14
- Reads and parses the CSV text content of the standard input per the given input options.
15
- From that content, generates CSV text per the given output options
16
- and writes that text to the standard output.
17
- BANNER
18
-
19
-
20
- parser.on('--input-col-sep=SEPARATOR',
21
- 'Input column separator string.') do |value|
22
- options[:input_col_sep] = value
23
- end
24
-
25
- parser.on('--input-quote-char=SEPARATOR',
26
- 'Input quote character.') do |value|
27
- options[:input_quote_char] = value
28
- end
29
-
30
- parser.on('--input-row-sep=SEPARATOR',
31
- 'Input row separator string.') do |value|
32
- options[:input_row_sep] = value
33
- end
34
-
35
- parser.on('--output-col-sep=SEPARATOR',
36
- 'Output column separator string.') do |value|
37
- options[:output_col_sep] = value
38
- end
39
-
40
- parser.on('--output-row-sep=SEPARATOR',
41
- 'Output row separator string.') do |value|
42
- options[:output_row_sep] = value
43
- end
44
-
45
- parser.on('-r', '--row-sep=SEPARATOR',
46
- 'Row separator string.') do |value|
47
- options[:row_sep] = value
48
- end
49
-
50
- begin
51
- parser.parse!
52
- rescue OptionParser::InvalidOption
53
- $stderr.puts($!.message)
54
- $stderr.puts(parser)
55
- exit(false)
56
- end
57
-
58
- CSV.filter(**options) do |row|
59
- end