[前][次][番号順一覧][スレッド一覧]

ruby-changes:58533

From: Jeremy <ko1@a...>
Date: Fri, 1 Nov 2019 17:30:51 +0900 (JST)
Subject: [ruby-changes:58533] b2126d3fcf (master): [ruby/date] Remove unneeded line in update-abbr

https://git.ruby-lang.org/ruby.git/commit/?id=b2126d3fcf

From b2126d3fcfd2a946fe95947506620bb5e6c1f424 Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Thu, 31 Oct 2019 20:55:57 -0700
Subject: [ruby/date] Remove unneeded line in update-abbr

https://github.com/ruby/date/commit/ae14e5f293

diff --git a/bin/update-abbr b/bin/update-abbr
index 33dbda1..31a1e06 100644
--- a/bin/update-abbr
+++ b/bin/update-abbr
@@ -29,7 +29,6 @@ lines.select{|l| l.include?(',')}. https://github.com/ruby/ruby/blob/trunk/bin/update-abbr#L29
   map{|l| l.split(',', 2)[0]}.
   each{|a| h.delete(a)}
 
-h.sort.map{|k,v| "#{k},#{v}"}
 lines.insert(-2, h.sort.map{|k,v| "#{k},#{v}\n"})
 lines.flatten!
 File.write('ext/date/zonetab.list', lines.join)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]