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

SpeciesFileGroup / taxonworks / 8664
71%
master: 71%

Build:
Build:
LAST BUILD BRANCH: development
DEFAULT BRANCH: master
Ran 26 Dec 2019 10:11PM UTC
Jobs 4
Files 0
Run time –
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
8664

push

travis-ci

LocoDelAssembly
Fixed always-nil comparison

As adviced by Ruby 2.7 `warning: deprecated Object#=~ is called on Class; it always returns nil` message, rank_class comparson wasn't been done right. Fixed by added .to_s. Example:
```
$ rails c
Loading development environment (Rails 6.0.2.1)
irb: warn: can't alias context from irb_context.
2.6.5 :001 > Protonym.third.rank_class =~ /Iczn/ # Old way
  Protonym Load (0.4ms)  SELECT "taxon_names".* FROM "taxon_names" WHERE "taxon_names"."type" = $1 ORDER BY "taxon_names"."id" ASC LIMIT $2 OFFSET $3  [["type", "Protonym"], ["LIMIT", 1], ["OFFSET", 2]]
 => nil
2.6.5 :002 > Protonym.third.rank_class.to_s =~ /Iczn/ # New way
  Protonym Load (1.1ms)  SELECT "taxon_names".* FROM "taxon_names" WHERE "taxon_names"."type" = $1 ORDER BY "taxon_names"."id" ASC LIMIT $2 OFFSET $3  [["type", "Protonym"], ["LIMIT", 1], ["OFFSET", 2]]
 => 19
```
Jobs
ID Job ID Ran Files Coverage
1 8664.1 (["2.6.5"], TEST_WORKER=0) 26 Dec 2019 10:14PM UTC 0
47.59
Travis Job 8664.1
2 8664.2 (["2.6.5"], TEST_WORKER=1) 26 Dec 2019 10:12PM UTC 0
43.33
Travis Job 8664.2
4 8664.4 (["2.6.5"], TEST_WORKER=3) 26 Dec 2019 10:11PM UTC 0
41.34
Travis Job 8664.4
5 8664.5 (["2.6.5"], TEST_WORKER=4) 26 Dec 2019 10:12PM UTC 0
41.04
Travis Job 8664.5
Source Files on build 8664
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8664
  • 8156aa7b on github
  • Prev Build on development (#8662)
  • Next Build on development (#8666)
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