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

ifad / eaco / 131 / 17
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feature/rails-61
DEFAULT BRANCH: master
Ran 27 Jan 2020 09:04AM UTC
Files 53
Run time 4s
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

27 Jan 2020 08:59AM UTC coverage: 99.893%. First build
2.4.9, gemfiles/rails_4.2.gemfile

Pull #15

travis-ci

web-flow
Support Ruby >= 2.6 Syntax errors

Ruby 2.6 syntax errors do not return information on the code. This
commit uses the example provided by Ruby docs

It is possible to check this behaviour in rib:

```
2.7.0 :001 > eval 'if you give me rubbish please go elsewhere'
Traceback (most recent call last):
        5: from /Users/geremia/.rvm/rubies/ruby-2.7.0/bin/irb:23:in `<main>'
        4: from /Users/geremia/.rvm/rubies/ruby-2.7.0/bin/irb:23:in `load'
        3: from /Users/geremia/.rvm/rubies/ruby-2.7.0/lib/ruby/gems/2.7.0/gems/irb-1.2.1/exe/irb:11:in `<top (required)>'
        2: from (irb):1
        1: from (irb):1:in `eval'
SyntaxError ((eval):1: syntax error, unexpected end-of-input, expecting `then' or ';' or '\n')
```

```
2.5.7 :001 > eval 'if you give me rubbish please go elsewhere'
Traceback (most recent call last):
        3: from /Users/geremia/.rvm/rubies/ruby-2.5.7/bin/irb:11:in `<main>'
        2: from (irb):1
        1: from (irb):1:in `eval'
SyntaxError ((eval):1: syntax error, unexpected end-of-input, expecting keyword_then or ';' or '\n')
... me rubbish please go elsewhere
...                               ^
```
Pull Request #15: Feature/rails 6

936 of 937 relevant lines covered (99.89%)

14.84 hits per line

Source Files on job 131.17 (2.4.9, gemfiles/rails_4.2.gemfile)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 131
  • Travis Job 131.17
  • dfef5fba on github
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

© 2025 Coveralls, Inc