Skip to content

Commit

Permalink
Fix misspellings [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
znz committed Dec 21, 2020
1 parent 5253b95 commit 63849a1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/rubygems/gemcutter_utilities.rb
Expand Up @@ -260,8 +260,8 @@ def get_scope_params(scope)
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}"

Expand Down
2 changes: 1 addition & 1 deletion spec/bundler/runtime/inline_spec.rb
Expand Up @@ -383,7 +383,7 @@ def confirm(msg, newline = nil)

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

Expand Down
2 changes: 1 addition & 1 deletion spec/bundler/runtime/setup_spec.rb
Expand Up @@ -1316,7 +1316,7 @@ def lock_with(ruby_version = nil)
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.
Expand Down
2 changes: 1 addition & 1 deletion spec/ruby/core/range/minmax_spec.rb
Expand Up @@ -46,7 +46,7 @@
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]
Expand Down

0 comments on commit 63849a1

Please sign in to comment.