Skip to content

Commit

Permalink
0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jul 29, 2024
1 parent 0d46cd5 commit 30ceeeb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ Revision history for App-Rak

{{$NEXT}}

0.3.2 2024-07-29T13:54:14+02:00
- Give each CSV file its own Text::CSV object, in the hope
that this will fix the race-condition that 0racle++ spotted

0.3.1 2024-07-29T13:03:48+02:00
- Upped dependency on "rak" to get PairChanged support
- Allow *.subst("foo","bar") to be used with --modify-files
Expand Down
2 changes: 1 addition & 1 deletion META6.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
],
"test-depends": [
],
"version": "0.3.1"
"version": "0.3.2"
}
5 changes: 2 additions & 3 deletions lib/App/Rak.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -2699,9 +2699,8 @@ my sub action-csv-per-line(--> Nil) {
%csv<auto-diag> := True unless %csv<auto-diag>:exists;
my $headers := %csv<headers>:delete // True;
my $csv := $TextCSV.new(|%csv);
%csv = ();
%rak<produce-many> := -> $io { $csv.csv: :$headers, :file($io.path) }
my %CSV = %csv{}:p:delete;
%rak<produce-many> := -> $io { $TextCSV.new(|%CSV).csv: :$headers, :file($io.path) }
activate-output-options;
run-rak;
Expand Down

0 comments on commit 30ceeeb

Please sign in to comment.