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

celluloid / celluloid-supervision

Build:
DEFAULT BRANCH: master
Repo Added 18 Apr 2015 10:09PM UTC
Files 0
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

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • actorsystem-refactor
  • v0.13.9.pre2
  • v0.13.9.pre3
  • v0.20.0
  • v0.20.0.pre0
  • v0.20.0.pre5
  • v0.20.0.pre6
  • v0.20.1
  • v0.20.5
  • v0.20.6

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
Relevant lines Covered
NO TREND HISTORY
Source Files on master
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
122 master 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:... Pull #30 04 Jan 2017 04:25AM UTC web-flow travis-ci pending completion  
120 master new release to cover slight tweaks push 19 Jun 2016 02:25PM UTC digitalextremist travis-ci pending completion  
119 master 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:... Pull #30 20 Apr 2016 06:03PM UTC potomak travis-ci pending completion  
117 master update release date, remove leak test from CI push 30 Sep 2015 09:29PM UTC digitalextremist travis-ci pending completion  
116 master rubocop pass for celluloid/culture#33 push 28 Sep 2015 09:58PM UTC digitalextremist travis-ci pending completion  
115 master pull in rspec-retry dev dependency, update changelog, bump version push 28 Sep 2015 06:02PM UTC digitalextremist travis-ci pending completion  
114 master superficial test changes push 27 Sep 2015 07:06AM UTC digitalextremist travis-ci pending completion  
113 master remove the remaining instances of Celluloid::Supervisor in the unbackported tests push 25 Sep 2015 02:54PM UTC digitalextremist travis-ci pending completion  
112 master don't use deprecated class name in test push 25 Sep 2015 02:31PM UTC digitalextremist travis-ci pending completion  
111 master put back bundler into spec_helper push 25 Sep 2015 01:52PM UTC digitalextremist travis-ci pending completion  
See All Builds (83)
  • Repo on GitHub
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