ruby-changes:64395
From: Kazuhiro <ko1@a...>
Date: Mon, 21 Dec 2020 10:55:09 +0900 (JST)
Subject: [ruby-changes:64395] 63849a1cd9 (master): Fix misspellings [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=63849a1cd9 From 63849a1cd98c7ae3a7d6af3f69814f01dfae25ea Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> Date: Mon, 21 Dec 2020 10:54:24 +0900 Subject: Fix misspellings [ci skip] diff --git a/lib/rubygems/gemcutter_utilities.rb b/lib/rubygems/gemcutter_utilities.rb index 8751a79..3687e77 100644 --- a/lib/rubygems/gemcutter_utilities.rb +++ b/lib/rubygems/gemcutter_utilities.rb @@ -260,8 +260,8 @@ module Gem::GemcutterUtilities https://github.com/ruby/ruby/blob/trunk/lib/rubygems/gemcutter_utilities.rb#L260 end def get_key_name(scope) - hostname = Socket.gethostname || "unkown-host" - user = ENV["USER"] || ENV["USERNAME"] || "unkown-user" + hostname = Socket.gethostname || "unknown-host" + user = ENV["USER"] || ENV["USERNAME"] || "unknown-user" ts = Time.now.strftime("%Y%m%d%H%M%S") default_key_name = "#{hostname}-#{user}-#{ts}" diff --git a/spec/bundler/runtime/inline_spec.rb b/spec/bundler/runtime/inline_spec.rb index fadf3eb..b46da20 100644 --- a/spec/bundler/runtime/inline_spec.rb +++ b/spec/bundler/runtime/inline_spec.rb @@ -383,7 +383,7 @@ RSpec.describe "bundler/inline#gemfile" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/inline_spec.rb#L383 realworld_system_gems "fileutils --version 1.4.1" - realworld_system_gems "fiddle" # not sure why, but this is needed on Windows to boot rubygems succesfully + realworld_system_gems "fiddle" # not sure why, but this is needed on Windows to boot rubygems successfully realworld_system_gems "timeout uri" # this spec uses net/http which requires these default gems diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb index 6b47878..ead826c 100644 --- a/spec/bundler/runtime/setup_spec.rb +++ b/spec/bundler/runtime/setup_spec.rb @@ -1316,7 +1316,7 @@ end https://github.com/ruby/ruby/blob/trunk/spec/bundler/runtime/setup_spec.rb#L1316 expect(out).to eq("The Gemfile's dependencies are satisfied") end - # bundler respects paths specified direclty in RUBYLIB or RUBYOPT, and + # bundler respects paths specified directly in RUBYLIB or RUBYOPT, and # that happens when running ruby from the ruby-core setup. To # workaround, we manually remove those for these tests when they would # override the default gem. diff --git a/spec/ruby/core/range/minmax_spec.rb b/spec/ruby/core/range/minmax_spec.rb index 505842e..fa0637a 100644 --- a/spec/ruby/core/range/minmax_spec.rb +++ b/spec/ruby/core/range/minmax_spec.rb @@ -46,7 +46,7 @@ describe 'Range#minmax' do https://github.com/ruby/ruby/blob/trunk/spec/ruby/core/range/minmax_spec.rb#L46 end end - it 'should return begining of range if beginning and end are equal without iterating the range' do + it 'should return beginning of range if beginning and end are equal without iterating the range' do @x.should_not_receive(:succ) (@x..@x).minmax.should == [@x, @x] -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/