diff --git a/CSV/Parser.html b/CSV/Parser.html index 549f464a..69e23bac 100644 --- a/CSV/Parser.html +++ b/CSV/Parser.html @@ -191,7 +191,7 @@

Public Class Methods

-
# File lib/csv/parser.rb, line 326
+            
# File lib/csv/parser.rb, line 335
 def initialize(input, options)
   @input = input
   @options = options
@@ -236,7 +236,7 @@ 

Public Instance Methods

-
# File lib/csv/parser.rb, line 334
+            
# File lib/csv/parser.rb, line 343
 def column_separator
   @column_separator
 end
@@ -269,7 +269,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 346
+            
# File lib/csv/parser.rb, line 355
 def field_size_limit
   @max_field_size&.succ
 end
@@ -302,7 +302,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 366
+            
# File lib/csv/parser.rb, line 375
 def header_row?
   @use_headers and @headers.nil?
 end
@@ -335,7 +335,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 362
+            
# File lib/csv/parser.rb, line 371
 def headers
   @headers
 end
@@ -368,7 +368,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 378
+            
# File lib/csv/parser.rb, line 387
 def liberal_parsing?
   @liberal_parsing
 end
@@ -401,7 +401,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 386
+            
# File lib/csv/parser.rb, line 395
 def line
   last_line
 end
@@ -434,7 +434,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 382
+            
# File lib/csv/parser.rb, line 391
 def lineno
   @lineno
 end
@@ -467,7 +467,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 350
+            
# File lib/csv/parser.rb, line 359
 def max_field_size
   @max_field_size
 end
@@ -500,7 +500,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 390
+            
# File lib/csv/parser.rb, line 399
 def parse(&block)
   return to_enum(__method__) unless block_given?
 
@@ -570,7 +570,7 @@ 

Public Instance Methods

-
# File lib/csv/parser.rb, line 342
+            
# File lib/csv/parser.rb, line 351
 def quote_character
   @quote_character
 end
@@ -603,7 +603,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 370
+            
# File lib/csv/parser.rb, line 379
 def return_headers?
   @return_headers
 end
@@ -636,7 +636,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 338
+            
# File lib/csv/parser.rb, line 347
 def row_separator
   @row_separator
 end
@@ -669,7 +669,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 374
+            
# File lib/csv/parser.rb, line 383
 def skip_blanks?
   @skip_blanks
 end
@@ -702,7 +702,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 354
+            
# File lib/csv/parser.rb, line 363
 def skip_lines
   @skip_lines
 end
@@ -735,7 +735,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 358
+            
# File lib/csv/parser.rb, line 367
 def unconverted_fields?
   @unconverted_fields
 end
@@ -768,7 +768,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 431
+            
# File lib/csv/parser.rb, line 440
 def use_headers?
   @use_headers
 end
diff --git a/CSV/Parser/InputsScanner.html b/CSV/Parser/InputsScanner.html index c30ae20c..eebe6d02 100644 --- a/CSV/Parser/InputsScanner.html +++ b/CSV/Parser/InputsScanner.html @@ -201,7 +201,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 248
+            
# File lib/csv/parser.rb, line 257
 def check(pattern)
   @scanner.check(pattern)
 end
@@ -369,6 +369,15 @@

Public Instance Methods

end # trace(__method__, :repos, start, buffer) @scanner.pos = start + last_scanner, last_start, last_buffer = @keeps.last + # Drop the last buffer when the last buffer is the same data + # in the last keep. If we keep it, we have duplicated data + # by the next keep_back. + if last_scanner == @scanner and + last_buffer and + last_buffer == last_scanner.string.byteslice(last_start, start) + @keeps.last[2] = nil + end end read_chunk if @scanner.eos? end
@@ -401,7 +410,7 @@

Public Instance Methods

-
# File lib/csv/parser.rb, line 227
+            
# File lib/csv/parser.rb, line 236
 def keep_drop
   _, _, buffer = @keeps.pop
   # trace(__method__, :done, :empty) unless buffer
@@ -528,7 +537,7 @@ 

Public Instance Methods

-
# File lib/csv/parser.rb, line 244
+            
# File lib/csv/parser.rb, line 253
 def rest
   @scanner.rest
 end
diff --git a/js/search_index.js.gz b/js/search_index.js.gz index c694f643..c7f43390 100644 Binary files a/js/search_index.js.gz and b/js/search_index.js.gz differ