promiscuous 0.5 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/promiscuous/loader.rb +0 -2
- data/lib/promiscuous/version.rb +1 -1
- data/lib/promiscuous.rb +2 -0
- metadata +1 -1
data/lib/promiscuous/loader.rb
CHANGED
@@ -4,11 +4,9 @@ module Promiscuous
|
|
4
4
|
[descriptors].flatten.each do |descriptor|
|
5
5
|
dir, file_matcher = case descriptor
|
6
6
|
when :publishers
|
7
|
-
require 'promiscuous/publisher'
|
8
7
|
# TODO Cleanup publishers
|
9
8
|
%w(publishers **_publisher.rb)
|
10
9
|
when :subscribers
|
11
|
-
require 'promiscuous/subscriber'
|
12
10
|
Promiscuous::Subscriber.subscribers.clear
|
13
11
|
%w(subscribers **_subscriber.rb)
|
14
12
|
end
|
data/lib/promiscuous/version.rb
CHANGED
data/lib/promiscuous.rb
CHANGED