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

celluloid / celluloid-supervision / 119 / 25

Build:
DEFAULT BRANCH: master
Ran 20 Apr 2016 06:10PM UTC
Files 10
Run time 49s
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: 98.913%. Remained the same
1.9.3, 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

364 of 368 relevant lines covered (98.91%)

1.59 hits per line

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