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

ruby-changes:58771

From: Kazuhiro <ko1@a...>
Date: Wed, 13 Nov 2019 15:06:02 +0900 (JST)
Subject: [ruby-changes:58771] d336db6568 (master): Fix a typo

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

From d336db6568cc96dfee503c053e8f444dc7243858 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Wed, 13 Nov 2019 15:04:49 +0900
Subject: Fix a typo


diff --git a/lib/rubygems/core_ext/kernel_require.rb b/lib/rubygems/core_ext/kernel_require.rb
index 76165a6..60f4d18 100644
--- a/lib/rubygems/core_ext/kernel_require.rb
+++ b/lib/rubygems/core_ext/kernel_require.rb
@@ -46,7 +46,7 @@ module Kernel https://github.com/ruby/ruby/blob/trunk/lib/rubygems/core_ext/kernel_require.rb#L46
       $LOAD_PATH[0...Gem.load_path_insert_index || -1].each do |lp|
         safe_lp = lp.dup.tap(&Gem::UNTAINT)
         begin
-          if File.symlink? safe_lp # for backword compatibility
+          if File.symlink? safe_lp # for backward compatibility
             next
           end
         rescue SecurityError
-- 
cgit v0.10.2


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

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