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

ruby-changes:70429

From: Samuel <ko1@a...>
Date: Wed, 22 Dec 2021 07:04:38 +0900 (JST)
Subject: [ruby-changes:70429] d9570437e2 (master): Remove incorrectly added `update.rb` file.

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

From d9570437e296c35c6bce691027530f4d67dd7ef3 Mon Sep 17 00:00:00 2001
From: Samuel Williams <samuel.williams@o...>
Date: Wed, 22 Dec 2021 11:03:55 +1300
Subject: Remove incorrectly added `update.rb` file.

---
 update.rb | 20 --------------------
 1 file changed, 20 deletions(-)
 delete mode 100755 update.rb

diff --git a/update.rb b/update.rb
deleted file mode 100755
index 87364d80aa4..00000000000
--- a/update.rb
+++ /dev/null
@@ -1,20 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/#L0
-#!/usr/bin/env ruby
-
-RESULT = / *    #(.*?)/
-CODE = / *    (.*?)/
-
-ARGV.each do |path|
-  lines = File.readlines(path)
-
-  lines.each do |line|
-    if line =~ /\/\*/
-      last = nil
-    elsif match = line.match(RESULT)
-      line.replace(" *    \# => #{last}")
-    elsif match = line.match(CODE)
-      last = eval(match[1])
-    end
-  end
-
-  puts lines
-end
-- 
cgit v1.2.1


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

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