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

preaction / Import-Base / 33 / 8
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 09 Feb 2015 01:31AM UTC
Files 1
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

09 Feb 2015 01:26AM UTC coverage: 100.0%. Remained the same
COVERAGE=1

push

travis-ci

preaction
run subref callbacks during the import process

Running the subref callbacks while collecting the module list prevents
that subref from doing things that assume other imports have already
been completed, like a Moo class applying a Moo::Role.

Now we can do more meta-class-oriented things more easily, which is one
of the reasons I wanted subref callbacks: To reduce "with" and "extends"
boilerplate.

Fixes #21

Also add an example of applying roles at runtime.

Fixes #22

Thanks @djerius for your thorough examination of this issue, and the
example use-case (which has been added to the tests).

64 of 64 relevant lines covered (100.0%)

36.19 hits per line

Source Files on job 33.8 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 33
  • Travis Job 33.8
  • 241b2c76 on github
  • Prev Job for COVERAGE=1 on master (#31.8)
  • Next Job for COVERAGE=1 on master (#34.8)
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