Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Yuki Nishijima 66df18c55e Sync did_you_mean again 2021-10-22 21:00:23 -04:00
Yuki Nishijima 22249bbb37 Revert "Sync did_you_mean"
This reverts commit e22d293e06.
2021-10-22 20:56:26 -04:00
Yuki Nishijima e22d293e06 Sync did_you_mean 2021-10-22 20:35:40 -04:00
Yusuke Endoh 91ffce8f24 [ruby/did_you_mean] Prevent "warning: ambiguity between regexp and two divisions"
```
test/did_you_mean/spell_checking/test_uncorrectable_name_check.rb:13: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator
```
http://rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20210630T033005Z.log.html.gz#test-all

https://github.com/ruby/did_you_mean/commit/842ede4186
2021-07-19 10:34:38 +09:00
Yusuke Endoh 39f99b8176 Use assert_not_match "Did you mean?" for UncorrectableNameCheckTest
... instead of exact matching. I'm now creating a built-in gem that
modifies Exception's error message, so the expectation value is changed.

IMO, it is good to check that did_you_mean suggestion is NOT added in
the uncorrectable case.

https://github.com/ruby/did_you_mean/commit/ebe88ec4d2
2021-06-29 15:49:51 +09:00
Yuki Nishijima e5f5446528 Sync did_you_mean 2020-06-06 13:02:08 -04:00
Nobuyoshi Nakada ee518cf077
Revert "Sync did_you_mean"
This reverts commit 946dadd3f4,
which broke `TestGemRequire` and others.
2020-05-12 16:27:25 +09:00
Yuki Nishijima 946dadd3f4 Sync did_you_mean 2020-05-11 23:25:04 -04:00
S-H-GAMELINKS b76a21aa45 support multi-run test for test/did_you_mean/spell_checking/test_class_name_check.rb 2020-02-07 09:30:43 -05:00
Nobuyoshi Nakada e68999c82c
Fixed misspellings
Fixed misspellings reported at [Bug #16437], for default gems.
2019-12-20 12:19:45 +09:00
Kevin Deisz 171803d5d3 Promote did_you_mean to default gem
At the moment, there are some problems with regard to bundler + did_you_mean because of did_you_mean being a bundled gem. Since the vendored version of thor inside bundler and ruby itself explicitly requires did_you_mean, it can become difficult to load it when using Bundler.setup. See this issue: https://github.com/yuki24/did_you_mean/issues/117#issuecomment-482733159 for more details.
2019-11-30 21:08:19 -05:00