Fixed misspellings reported at [Bug #16437], for default gems.
This commit is contained in:
Nobuyoshi Nakada 2019-12-20 12:19:45 +09:00
Родитель e672494cd7
Коммит e68999c82c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4BC7D6DF58D8DF60
28 изменённых файлов: 39 добавлений и 39 удалений

Просмотреть файл

@ -319,7 +319,7 @@ require "irb/version"
# # check if Foo#foo is available
# irb(main):005:0> Foo.instance_methods #=> [:foo, ...]
#
# # change the active sesssion
# # change the active session
# irb(main):006:0> fg 2
# # define Foo#bar in the context of Foo
# irb.2(Foo):005:0> def bar

Просмотреть файл

@ -32,7 +32,7 @@ module IRB # :nodoc:
# Displays current configuration.
#
# Modifing the configuration is achieved by sending a message to IRB.conf.
# Modifying the configuration is achieved by sending a message to IRB.conf.
def irb_context
IRB.CurrentContext
end

Просмотреть файл

@ -1242,7 +1242,7 @@ module Net
# Returns the status (STAT command).
#
# pathname:: when stat is invoked with pathname as a parameter it acts like
# list but alot faster and over the same tcp session.
# list but a lot faster and over the same tcp session.
#
def status(pathname = nil)
line = pathname ? "STAT #{pathname}" : "STAT"

Просмотреть файл

@ -199,7 +199,7 @@ module Racc
else
require 'racc/cparse'
end
# Racc_Runtime_Core_Version_C = (defined in extention)
# Racc_Runtime_Core_Version_C = (defined in extension)
Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2]
unless new.respond_to?(:_racc_do_parse_c, true)
raise LoadError, 'old cparse.so'

Просмотреть файл

@ -197,7 +197,7 @@ module Racc
else
require 'racc/cparse'
end
# Racc_Runtime_Core_Version_C = (defined in extention)
# Racc_Runtime_Core_Version_C = (defined in extension)
Racc_Runtime_Core_Revision_C = Racc_Runtime_Core_Id_C.split[2]
unless new.respond_to?(:_racc_do_parse_c, true)
raise LoadError, 'old cparse.so'

Просмотреть файл

@ -2,7 +2,7 @@
#
# DO NOT MODIFY!!!!
# This file is automatically generated by Racc 1.4.14
# from Racc grammer file "".
# from Racc grammar file "".
#
require 'racc/parser.rb'

Просмотреть файл

@ -2,7 +2,7 @@
#
# DO NOT MODIFY!!!!
# This file is automatically generated by Racc 1.4.14
# from Racc grammer file "".
# from Racc grammar file "".
#
require 'racc/parser.rb'

Просмотреть файл

@ -553,7 +553,7 @@ class Reline::LineEditor
preposing, target, postposing = retrieve_completion_block
list = list.select { |i|
if i and not Encoding.compatible?(target.encoding, i.encoding)
raise Encoding::CompatibilityError, "#{target.encoding.name} is not comaptible with #{i.encoding.name}"
raise Encoding::CompatibilityError, "#{target.encoding.name} is not compatible with #{i.encoding.name}"
end
if @config.completion_ignore_case
i&.downcase&.start_with?(target.downcase)

Просмотреть файл

@ -241,7 +241,7 @@ class Tracer
end
##
# Register an event handler <code>p</code> which is called everytime a line
# Register an event handler <code>p</code> which is called every time a line
# in +file_name+ is executed.
#
# Example:

Просмотреть файл

@ -214,7 +214,7 @@ module WEBrick
def service(req, res)
# if this class is mounted on "/" and /~username is requested.
# we're going to override path informations before invoking service.
# we're going to override path information before invoking service.
if defined?(Etc) && @options[:UserDir] && req.script_name.empty?
if %r|^(/~([^/]+))| =~ req.path_info
script_name, user = $1, $2

Просмотреть файл

@ -6,7 +6,7 @@
#
# This program is free software.
# You can distribute/modify this program under the terms of
# the GNU LGPL, Lesser General Public Lisence version 2.1.
# the GNU LGPL, Lesser General Public License version 2.1.
# For details of the GNU LGPL, see the file "COPYING".
#

Просмотреть файл

@ -24,7 +24,7 @@ class SpecdocFormatter < BaseFormatter
# the sequential number of the exception raised. If
# there has already been an exception raised while
# evaluating this example, it prints another +it+
# block description string so that each discription
# block description string so that each description
# string has an associated 'ERROR' or 'FAILED'
def exception(exception)
print "\n- #{exception.it}" if exception?

Просмотреть файл

@ -94,7 +94,7 @@ class MSpecOptions
@options.find { |o| o.match? opt }
end
# Processes an option. Calles the #on_extra block (or default) for
# Processes an option. Calls the #on_extra block (or default) for
# unrecognized options. For registered options, possibly fetches an
# argument and invokes the option's block if it is not nil.
def process(argv, entry, opt, arg)
@ -414,7 +414,7 @@ class MSpecOptions
end
def interrupt
on("--int-spec", "Control-C interupts the current spec only") do
on("--int-spec", "Control-C interrupts the current spec only") do
config[:abort] = false
end
end

Просмотреть файл

@ -41,7 +41,7 @@ describe "MSpec expectation method #should" do
:sym.should be_kind_of(Symbol)
end
it "causes a failue to be recorded" do
it "causes a failure to be recorded" do
1.should == 2
end

Просмотреть файл

@ -13,7 +13,7 @@ describe "MSpec" do
it "records failures" do
@out.should include <<-EOS
1)
MSpec expectation method #should causes a failue to be recorded FAILED
MSpec expectation method #should causes a failure to be recorded FAILED
Expected 1 == 2
to be truthy but was false
EOS

Просмотреть файл

@ -52,7 +52,7 @@ describe SpecPositiveOperatorMatcher, ">= operator" do
end
end
describe SpecPositiveOperatorMatcher, "< operater" do
describe SpecPositiveOperatorMatcher, "< operator" do
it "provides a failure message that 'Expected x to be less than y'" do
lambda {
SpecPositiveOperatorMatcher.new(5) < 4
@ -64,7 +64,7 @@ describe SpecPositiveOperatorMatcher, "< operater" do
end
end
describe SpecPositiveOperatorMatcher, "<= operater" do
describe SpecPositiveOperatorMatcher, "<= operator" do
it "provides a failure message that 'Expected x to be less than or equal to y'" do
lambda {
SpecPositiveOperatorMatcher.new(5) <= 4

Просмотреть файл

@ -8,7 +8,7 @@ describe ComplainMatcher do
ComplainMatcher.new(nil).matches?(proc).should == true
end
it "maches when executing the proc results in the expected output to $stderr" do
it "matches when executing the proc results in the expected output to $stderr" do
proc = lambda { warn "Que haces?" }
ComplainMatcher.new("Que haces?\n").matches?(proc).should == true
ComplainMatcher.new("Que pasa?\n").matches?(proc).should == false

Просмотреть файл

@ -91,7 +91,7 @@ describe DottedFormatter, "#exception" do
@formatter.exception?.should be_true
end
it "addes the exception to the list of exceptions" do
it "adds the exception to the list of exceptions" do
@formatter.exceptions.should == []
@formatter.exception @error
@formatter.exception @failure

Просмотреть файл

@ -406,7 +406,7 @@ describe MSpecScript, "#files" do
@script = MSpecScript.new
end
it "accumlates the values returned by #entries" do
it "accumulates the values returned by #entries" do
@script.should_receive(:entries).and_return(["file1"], ["file2"])
@script.files(["a", "b"]).should == ["file1", "file2"]
end

Просмотреть файл

@ -208,7 +208,7 @@ class TestDateParse < Test::Unit::TestCase
[['08-DEC-0088',false],[88,12,8,nil,nil,nil,nil,nil,nil], __LINE__],
[['08-DEC-0088',true],[88,12,8,nil,nil,nil,nil,nil,nil], __LINE__],
# swaped vms
# swapped vms
[['DEC-08-1988',false],[1988,12,8,nil,nil,nil,nil,nil,nil], __LINE__],
[['JAN-31-1999',false],[1999,1,31,nil,nil,nil,nil,nil,nil], __LINE__],
[['JAN-31--1999',false],[-1999,1,31,nil,nil,nil,nil,nil,nil], __LINE__],

Просмотреть файл

@ -70,7 +70,7 @@ class ClassNameCheckTest < Test::Unit::TestCase
# This is a weird require, but in a multi-threaded condition, a constant may
# be loaded between when a NameError occurred and when the spell checker
# attemps to find a possible suggestion. The manual require here simulates
# attempts to find a possible suggestion. The manual require here simulates
# a race condition a single test.
require_relative '../fixtures/book'

Просмотреть файл

@ -51,7 +51,7 @@ class TestLogDevice < Test::Unit::TestCase
ensure
logdev.close
end
# create logfile whitch is already exist.
# create logfile which is already exist.
logdev = d(@filename)
begin
assert_predicate(logdev.dev, :sync)

Просмотреть файл

@ -61,14 +61,14 @@ foo\\bar::foo\\bar = baz
[default1 default2]\t\t # space is allowed in section name
fo =b ar # space allowed in value
[emptysection]
[doller ]
[dollar ]
foo=bar
bar = $(foo)
baz = 123$(default::bar)456${foo}798
qux = ${baz}
quxx = $qux.$qux
__EOC__
assert_equal(['default', 'default1 default2', 'doller', 'emptysection', 'foo', 'foo\\bar'], c.sections.sort)
assert_equal(['default', 'default1 default2', 'dollar', 'emptysection', 'foo', 'foo\\bar'], c.sections.sort)
assert_equal(['', 'a', 'bar', 'baz', 'd', 'dq', 'dq2', 'esc', 'foo\\bar', 'sq'], c['default'].keys.sort)
assert_equal('c', c['default'][''])
assert_equal('', c['default']['a'])
@ -84,12 +84,12 @@ __EOC__
assert_equal('baz', c['foo\\bar']['foo\\bar'])
assert_equal('b ar', c['default1 default2']['fo'])
# dolloer
assert_equal('bar', c['doller']['foo'])
assert_equal('bar', c['doller']['bar'])
assert_equal('123baz456bar798', c['doller']['baz'])
assert_equal('123baz456bar798', c['doller']['qux'])
assert_equal('123baz456bar798.123baz456bar798', c['doller']['quxx'])
# dollar
assert_equal('bar', c['dollar']['foo'])
assert_equal('bar', c['dollar']['bar'])
assert_equal('123baz456bar798', c['dollar']['baz'])
assert_equal('123baz456bar798', c['dollar']['qux'])
assert_equal('123baz456bar798.123baz456bar798', c['dollar']['quxx'])
excn = assert_raise(OpenSSL::ConfigError) do
OpenSSL::Config.parse("foo = $bar")

Просмотреть файл

@ -586,7 +586,7 @@ def n(cls, *args)
rescue
puts "An exception occurred during the creation of a #{cls} instance."
puts
puts "The arguments passed to the constructer were:"
puts "The arguments passed to the constructor were:"
puts args
puts
puts @tok.last.context

Просмотреть файл

@ -56,7 +56,7 @@ def n(cls, *args)
rescue
puts "An exception occurred during the creation of a #{cls} instance."
puts
puts "The arguments passed to the constructer were:"
puts "The arguments passed to the constructor were:"
puts args
puts
puts @tok.last.context

Просмотреть файл

@ -270,7 +270,7 @@ it easy to use Markdown to write about HTML example code:
I strongly recommend against using any `<blink>` tags.
I wish SmartyPants used named entities like `&mdash;`
instead of decimal-encoded entites like `&#8212;`.
instead of decimal-encoded entities like `&#8212;`.
Output:
@ -279,7 +279,7 @@ Output:
<p>I wish SmartyPants used named entities like
<code>&amp;mdash;</code> instead of decimal-encoded
entites like <code>&amp;#8212;</code>.</p>
entities like <code>&amp;#8212;</code>.</p>
To specify an entire block of pre-formatted code, indent every line of

Просмотреть файл

@ -744,7 +744,7 @@ foo
"I strongly recommend against using any `<blink>` tags.\n",
"\n",
"I wish SmartyPants used named entities like `&mdash;`\n",
"instead of decimal-encoded entites like `&#8212;`.\n"),
"instead of decimal-encoded entities like `&#8212;`.\n"),
para("Output:"),
@ -753,7 +753,7 @@ foo
"\n",
"<p>I wish SmartyPants used named entities like\n",
"<code>&amp;mdash;</code> instead of decimal-encoded\n",
"entites like <code>&amp;#8212;</code>.</p>\n"),
"entities like <code>&amp;#8212;</code>.</p>\n"),
para("To specify an entire block of pre-formatted code, indent every line of\n" +
"the block by 4 spaces or 1 tab. Just like with code spans, <code>&</code>, <code><</code>,\n" +

Просмотреть файл

@ -3504,7 +3504,7 @@ end
#
# The previous test assumes that between the =begin/=end blocks that there
# is only one line, or minima formatting directives. This test tests for
# those who use the =begin bloc with longer / more advanced formatting
# those who use the =begin block with longer / more advanced formatting
# within.
#
##