remove wisper from project
This commit is contained in:
parent
89c73ef895
commit
60f688e951
@ -14,7 +14,6 @@ gem "mongo", '1.12.3'
|
|||||||
gem "bson_ext"
|
gem "bson_ext"
|
||||||
gem "multi_json", "1.7.8"
|
gem "multi_json", "1.7.8"
|
||||||
gem "sidekiq", "3.2.6"
|
gem "sidekiq", "3.2.6"
|
||||||
gem 'wisper'
|
|
||||||
gem 'rake', '10.2.0'
|
gem 'rake', '10.2.0'
|
||||||
gem 'rack-accept-media-types'
|
gem 'rack-accept-media-types'
|
||||||
gem 'rack', '1.5.2'
|
gem 'rack', '1.5.2'
|
||||||
|
|||||||
@ -333,7 +333,6 @@ GEM
|
|||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
uber (0.0.13)
|
uber (0.0.13)
|
||||||
uuidtools (2.1.5)
|
uuidtools (2.1.5)
|
||||||
wisper (1.6.0)
|
|
||||||
wmi-lite (1.0.0)
|
wmi-lite (1.0.0)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
@ -367,7 +366,6 @@ DEPENDENCIES
|
|||||||
sinatra-websocket
|
sinatra-websocket
|
||||||
test-unit
|
test-unit
|
||||||
thin (~> 1.5.1)
|
thin (~> 1.5.1)
|
||||||
wisper
|
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
1.11.2
|
1.11.2
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
require "wisper"
|
|
||||||
require "lib/core_ext/hash"
|
require "lib/core_ext/hash"
|
||||||
require "lib/core_ext/nil_class"
|
require "lib/core_ext/nil_class"
|
||||||
require "lib/core_ext/string"
|
require "lib/core_ext/string"
|
||||||
@ -18,8 +17,6 @@ require_relative "devops-routes"
|
|||||||
|
|
||||||
class DevopsService
|
class DevopsService
|
||||||
|
|
||||||
include Wisper::Publisher
|
|
||||||
|
|
||||||
class << self
|
class << self
|
||||||
|
|
||||||
# steps:
|
# steps:
|
||||||
@ -79,5 +76,3 @@ class DevopsService
|
|||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
require_relative "../wisper_fix"
|
|
||||||
|
|||||||
@ -1,10 +0,0 @@
|
|||||||
require "test_subscriber"
|
|
||||||
class SomeClass
|
|
||||||
|
|
||||||
include Wisper::Publisher
|
|
||||||
|
|
||||||
def sbc
|
|
||||||
self.subscribe TestSubscriber.new
|
|
||||||
# self.call("hello 2")
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
module Wisper
|
|
||||||
module Publisher
|
|
||||||
def broadcast(event, *args)
|
|
||||||
registrations.each do | registration |
|
|
||||||
begin
|
|
||||||
registration.broadcast(clean_event(event), self, *args)
|
|
||||||
rescue => e
|
|
||||||
puts "Error: #{registration.class} #{event} #{e.message}"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
self
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user