diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-05-13 09:53:03 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-05-13 02:21:33 +0000 |
commit | 5f411b9b3e45a40df788f85156d4337206686deb (patch) | |
tree | 05b9fc847678974ecc7fed20e6230177fdc38d17 /lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb | |
parent | 30326844c7e0957bf85ac1befd3755cff2848e9f (diff) |
[rubygems/rubygems] Bump up thor-1.2.2
https://github.com/rubygems/rubygems/commit/d9a003b4e7
Diffstat (limited to 'lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb')
-rw-r--r-- | lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb b/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb index bf2a737c84..ffc29aa8e2 100644 --- a/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +++ b/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb @@ -85,7 +85,7 @@ class Bundler::Thor URI.send(:open, source) { |input| input.binmode.read } else source = File.expand_path(find_in_source_paths(source.to_s)) - open(source) { |input| input.binmode.read } + File.open(source) { |input| input.binmode.read } end destination ||= if block_given? @@ -252,7 +252,7 @@ class Bundler::Thor # flag<Regexp|String>:: the regexp or string to be replaced # replacement<String>:: the replacement, can be also given as a block # config<Hash>:: give :verbose => false to not log the status, and - # :force => true, to force the replacement regardles of runner behavior. + # :force => true, to force the replacement regardless of runner behavior. # # ==== Example # |