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

celluloid / celluloid-supervision / 122

Build:
DEFAULT BRANCH: master
Ran 04 Jan 2017 04:25AM UTC
Jobs 4
Files 0
Run time –
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
122

Pull #30

travis-ci

web-flow
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
Jobs
ID Job ID Ran Files Coverage
13 122.13 (2.2.0, CELLULOID_BACKPORTED=true) 04 Jan 2017 04:25AM UTC 0
Travis Job 122.13
14 122.14 (2.2.0, CELLULOID_BACKPORTED=false) 04 Jan 2017 04:25AM UTC 0
Travis Job 122.14
15 122.15 (2.2.0, CELLULOID_BACKPORTED=false CELLULOID_TASK_CLASS=Threaded) 04 Jan 2017 04:26AM UTC 0
Travis Job 122.15
16 122.16 (2.2.0, CELLULOID_BACKPORTED=true CELLULOID_TASK_CLASS=Threaded) 04 Jan 2017 04:26AM UTC 0
Travis Job 122.16
Source Files on build 122
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #122
  • Pull Request #30
  • PR Base - master (#117)
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