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

preaction / Beam-Wire / 81 / 11
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 28 Feb 2016 04:22AM UTC
Files 1
Run time 0s
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

28 Feb 2016 03:49AM UTC coverage: 93.657% (+1.6%) from 92.063%
COVERAGE=1

push

travis-ci

preaction
add bare services

Bare services allow us to interleave metadata and arguments when a class
takes a hash:

    object:
        $class: Class
        arg: value

This makes it easier to provide a "default" class:

    use Scalar::Util qw( blessed );
    my $obj = $wire->get( 'object' );
    if ( !blessed $obj ) {
        $obj = Class->new( %$obj );
    }

Bare services also allow us to have arrays and hashes of objects:

    array:
        - $class: Class
          arg: value
        - $class: Class
          arg: value

    hash:
        key:
            $class: Class
            arg: value
        key:
            $class: Class
            arg: value

Fixes #43

251 of 268 relevant lines covered (93.66%)

66.46 hits per line

Source Files on job 81.11 (COVERAGE=1)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 81
  • Travis Job 81.11
  • 564896f8 on github
  • Prev Job for COVERAGE=1 on master (#80.11)
  • Next Job for COVERAGE=1 on master (#82.11)
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