Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix ArgumentError in expand_tabs.rb | Jeremy Evans | 2019-08-25 | 1 | -2/+2 |
| | | | | | | | | | This fixes the following in my environment: misc/expand_tabs.rb:29:in `=~': invalid byte sequence in US-ASCII (ArgumentError) This switches from =~ to start_with? as a regular expression is not actually needed here. | ||||
* | Simplify expand_tabs.rb file selection | Takashi Kokubun | 2019-08-23 | 1 | -5/+3 |
| | |||||
* | Add misc/expand_tabs.rb ported from auto-style.rb | Takashi Kokubun | 2019-08-22 | 1 | -0/+171 |
This is implemented to close [Misc #16112] because all other options got at least one objection, and nobody has objected to this solution. This code is a little complicated for the purpose, but that's just because it includes some historical code for auto-style.rb: https://github.com/ruby/ruby-commit-hook/blob/918a7c31b69ad2f7b125608c1c6a1f4fd01ec15a/bin/auto-style.rb Please feel free to improve this file as you like. [Misc #16112] |