Ran
|
Files
308
|
Run time
17s
|
Badge
Embed ▾
README BADGES
|
travis-ci
Support Ruby 2.7.0 Follow up of https://github.com/lsegal/yard/pull/1290#issuecomment-558204534. This is a workaround path for Ruby 2.7.0. `irb/slex` internal API has been removed in the following commits. https://github.com/ruby/ruby/commit/45bb6f28d This PR copies the above file to lib/yard/parser/ruby/legacy/irb/slex.rb. Hopefully this workaround patch will be dropped along with legacy Ruby code in the future. And E2MM (e2mmap gem) is no longer bundled gems. https://www.ruby-lang.org/en/news/2019/12/25/ruby-2-7-0-released/ ```console % cd path/to/repo/yard % ruby -v ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin17] % bundle exec rake (snip) LoadError: cannot load such file -- e2mmap # ./lib/yard/parser/ruby/legacy/ruby_lex.rb:1:in `require' # ./lib/yard/parser/ruby/legacy/ruby_lex.rb:1:in `<top (required)>' ``` This dependency on `e2mmap` could be removed when `irb/slex` is removed in the future.
17555 of 18816 relevant lines covered (93.3%)
2896.13 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|