Koichi ITO
Koichi ITO
This PR suppresses the following Ruby interpreter warnings. ``` % ruby -v ruby 2.6.0dev (2018-08-28 trunk 64584) [x86_64-darwin17] % RUBYOPT='-w' rake /Users/koic/src/github.com/mojombo/chronic/lib/chronic/tags/scalar.rb:32: warning: mismatched indentat ions at 'end' with 'unless'...
Follow #1703. Oracle enhanced adapter supports longer identifier by #1703. I encountered the following error when using `rename_table` in Oracle 12c. ```console New table name 'identifier_of_thirty_bytes_or_more' is too long; the...
https://github.com/rails/rails/pull/31323
This PR supports specified name and address for `bcc_to` and `cc_to` matchers.
This PR adds new `delete_by` and `destroy_by` rule. Rails 6.0 has been added `delete_by` and `destroy_by` as relation methods. Prefer the use of `delete_by` over `find_by(...)&.delete` and `where(...).delete_all`, and `destroy_by`...
Fixes #10899. This PR fixes an error for `Lint/ShadowingOuterLocalVariable` when the same variable name as a block variable is used in return value assignment of `if`. ----------------- Before submitting the...
When using multibyte characters as a Hash key string, it seems natural in my opinion to be quoted. Currently, it is detected when starting with an alphabet as shown below....
**Environment Information** Provide at least: * JRuby version (`jruby -v`) and command line (flags, JRUBY_OPTS, etc) `jruby 9.3.3.0 (2.6.8) 2022-01-19 b26de1f5c5 Java HotSpot(TM) 64-Bit Server VM 25.271-b09 on 1.8.0_271-b09 +jit...
Replacing `...` with `*pids` seems to clarify the expected variadic arguments. Note that the expected arguments are two or more with a signal and pids. That is, the method must...
## Background `String#casecmp?` method was suggested to RuboCop Performance to use as a fast method. https://github.com/rubocop-hq/rubocop-performance/issues/100 However `String#casecmp?` is always slower than `String#casecmp("arg").zero?`. ## Summary This PR improves `String#casecmp?` and...