remove wisper from project

This commit is contained in:
Anton Chuchkalov 2016-03-30 16:08:45 +03:00
parent 89c73ef895
commit 60f688e951
5 changed files with 0 additions and 33 deletions

View File

@ -14,7 +14,6 @@ gem "mongo", '1.12.3'
gem "bson_ext"
gem "multi_json", "1.7.8"
gem "sidekiq", "3.2.6"
gem 'wisper'
gem 'rake', '10.2.0'
gem 'rack-accept-media-types'
gem 'rack', '1.5.2'

View File

@ -333,7 +333,6 @@ GEM
thread_safe (~> 0.1)
uber (0.0.13)
uuidtools (2.1.5)
wisper (1.6.0)
wmi-lite (1.0.0)
PLATFORMS
@ -367,7 +366,6 @@ DEPENDENCIES
sinatra-websocket
test-unit
thin (~> 1.5.1)
wisper
BUNDLED WITH
1.11.2

View File

@ -1,4 +1,3 @@
require "wisper"
require "lib/core_ext/hash"
require "lib/core_ext/nil_class"
require "lib/core_ext/string"
@ -18,8 +17,6 @@ require_relative "devops-routes"
class DevopsService
include Wisper::Publisher
class << self
# steps:
@ -79,5 +76,3 @@ class DevopsService
end
end
require_relative "../wisper_fix"

View File

@ -1,10 +0,0 @@
require "test_subscriber"
class SomeClass
include Wisper::Publisher
def sbc
self.subscribe TestSubscriber.new
# self.call("hello 2")
end
end

View File

@ -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