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

lsegal / yard / 1118
93%
master: 93%

Build:
Build:
LAST BUILD BRANCH: add_commonmarker_provider
DEFAULT BRANCH: master
Ran 26 Dec 2019 11:32AM UTC
Jobs 8
Files 566
Run time 2min
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

pending completion
1118

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

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

Jobs
ID Job ID Ran Files Coverage
1 1118.1 (2.0, CI=1) 26 Dec 2019 11:32AM UTC 0
93.29
Travis Job 1118.1
2 1118.2 (2.1, CI=1) 26 Dec 2019 11:32AM UTC 0
93.37
Travis Job 1118.2
3 1118.3 (2.2, CI=1) 26 Dec 2019 11:32AM UTC 0
93.37
Travis Job 1118.3
4 1118.4 (2.3, CI=1) 26 Dec 2019 11:32AM UTC 0
93.36
Travis Job 1118.4
5 1118.5 (2.4, CI=1) 26 Dec 2019 11:32AM UTC 0
93.36
Travis Job 1118.5
6 1118.6 (2.5, CI=1) 26 Dec 2019 11:33AM UTC 0
93.3
Travis Job 1118.6
7 1118.7 (2.6, CI=1) 26 Dec 2019 11:34AM UTC 0
93.34
Travis Job 1118.7
8 1118.8 (2.7, CI=1) 26 Dec 2019 11:34AM UTC 0
93.34
Travis Job 1118.8
Source Files on build 1118
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1118
  • Pull Request #1296
  • PR Base - master (#1114)
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