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

ifad / eaco / 130 / 3
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: feature/rails-61
DEFAULT BRANCH: master
Ran 27 Jan 2020 08:47AM UTC
Files 54
Run time 7s
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:46AM UTC coverage: 99.895%. Remained the same
2.1.10, gemfiles/rails_4.1.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

955 of 956 relevant lines covered (99.9%)

15.55 hits per line

Source Files on job 130.3 (2.1.10, gemfiles/rails_4.1.gemfile)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 130
  • Travis Job 130.3
  • fc98c359 on github
  • Prev Job for 2.1.10, gemfiles/rails_4.1.gemfile on feature/rails-6 (#129.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

© 2025 Coveralls, Inc