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

openlogic / random-word / 32
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: remove-null-from-adjectives-list
DEFAULT BRANCH: master
Ran 23 Aug 2018 02:39AM UTC
Jobs 1
Files 4
Run time 1s
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
32

Pull #13

travis-ci

web-flow
Use #to_enum to fix Enum.new deprecation warnings

Currently this gem always emits this warning:

```
random-word-2.1.0/lib/random_word.rb:90: warning: Enumerator.new without a block is deprecated; use Object#to_enum
```

This is due to Enumerator.new without a block being deprecated in Ruby 2.0.

This commit fixes this deprecation warning by calling `#to_enum` on the
random phrase enumerator object.
Pull Request #13: Use #to_enum to fix Enum.new deprecation warnings

1 of 1 new or added line in 1 file covered. (100.0%)

172 of 172 relevant lines covered (100.0%)

348.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32.1 (2.4.1) 23 Aug 2018 02:39AM UTC 0
100.0
Travis Job 32.1
Source Files on build 32
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #32
  • Pull Request #13
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