promiscuous 0.5 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Promiscuous
2
- VERSION = '0.5'
2
+ VERSION = '0.5.1'
3
3
  end
data/lib/promiscuous.rb CHANGED
@@ -2,6 +2,8 @@ require 'active_support/core_ext'
2
2
  require 'promiscuous/config'
3
3
  require 'promiscuous/amqp'
4
4
  require 'promiscuous/loader'
5
+ require 'promiscuous/publisher'
6
+ require 'promiscuous/subscriber'
5
7
  require 'promiscuous/railtie' if defined?(Rails)
6
8
 
7
9
  module Promiscuous
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promiscuous
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.5'
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: