Skip to content

Commit 857fed9

Browse files
authored
Fix spelling (#893)
* spelling: an Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: are Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: attempts Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: docstring Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: finally Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: for Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: interpolation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: its Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: multilines Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: otherwise, Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: preferably Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: really, really, Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: sentences Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: there Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: unnecessarily Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1 parent b718964 commit 857fed9

26 files changed

Lines changed: 40 additions & 40 deletions

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Hi there! Thanks for taking the time to file a pull request against Rubyfmt
33
Right now we're accepting CLI ergonomics PRs, Editor Integration PRs, and bug
44
fixes only. We define bugs as Rubyfmt failing to format a file, or formatting a
5-
file such that it's behaviour changes. If you're trying to change the behaviour
5+
file such that its behaviour changes. If you're trying to change the behaviour
66
of the formatter, or style the output, please don't file the PR. We're working
77
on getting that just right, and will accept those in a future release.
88
-->

fixtures/large/concurrent-ruby/atom_actual.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class Atom < Synchronization::Object
113113
# @option opts [Proc] :validator (nil) Optional proc used to validate new
114114
# values. It must accept one and only one argument which will be the
115115
# intended new value. The validator will return true if the new value
116-
# is acceptable else return false (preferrably) or raise an exception.
116+
# is acceptable else return false (preferably) or raise an exception.
117117
#
118118
# @!macro deref_options
119119
#

fixtures/large/concurrent-ruby/atom_expected.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Atom < Synchronization::Object
112112
# @option opts [Proc] :validator (nil) Optional proc used to validate new
113113
# values. It must accept one and only one argument which will be the
114114
# intended new value. The validator will return true if the new value
115-
# is acceptable else return false (preferrably) or raise an exception.
115+
# is acceptable else return false (preferably) or raise an exception.
116116
#
117117
# @!macro deref_options
118118
#

fixtures/small/begin_ensure_rescue_actual.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def func_with_comments
4040
end
4141
end
4242

43-
def func_with_mulilines
43+
def func_with_multilines
4444
_lambda_to_break_stuff = lambda do |this, that, the_other|
4545
wreak_havoc!
4646
end

fixtures/small/begin_ensure_rescue_expected.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def func_with_comments
3939
end
4040
end
4141

42-
def func_with_mulilines
42+
def func_with_multilines
4343
_lambda_to_break_stuff = lambda do |this, that, the_other|
4444
wreak_havoc!
4545
end

fixtures/small/breaks_actual.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
break
44
break Some::Very::Long::Thing::That::Will::Extend::Over::Multiple::Lines::And::Never::Ends.await_result(workflow_id: workflow_id)
55
break Some::Very::Long::Thing::That::Will::Extend::Over::Multiple::Lines::And::Never::Ends.await_result(workflow_id: workflow_id), with_a_second_value
6-
break [off_reservation_payment, payment_intent_mode, Return.new(outcome: Outcome::Succeeded, attemptes: off_reservation_payment.attempts + 1)]
6+
break [off_reservation_payment, payment_intent_mode, Return.new(outcome: Outcome::Succeeded, attempts: off_reservation_payment.attempts + 1)]
77
break [
88
off_reservation_payment,
99
payment_intent_mode,
1010
Return.new(
1111
outcome: Outcome::Succeeded,
12-
attemptes: off_reservation_payment.attempts + 1
12+
attempts: off_reservation_payment.attempts + 1
1313
)
1414
]
1515
break([
1616
off_reservation_payment,
1717
payment_intent_mode,
18-
Return.new(outcome: Outcome::Succeeded, attemptes: off_reservation_payment.attempts + 1)
18+
Return.new(outcome: Outcome::Succeeded, attempts: off_reservation_payment.attempts + 1)
1919
])
2020
end

fixtures/small/breaks_expected.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
break [
1111
off_reservation_payment,
1212
payment_intent_mode,
13-
Return.new(outcome: Outcome::Succeeded, attemptes: off_reservation_payment.attempts + 1)
13+
Return.new(outcome: Outcome::Succeeded, attempts: off_reservation_payment.attempts + 1)
1414
]
1515
break [
1616
off_reservation_payment,
1717
payment_intent_mode,
1818
Return.new(
1919
outcome: Outcome::Succeeded,
20-
attemptes: off_reservation_payment.attempts + 1
20+
attempts: off_reservation_payment.attempts + 1
2121
)
2222
]
2323
break ([
2424
off_reservation_payment,
2525
payment_intent_mode,
26-
Return.new(outcome: Outcome::Succeeded, attemptes: off_reservation_payment.attempts + 1)
26+
Return.new(outcome: Outcome::Succeeded, attempts: off_reservation_payment.attempts + 1)
2727
])
2828
end

fixtures/small/hash_comments_actual.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
# The rain has finallyt stopped;
2+
# The rain has finally stopped;
33
# now just a thin stream trickles from the root.
44
all_night_the_incessant: "cry of insects",
55
# Wide awake, unable to sleep

fixtures/small/hash_comments_expected.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
# The rain has finallyt stopped;
2+
# The rain has finally stopped;
33
# now just a thin stream trickles from the root.
44
all_night_the_incessant: "cry of insects",
55
# Wide awake, unable to sleep

fixtures/small/heredocs_actual.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ def foo
2424

2525
<<~FOO
2626
some stuff
27-
with a empty last line
27+
with an empty last line
2828
2929
FOO
3030

3131
<<-FOO
3232
some stuff
33-
with a empty last line
33+
with an empty last line
3434
3535
FOO
3636

3737
<<FOO
3838
some stuff
39-
with a empty last line
39+
with an empty last line
4040
4141
FOO
4242

0 commit comments

Comments
 (0)