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

celluloid / celluloid-supervision / 119 / 3

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2016 06:03PM UTC
Files 17
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

20 Apr 2016 06:00PM UTC coverage: 89.765% (+0.8%) from 88.945%
rbx-2, CELLULOID_BACKPORTED=false CELLULOID_TASK_CLASS=Threaded

Pull #30

travis-ci

potomak
Fix container doc

The first example:

    container = Celluloid::Supervision::Container.new {
      supervise type: MyActor, as: :my_actor
    }
    container.run!

failed with the error:

    NoMethodError: undefined method `supervise' for main:Object

`Celluloid::Supervision::Container` initialization supports yielding with
the new object as an argument, but changing the example to:

    container = Celluloid::Supervision::Container.new { |a|
      a.supervise type: MyActor, as: :my_actor
    }
    container.run!

failed with the error:

    undefined method `run!' for #<Celluloid::Supervision::Container:0x3fe78d9fe1d8> (NoMethodError)

because `run!` is defined as a class method.

The way that I found useful to use supervision containers was to subclass
`Celluloid::Supervision::Container`, define actors supervision, and run it,
in a similar way to how `Celluloid::SupervisionGroup` worked before
Celluloid 0.17.
Pull Request #30: Fix container doc

535 of 596 relevant lines covered (89.77%)

68.72 hits per line

Source Files on job 119.3 (rbx-2, CELLULOID_BACKPORTED=false CELLULOID_TASK_CLASS=Threaded)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 119
  • Travis Job 119.3
  • cba20f09 on github
  • Prev Job for rbx-2, CELLULOID_BACKPORTED=false CELLULOID_TASK_CLASS=Threaded on master (#117.3)
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