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

preaction / Import-Base / 33
98%

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

pending completion
33

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

Jobs
ID Job ID Ran Files Coverage
8 33.8 (COVERAGE=1) 09 Feb 2015 01:31AM UTC 0
100.0
Travis Job 33.8
Source Files on build 33
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #33
  • 241b2c76 on github
  • Prev Build on master (#31)
  • Next Build on master (#34)
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