• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lsegal / yard / 1118 / 3
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: add_commonmarker_provider
DEFAULT BRANCH: master
Ran 26 Dec 2019 11:32AM UTC
Files 308
Run time 22s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Dec 2019 11:31AM UTC coverage: 93.37% (-0.3%) from 93.681%
2.2, CI=1

Pull #1296

travis-ci

web-flow
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.
Pull Request #1296: Support Ruby 2.7.0

17534 of 18779 relevant lines covered (93.37%)

2972.54 hits per line

Source Files on job 1118.3 (2.2, CI=1)
  • Tree
  • List 0
  • Changed 61
  • Source Changed 1
  • Coverage Changed 60
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1092
  • Travis Job 1118.3
  • 463dae53 on github
  • Prev Job for 2.2, CI=1 on support_ruby_2_7_0 (#1114.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc