Ran
|
Jobs
8
|
Files
566
|
Run time
2min
|
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 PR adds `e2mmap` gem to the gemspec. And this dependency on `e2mmap` could be removed when `irb/slex` is removed in the future.
155 of 155 new or added lines in 2 files covered. (100.0%)
31726 of 34098 relevant lines covered (93.04%)
25233.15 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
70 |
54.55 |
lib/yard/parser/ruby/legacy/irb/slex.rb |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 1118.1 (2.0, CI=1) | 308 |
93.29 |
Travis Job 1118.1 | |
2 | 1118.2 (2.1, CI=1) | 308 |
93.37 |
Travis Job 1118.2 | |
3 | 1118.3 (2.2, CI=1) | 308 |
93.37 |
Travis Job 1118.3 | |
4 | 1118.4 (2.3, CI=1) | 308 |
93.36 |
Travis Job 1118.4 | |
5 | 1118.5 (2.4, CI=1) | 308 |
93.36 |
Travis Job 1118.5 | |
6 | 1118.6 (2.5, CI=1) | 308 |
93.3 |
Travis Job 1118.6 | |
7 | 1118.7 (2.6, CI=1) | 308 |
93.34 |
Travis Job 1118.7 | |
8 | 1118.8 (2.7, CI=1) | 308 |
93.34 |
Travis Job 1118.8 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|