ruby-changes:62287
From: Sutou <ko1@a...>
Date: Mon, 20 Jul 2020 03:35:37 +0900 (JST)
Subject: [ruby-changes:62287] 1822b19221 (master): [ruby/csv] Don't drop stack trace in CSV.parse_line
https://git.ruby-lang.org/ruby.git/commit/?id=1822b19221 From 1822b19221400da9e238c03b21f734159fb7fe6f Mon Sep 17 00:00:00 2001 From: Sutou Kouhei <kou@c...> Date: Sun, 17 May 2020 12:02:55 +0900 Subject: [ruby/csv] Don't drop stack trace in CSV.parse_line GitHub: fix GH-120 Reported by Kyle d'Oliveira. Thanks!!! https://github.com/ruby/csv/commit/2959483f90 diff --git a/lib/csv.rb b/lib/csv.rb index a5109c0..225f393 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -963,7 +963,7 @@ class CSV https://github.com/ruby/ruby/blob/trunk/lib/csv.rb#L963 # See {Options for Parsing}[#class-CSV-label-Options+for+Parsing]. # def parse_line(line, **options) - new(line, **options).shift + new(line, **options).each.first end # -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/