Ran
|
Files
31
|
Run time
1s
|
Badge
Embed ▾
README BADGES
|
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
2072 of 2263 relevant lines covered (91.56%)
116.8 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|