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

ndlib / hydramata-works / 363 / 6
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 05 Sep 2014 05:45PM UTC
Files 63
Run time 1min
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

05 Sep 2014 05:34PM UTC coverage: 99.458% (+0.003%) from 99.455%
2.1.2, gemfiles/rails4.1.gemfile

push

travis-ci

jeremyf
Adding explicit #validate method

In switching from inheritence to composition, I encountered the
a delegator problem.

The point of entry for validation is the Validator#validate method;
this is true of Rails and true of Hydramata::Works::ValidationService.

What is happening prior to this commit is that we have the Validation
object and its collaborating BaseValidator. When the application
attempts to call Validation#validate, the delegator passing along the
behavior to the BaseValidator#validate and the #validate_each message
is received by the BaseValidator instance, and thus uses the initial
behavior.

So in favoring composition, I encountered a problem resolved by
inheritance.

1468 of 1476 relevant lines covered (99.46%)

25.94 hits per line

Source Files on job 363.6 (2.1.2, gemfiles/rails4.1.gemfile)
  • Tree
  • List 0
  • Changed 34
  • Source Changed 1
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 363
  • Travis Job 363.6
  • 8f3dd2ae on github
  • Prev Job for 2.1.2, gemfiles/rails4.1.gemfile on master (#359.6)
  • Next Job for 2.1.2, gemfiles/rails4.1.gemfile on master (#366.6)
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