zsv 1.4.3 → 1.4.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 (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +140 -2
  3. data/README.md +129 -275
  4. data/ext/zsv/ZSV_UPSTREAM +7 -0
  5. data/ext/zsv/common.h +0 -12
  6. data/ext/zsv/extconf.rb +70 -122
  7. data/ext/zsv/options.c +63 -62
  8. data/ext/zsv/options.h +8 -11
  9. data/ext/zsv/parser.c +390 -201
  10. data/ext/zsv/parser.h +35 -22
  11. data/ext/zsv/row.c +75 -28
  12. data/ext/zsv/row.h +15 -9
  13. data/ext/zsv/upstream.rb +55 -0
  14. data/ext/zsv/vendor/zsv/LICENSE +21 -0
  15. data/ext/zsv/vendor/zsv/VENDORED_FROM +2 -0
  16. data/ext/zsv/vendor/zsv/configure +1212 -0
  17. data/ext/zsv/vendor/zsv/include/zsv/api.h +375 -0
  18. data/ext/zsv/vendor/zsv/include/zsv/common.h +397 -0
  19. data/ext/zsv/vendor/zsv/include/zsv/ext/implementation.h +62 -0
  20. data/ext/zsv/vendor/zsv/include/zsv/ext/implementation_private.h +113 -0
  21. data/ext/zsv/vendor/zsv/include/zsv/ext/sheet.h +80 -0
  22. data/ext/zsv/vendor/zsv/include/zsv/ext.h +333 -0
  23. data/ext/zsv/vendor/zsv/include/zsv/utils/appname.h +51 -0
  24. data/ext/zsv/vendor/zsv/include/zsv/utils/arg.h +139 -0
  25. data/ext/zsv/vendor/zsv/include/zsv/utils/cache.h +49 -0
  26. data/ext/zsv/vendor/zsv/include/zsv/utils/clock.h +36 -0
  27. data/ext/zsv/vendor/zsv/include/zsv/utils/compiler.h +69 -0
  28. data/ext/zsv/vendor/zsv/include/zsv/utils/db.h +19 -0
  29. data/ext/zsv/vendor/zsv/include/zsv/utils/dirs.h +149 -0
  30. data/ext/zsv/vendor/zsv/include/zsv/utils/dl.h +22 -0
  31. data/ext/zsv/vendor/zsv/include/zsv/utils/emcc/fs_api.h +28 -0
  32. data/ext/zsv/vendor/zsv/include/zsv/utils/err.h +22 -0
  33. data/ext/zsv/vendor/zsv/include/zsv/utils/file-mem.h +18 -0
  34. data/ext/zsv/vendor/zsv/include/zsv/utils/file.h +125 -0
  35. data/ext/zsv/vendor/zsv/include/zsv/utils/jq.h +65 -0
  36. data/ext/zsv/vendor/zsv/include/zsv/utils/json.h +19 -0
  37. data/ext/zsv/vendor/zsv/include/zsv/utils/mem.h +19 -0
  38. data/ext/zsv/vendor/zsv/include/zsv/utils/memmem.h +13 -0
  39. data/ext/zsv/vendor/zsv/include/zsv/utils/os.h +145 -0
  40. data/ext/zsv/vendor/zsv/include/zsv/utils/output.h +34 -0
  41. data/ext/zsv/vendor/zsv/include/zsv/utils/overwrite.h +71 -0
  42. data/ext/zsv/vendor/zsv/include/zsv/utils/overwrite_writer.h +53 -0
  43. data/ext/zsv/vendor/zsv/include/zsv/utils/prop.h +119 -0
  44. data/ext/zsv/vendor/zsv/include/zsv/utils/rng.h +35 -0
  45. data/ext/zsv/vendor/zsv/include/zsv/utils/signal.h +25 -0
  46. data/ext/zsv/vendor/zsv/include/zsv/utils/sql.h +13 -0
  47. data/ext/zsv/vendor/zsv/include/zsv/utils/string.h +173 -0
  48. data/ext/zsv/vendor/zsv/include/zsv/utils/utf8.h +41 -0
  49. data/ext/zsv/vendor/zsv/include/zsv/utils/win/dl.h +25 -0
  50. data/ext/zsv/vendor/zsv/include/zsv/utils/writer.h +109 -0
  51. data/ext/zsv/vendor/zsv/include/zsv/zsv_export.h +33 -0
  52. data/ext/zsv/vendor/zsv/include/zsv.h.in +18 -0
  53. data/ext/zsv/vendor/zsv/src/Makefile +238 -0
  54. data/ext/zsv/vendor/zsv/src/vector_delim.c +60 -0
  55. data/ext/zsv/vendor/zsv/src/zsv.c +622 -0
  56. data/ext/zsv/vendor/zsv/src/zsv_internal.c +789 -0
  57. data/ext/zsv/vendor/zsv/src/zsv_scan_delim.c +285 -0
  58. data/ext/zsv/vendor/zsv/src/zsv_scan_delim_fast.c +741 -0
  59. data/ext/zsv/vendor/zsv/src/zsv_scan_fixed.c +88 -0
  60. data/ext/zsv/vendor/zsv/src/zsv_scan_simd_avx2.h +89 -0
  61. data/ext/zsv/vendor/zsv/src/zsv_scan_simd_neon.h +80 -0
  62. data/ext/zsv/vendor/zsv/src/zsv_scan_simd_sse2.h +93 -0
  63. data/ext/zsv/vendor/zsv/src/zsv_scan_simd_wasm.h +79 -0
  64. data/ext/zsv/vendor/zsv/src/zsv_strencode.c +84 -0
  65. data/ext/zsv/zsv_ext.c +176 -105
  66. data/lib/zsv/errors.rb +32 -0
  67. data/lib/zsv/input.rb +88 -0
  68. data/lib/zsv/options.rb +132 -0
  69. data/lib/zsv/strict_validator.rb +124 -0
  70. data/lib/zsv/version.rb +1 -1
  71. data/lib/zsv.rb +137 -35
  72. metadata +82 -11
@@ -0,0 +1,124 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'strscan'
4
+
5
+ module ZSV
6
+ # Checks that input is well-formed CSV the way Ruby's CSV does in its
7
+ # default (non-liberal) mode. zsv itself never rejects input, so this pass
8
+ # is what backs +liberal_parsing: false+.
9
+ #
10
+ # The input is read one physical line at a time. A line without a quote is
11
+ # accepted as is, and a line that is one well-formed record is accepted by a
12
+ # single regexp match; only the rest (fields spanning lines, errors) is
13
+ # scanned field by field.
14
+ #
15
+ # Errors carry the number CSV reports: the 1-based record, where a quoted
16
+ # field that spans several lines counts once. Records are told apart by
17
+ # "\n" (so "\r\n" works too); input using a lone "\r" is one record here.
18
+ class StrictValidator
19
+ QUOTE = '"'
20
+ BOM = "\xEF\xBB\xBF".b.freeze
21
+ ROW_END = /\r\n|\n|\r/
22
+ QUOTED_BODY = /(?:[^"]+|"")*/
23
+
24
+ # @param string [String] CSV data
25
+ # @param col_sep [String] single-character column separator
26
+ # @raise [MalformedCSVError, InvalidEncodingError]
27
+ def self.validate_string(string, col_sep:)
28
+ unless string.valid_encoding?
29
+ new(col_sep, string.encoding).validate(string.each_line("\n"))
30
+ return
31
+ end
32
+ return unless string.include?(QUOTE)
33
+
34
+ new(col_sep, nil).validate(string.each_line("\n"))
35
+ end
36
+
37
+ # @param path [String] file to check
38
+ # @param col_sep [String] single-character column separator
39
+ # @param encoding [Encoding] encoding the fields will be labelled with
40
+ # @raise [MalformedCSVError, InvalidEncodingError]
41
+ def self.validate_file(path, col_sep:, encoding:)
42
+ File.open(path, 'rb') do |file|
43
+ new(col_sep, encoding).validate(file.each_line("\n"))
44
+ end
45
+ end
46
+
47
+ # @param col_sep [String] single-character column separator
48
+ # @param encoding [Encoding, nil] encoding to verify each line against, nil to skip
49
+ def initialize(col_sep, encoding)
50
+ separator = Regexp.escape(col_sep)
51
+ field = /(?>"(?>[^"]+|"")*"|[^"#{separator}\r\n]*)/
52
+ @col_sep = col_sep
53
+ @unquoted = /[^"#{separator}\r\n]*/
54
+ @complete_record = /\A#{field}(?>#{separator}#{field})*\r?\n?\z/
55
+ @encoding = encoding
56
+ end
57
+
58
+ # @param lines [Enumerable<String>] physical lines, including their "\n"
59
+ # @raise [MalformedCSVError, InvalidEncodingError]
60
+ # @return [void]
61
+ def validate(lines)
62
+ record = 0
63
+ in_quotes = false
64
+
65
+ lines.each_with_index do |line, index|
66
+ record += 1 unless in_quotes
67
+ check_encoding(line, record, first_line: index.zero?)
68
+ next if !in_quotes && (!line.include?(QUOTE) || line.match?(@complete_record))
69
+
70
+ in_quotes = scan(line, in_quotes, record, first_line: index.zero?)
71
+ end
72
+
73
+ raise MalformedCSVError.new('Unclosed quoted field', record) if in_quotes
74
+ end
75
+
76
+ private
77
+
78
+ def check_encoding(line, record, first_line:)
79
+ return unless @encoding
80
+
81
+ line = line.byteslice(BOM.bytesize..) if first_line && line.b.start_with?(BOM)
82
+ return if line.force_encoding(@encoding).valid_encoding?
83
+
84
+ raise InvalidEncodingError.new("Invalid byte sequence in #{@encoding}", record)
85
+ end
86
+
87
+ # Scans one physical line. Returns true when it ends inside a quoted field.
88
+ def scan(line, in_quotes, record, first_line:)
89
+ scanner = StringScanner.new(line.b)
90
+ scanner.skip(BOM) if first_line
91
+
92
+ until scanner.eos?
93
+ if in_quotes
94
+ return true unless close_quoted_field(scanner, record)
95
+
96
+ in_quotes = false
97
+ elsif scanner.skip(QUOTE)
98
+ in_quotes = true
99
+ else
100
+ skip_unquoted_field(scanner, record)
101
+ end
102
+ end
103
+ in_quotes
104
+ end
105
+
106
+ # Returns false when the line ends before the closing quote.
107
+ def close_quoted_field(scanner, record)
108
+ scanner.skip(QUOTED_BODY)
109
+ return false if scanner.eos?
110
+
111
+ scanner.skip(QUOTE)
112
+ return true if scanner.eos? || scanner.skip(@col_sep) || scanner.skip(ROW_END)
113
+
114
+ raise MalformedCSVError.new("Any value after quoted field isn't allowed", record)
115
+ end
116
+
117
+ def skip_unquoted_field(scanner, record)
118
+ scanner.skip(@unquoted)
119
+ return if scanner.eos? || scanner.skip(@col_sep) || scanner.skip(ROW_END)
120
+
121
+ raise MalformedCSVError.new('Illegal quoting', record)
122
+ end
123
+ end
124
+ end
data/lib/zsv/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ZSV
4
- VERSION = '1.4.3'
4
+ VERSION = '1.4.4'
5
5
  end
data/lib/zsv.rb CHANGED
@@ -1,12 +1,24 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative 'zsv/version'
4
- require_relative 'zsv/zsv' # Load C extension
4
+ # Load the C extension: precompiled gems ship one per Ruby minor
5
+ # (lib/zsv/3.4/zsv.so); source installs build lib/zsv/zsv.so.
6
+ begin
7
+ require_relative "zsv/#{RUBY_VERSION[/\A\d+\.\d+/]}/zsv"
8
+ rescue LoadError
9
+ require_relative 'zsv/zsv'
10
+ end
11
+ require_relative 'zsv/errors'
12
+ require_relative 'zsv/options'
13
+ require_relative 'zsv/strict_validator'
14
+ require_relative 'zsv/input'
5
15
 
6
16
  # ZSV - SIMD-accelerated CSV parser
7
17
  #
8
- # A drop-in replacement for Ruby's CSV stdlib that uses the zsv C library
9
- # for 10-50x performance improvements on large CSV files.
18
+ # A fast CSV reader built on the zsv C library, with an API modelled on the
19
+ # reading half of Ruby's CSV stdlib. Rows are plain Arrays (or Hashes with
20
+ # +headers:+) of frozen Strings. See docs/API_REFERENCE.md for the exact
21
+ # differences from CSV.
10
22
  #
11
23
  # @example Basic usage
12
24
  # ZSV.foreach("data.csv") do |row|
@@ -22,37 +34,34 @@ require_relative 'zsv/zsv' # Load C extension
22
34
  # rows = ZSV.parse("a,b,c\n1,2,3\n")
23
35
  #
24
36
  module ZSV
25
- class << self
26
- # Create a new parser instance
27
- #
28
- # This is a convenience method that creates a Parser object.
29
- #
30
- # @param io [String, IO] File path or IO object to parse
31
- # @param options [Hash] Parser options
32
- # @return [Parser] New parser instance
37
+ # Ruby front of the module functions defined by the C extension: validates
38
+ # options and input before handing over to C.
39
+ module ModuleMethods
40
+ # Parse a CSV String and return all rows.
33
41
  #
34
- # @example
35
- # parser = ZSV.new("data.csv", headers: true)
36
- # parser.each { |row| puts row }
37
- # parser.close
38
- #
39
- def new(io, **)
40
- Parser.new(io, **)
42
+ # @param string [String] CSV data
43
+ # @param options [Hash] parser options, see docs/API_REFERENCE.md
44
+ # @return [Array<Array<String>>, Array<Hash>] all rows
45
+ # @raise [ArgumentError] for unknown or unsupported options
46
+ # @raise [MalformedCSVError] for malformed input with +liberal_parsing: false+
47
+ def parse(string, **options)
48
+ super(*Input.data(string, options))
41
49
  end
42
50
 
43
- # Parse CSV data and return an Enumerator
44
- #
45
- # This method provides lazy enumeration over CSV rows without loading
46
- # the entire file into memory.
51
+ # Parse a single CSV line.
47
52
  #
48
- # @param source [String, IO] CSV data or IO object
49
- # @param options [Hash] Parser options
50
- # @return [Enumerator] Lazy enumerator over rows
51
- #
52
- # @example
53
- # enum = ZSV.parse_enum("a,b\n1,2\n3,4", headers: true)
54
- # enum.first # => {"a" => "1", "b" => "2"}
53
+ # @param line [String] one CSV record
54
+ # @param options [Hash] parser options
55
+ # @return [Array<String>, Hash, nil] the first row, nil for an empty line
56
+ def parse_line(line, **)
57
+ parse(line, **).first
58
+ end
59
+
60
+ # Lazily enumerate the rows of a CSV String, a path or an IO.
55
61
  #
62
+ # @param source [String, #to_path, #read] CSV data, a path or an IO
63
+ # @param options [Hash] parser options
64
+ # @return [Enumerator] rows, parsed as they are consumed
56
65
  def parse_enum(source, **)
57
66
  parser = Parser.new(source, **)
58
67
 
@@ -62,20 +71,113 @@ module ZSV
62
71
  parser.close
63
72
  end
64
73
  end
74
+
75
+ # Stream the rows of a CSV file.
76
+ #
77
+ # @param path [String, #to_path] file to read
78
+ # @param mode [String] read mode ("r", "rb", "r:bom|utf-8")
79
+ # @param options [Hash] parser options
80
+ # @yieldparam row [Array<String>, Hash]
81
+ # @return [nil, Enumerator] an Enumerator when no block is given
82
+ def foreach(path, mode = 'r', **options, &block)
83
+ unless block
84
+ Options.normalize(options) # report bad options now, not at the first row
85
+ return to_enum(__method__, path, mode, **options)
86
+ end
87
+
88
+ super(*Input.path(path, mode, options), &block)
89
+ end
90
+
91
+ # Read a whole CSV file.
92
+ #
93
+ # @param path [String, #to_path] file to read
94
+ # @param options [Hash] parser options
95
+ # @return [Array<Array<String>>, Array<Hash>] all rows
96
+ def read(path, **options)
97
+ super(*Input.path(path, 'r', options))
98
+ end
99
+
100
+ # Open a CSV file for reading.
101
+ #
102
+ # @param path [String, #to_path] file to read
103
+ # @param mode [String] read mode ("r", "rb", "r:bom|utf-8")
104
+ # @param options [Hash] parser options
105
+ # @yieldparam parser [Parser] closed when the block returns
106
+ # @return [Parser, Object] the parser, or the block's value
107
+ def open(path, mode = 'r', **options, &)
108
+ path, native = Input.path(path, mode, options)
109
+ super(path, native, &)
110
+ end
111
+
112
+ # Create a parser for CSV data, a path or an IO. See Parser.new.
113
+ #
114
+ # @return [Parser]
115
+ def new(source, **)
116
+ Parser.new(source, **)
117
+ end
65
118
  end
119
+ singleton_class.prepend(ModuleMethods)
66
120
 
67
- # Parser class methods for convenience
68
- class Parser
69
- # Read all rows and return as an array
121
+ # Ruby front of Parser.new.
122
+ module ParserConstruction
123
+ # @param source [String, #read, #to_path] CSV data, a path or an IO.
124
+ # A String holding a line ending is data; otherwise it is a path when
125
+ # such a file exists, data when it contains the column separator, and
126
+ # a (missing) path in any other case. Use ZSV.parse or ZSV.open to
127
+ # avoid the guess. An IO is read as the rows are consumed.
128
+ # @param options [Hash] parser options, see docs/API_REFERENCE.md
129
+ # @return [Parser]
130
+ def new(source, **options)
131
+ if source.is_a?(String)
132
+ return from_path(source, **options) unless Input.data?(source, Options.col_sep(options))
133
+
134
+ from_string(source, **options)
135
+ elsif Input.path?(source)
136
+ from_path(source, **options)
137
+ elsif source.respond_to?(:read)
138
+ # Strict parsing has to see the whole input before the first row
139
+ return from_string(source.read.to_s, **options) if Options.strict?(options)
140
+
141
+ super(*Input.io(source, options))
142
+ else
143
+ raise TypeError, "expected CSV data, a path or an IO, got #{source.class}"
144
+ end
145
+ end
146
+
147
+ # Create a parser over CSV data held in a String, never a path.
70
148
  #
71
- # @return [Array<Array, Hash>] All rows
149
+ # @param string [String] CSV data
150
+ # @param options [Hash] parser options
151
+ # @return [Parser]
152
+ def from_string(string, **options)
153
+ super(*Input.data(string, options))
154
+ end
155
+
156
+ # Create a parser over a file.
157
+ #
158
+ # @param path [String, #to_path] file to read
159
+ # @param options [Hash] parser options
160
+ # @return [Parser]
161
+ def from_path(path, **options)
162
+ super(*Input.path(path, 'r', options))
163
+ end
164
+ end
165
+
166
+ # Ruby front of the Parser instance methods defined by the C extension.
167
+ module ParserMethods
168
+ # Read all remaining rows.
169
+ #
170
+ # @return [Array<Array<String>>, Array<Hash>] remaining rows
72
171
  def read
73
172
  rows = []
74
173
  each { |row| rows << row }
75
174
  rows
76
175
  end
77
-
78
- # Alias for compatibility
79
176
  alias to_a read
80
177
  end
178
+
179
+ class Parser
180
+ singleton_class.prepend(ParserConstruction)
181
+ prepend ParserMethods
182
+ end
81
183
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zsv
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - sebyx07
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2026-06-27 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: benchmark-ips
@@ -44,14 +43,28 @@ dependencies:
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: '1.2'
46
+ version: '1.3'
48
47
  type: :development
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
- version: '1.2'
53
+ version: '1.3'
54
+ - !ruby/object:Gem::Dependency
55
+ name: rake-compiler-dock
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '1.12'
61
+ type: :development
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '1.12'
55
68
  - !ruby/object:Gem::Dependency
56
69
  name: rspec
57
70
  requirement: !ruby/object:Gem::Requirement
@@ -66,8 +79,8 @@ dependencies:
66
79
  - - "~>"
67
80
  - !ruby/object:Gem::Version
68
81
  version: '3.0'
69
- description: A drop-in replacement for Ruby's CSV stdlib that uses zsv (SIMD-accelerated
70
- C library) for 5-6x faster CSV parsing
82
+ description: A CSV parser with the reading API of Ruby's CSV stdlib, implemented as
83
+ a C extension over zsv (SIMD-accelerated). Typically several times faster than CSV.
71
84
  email:
72
85
  - gore.sebyx@yahoo.com
73
86
  executables: []
@@ -78,6 +91,7 @@ files:
78
91
  - CHANGELOG.md
79
92
  - LICENSE
80
93
  - README.md
94
+ - ext/zsv/ZSV_UPSTREAM
81
95
  - ext/zsv/common.h
82
96
  - ext/zsv/extconf.rb
83
97
  - ext/zsv/options.c
@@ -87,8 +101,64 @@ files:
87
101
  - ext/zsv/parser.h
88
102
  - ext/zsv/row.c
89
103
  - ext/zsv/row.h
104
+ - ext/zsv/upstream.rb
105
+ - ext/zsv/vendor/zsv/LICENSE
106
+ - ext/zsv/vendor/zsv/VENDORED_FROM
107
+ - ext/zsv/vendor/zsv/configure
108
+ - ext/zsv/vendor/zsv/include/zsv.h.in
109
+ - ext/zsv/vendor/zsv/include/zsv/api.h
110
+ - ext/zsv/vendor/zsv/include/zsv/common.h
111
+ - ext/zsv/vendor/zsv/include/zsv/ext.h
112
+ - ext/zsv/vendor/zsv/include/zsv/ext/implementation.h
113
+ - ext/zsv/vendor/zsv/include/zsv/ext/implementation_private.h
114
+ - ext/zsv/vendor/zsv/include/zsv/ext/sheet.h
115
+ - ext/zsv/vendor/zsv/include/zsv/utils/appname.h
116
+ - ext/zsv/vendor/zsv/include/zsv/utils/arg.h
117
+ - ext/zsv/vendor/zsv/include/zsv/utils/cache.h
118
+ - ext/zsv/vendor/zsv/include/zsv/utils/clock.h
119
+ - ext/zsv/vendor/zsv/include/zsv/utils/compiler.h
120
+ - ext/zsv/vendor/zsv/include/zsv/utils/db.h
121
+ - ext/zsv/vendor/zsv/include/zsv/utils/dirs.h
122
+ - ext/zsv/vendor/zsv/include/zsv/utils/dl.h
123
+ - ext/zsv/vendor/zsv/include/zsv/utils/emcc/fs_api.h
124
+ - ext/zsv/vendor/zsv/include/zsv/utils/err.h
125
+ - ext/zsv/vendor/zsv/include/zsv/utils/file-mem.h
126
+ - ext/zsv/vendor/zsv/include/zsv/utils/file.h
127
+ - ext/zsv/vendor/zsv/include/zsv/utils/jq.h
128
+ - ext/zsv/vendor/zsv/include/zsv/utils/json.h
129
+ - ext/zsv/vendor/zsv/include/zsv/utils/mem.h
130
+ - ext/zsv/vendor/zsv/include/zsv/utils/memmem.h
131
+ - ext/zsv/vendor/zsv/include/zsv/utils/os.h
132
+ - ext/zsv/vendor/zsv/include/zsv/utils/output.h
133
+ - ext/zsv/vendor/zsv/include/zsv/utils/overwrite.h
134
+ - ext/zsv/vendor/zsv/include/zsv/utils/overwrite_writer.h
135
+ - ext/zsv/vendor/zsv/include/zsv/utils/prop.h
136
+ - ext/zsv/vendor/zsv/include/zsv/utils/rng.h
137
+ - ext/zsv/vendor/zsv/include/zsv/utils/signal.h
138
+ - ext/zsv/vendor/zsv/include/zsv/utils/sql.h
139
+ - ext/zsv/vendor/zsv/include/zsv/utils/string.h
140
+ - ext/zsv/vendor/zsv/include/zsv/utils/utf8.h
141
+ - ext/zsv/vendor/zsv/include/zsv/utils/win/dl.h
142
+ - ext/zsv/vendor/zsv/include/zsv/utils/writer.h
143
+ - ext/zsv/vendor/zsv/include/zsv/zsv_export.h
144
+ - ext/zsv/vendor/zsv/src/Makefile
145
+ - ext/zsv/vendor/zsv/src/vector_delim.c
146
+ - ext/zsv/vendor/zsv/src/zsv.c
147
+ - ext/zsv/vendor/zsv/src/zsv_internal.c
148
+ - ext/zsv/vendor/zsv/src/zsv_scan_delim.c
149
+ - ext/zsv/vendor/zsv/src/zsv_scan_delim_fast.c
150
+ - ext/zsv/vendor/zsv/src/zsv_scan_fixed.c
151
+ - ext/zsv/vendor/zsv/src/zsv_scan_simd_avx2.h
152
+ - ext/zsv/vendor/zsv/src/zsv_scan_simd_neon.h
153
+ - ext/zsv/vendor/zsv/src/zsv_scan_simd_sse2.h
154
+ - ext/zsv/vendor/zsv/src/zsv_scan_simd_wasm.h
155
+ - ext/zsv/vendor/zsv/src/zsv_strencode.c
90
156
  - ext/zsv/zsv_ext.c
91
157
  - lib/zsv.rb
158
+ - lib/zsv/errors.rb
159
+ - lib/zsv/input.rb
160
+ - lib/zsv/options.rb
161
+ - lib/zsv/strict_validator.rb
92
162
  - lib/zsv/version.rb
93
163
  homepage: https://github.com/sebyx07/zsv-ruby
94
164
  licenses:
@@ -98,7 +168,9 @@ metadata:
98
168
  source_code_uri: https://github.com/sebyx07/zsv-ruby
99
169
  changelog_uri: https://github.com/sebyx07/zsv-ruby/blob/main/CHANGELOG.md
100
170
  rubygems_mfa_required: 'true'
101
- post_install_message:
171
+ zsv_version: 1.4.4
172
+ zsv_source_uri: https://github.com/liquidaty/zsv
173
+ zsv_license: MIT
102
174
  rdoc_options: []
103
175
  require_paths:
104
176
  - lib
@@ -113,8 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
185
  - !ruby/object:Gem::Version
114
186
  version: '0'
115
187
  requirements: []
116
- rubygems_version: 3.5.22
117
- signing_key:
188
+ rubygems_version: 4.0.20
118
189
  specification_version: 4
119
- summary: SIMD-accelerated CSV parser using zsv
190
+ summary: SIMD-accelerated CSV parser wrapping the zsv C library
120
191
  test_files: []