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

celluloid / celluloid-supervision / 119 / 1

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2016 06:03PM UTC
Files 20
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: 90.751%. Remained the same
rbx-2, CELLULOID_BACKPORTED=true

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

677 of 746 relevant lines covered (90.75%)

75.79 hits per line

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