Permalink
Browse files

[UPDATE] Bump to Celluloid 0.12.1

  • Loading branch information...
1 parent a3bd785 commit 0a2406d71f102d08832fecd357e168eb35e2ad06 @benlangfeld benlangfeld committed Oct 10, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 adhearsion.gemspec
  2. +1 −1 spec/adhearsion/calls_spec.rb
  3. +1 −1 spec/adhearsion/punchblock_plugin/initializer_spec.rb
View
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'activesupport', ["~> 3.0"]
s.add_runtime_dependency 'adhearsion-loquacious', ["~> 1.9"]
s.add_runtime_dependency 'bundler', ["~> 1.0"]
- s.add_runtime_dependency 'celluloid', ["~> 0.11.0"]
+ s.add_runtime_dependency 'celluloid', ["~> 0.12", ">= 0.12.1"]
s.add_runtime_dependency 'countdownlatch'
s.add_runtime_dependency 'deep_merge'
s.add_runtime_dependency 'ffi', ["~> 1.0"]
@@ -46,7 +46,7 @@ def new_offer(call_id = nil, headers = {})
context "by dead call object" do
before do
@call_id = deleted_call.id
- deleted_call.kill
+ Celluloid::Actor.kill deleted_call
deleted_call.should_not be_alive
subject.remove_inactive_call deleted_call
end
@@ -55,7 +55,7 @@ def initialize_punchblock(options = {})
let(:call_id) { rand }
let(:offer) { Punchblock::Event::Offer.new.tap { |o| o.target_call_id = call_id } }
- let(:mock_call) { flexmock('Call', :id => call_id).tap { |call| call.should_ignore_missing } }
+ let(:mock_call) { flexmock Call.new, :id => call_id }
describe "starts the client with the default values" do
subject { initialize_punchblock }

0 comments on commit 0a2406d

Please sign in to comment.