Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #592 from p-linnane/fix-various-typos
Browse files Browse the repository at this point in the history
various: fix miscellaneous typos
  • Loading branch information
pirj authored Jan 17, 2024
2 parents 8a25122 + c74cd5d commit bde1f53
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Bug Fixes:
Bug Fixes:

* Ensure that inspecting a `SimpleDelegator` based object works regardless of
visibilty of the `__getobj__` method. (Jon Rowe, #369)
visibility of the `__getobj__` method. (Jon Rowe, #369)

### 3.8.0 / 2018-08-04
[Full Changelog](http://github.com/rspec/rspec-support/compare/v3.7.1...v3.8.0)
Expand Down Expand Up @@ -238,7 +238,7 @@ Changes:

Enhancements:

* Improve formatting of `Delegator` based objects (e.g. `SimpleDelgator`) in
* Improve formatting of `Delegator` based objects (e.g. `SimpleDelegator`) in
failure messages and diffs. (Andrew Horner, #215)
* Add `ComparableVersion`. (Yuji Nakayama, #245)
* Add `Ripper` support detection. (Yuji Nakayama, #245)
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/caller_vs_caller_locations_vs_raise.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This benchmark arose from rspec/rspec-support#199 where we experimented with
# faster ways of generating / capturing a backtrace and wether it made sense
# faster ways of generating / capturing a backtrace and whether it made sense
# to lazily generate it using `raise` to capture the backtrace via an exception.
# See also rspec/rspec-mocks#937

Expand Down
2 changes: 1 addition & 1 deletion lib/rspec/support/method_signature_verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def split_args(*args)
end
end

# Figures out wether a given method can accept various arguments.
# Figures out whether a given method can accept various arguments.
# Surprisingly non-trivial.
#
# @private
Expand Down
2 changes: 1 addition & 1 deletion lib/rspec/support/reentrant_mutex.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def exit
# On 1.9 and up, this is in core, so we just use the real one
class Mutex < ::Mutex
# If you mock Mutex.new you break our usage of Mutex, so
# instead we capture the original method to return Mutexs.
# instead we capture the original method to return Mutexes.
NEW_MUTEX_METHOD = Mutex.method(:new)

def self.new
Expand Down

0 comments on commit bde1f53

Please sign in to comment.