travis-ci
Deprecate safe_level of ERB.new in Ruby 2.6 The interface of `ERB.new` will change from Ruby 2.6. > Add :trim_mode and :eoutvar keyword arguments to ERB.new. > Now non-keyword arguments other than first one are softly deprecated > and will be removed when Ruby 2.5 becomes EOL. [Feature #14256] https://github.com/ruby/ruby/blob/2311087b6/NEWS#stdlib-updates-outstanding-ones-only The following address is related Ruby's commit. https://github.com/ruby/ruby/commit/cc777d0 This PR uses `ERB.version` to switch `ERB.new` interface. Because Thor supports multiple Ruby versions, it need to use the appropriate interface. Using `ERB.version` instead of `RUBY_VERSON` is based on the following patch. https://github.com/ruby/ruby/pull/1826 This patch is built into Ruby. https://github.com/ruby/ruby/commit/40db89c09
4 of 4 new or added lines in 1 file covered. (100.0%)
2093 of 2278 relevant lines covered (91.88%)
815.75 hits per line