celerb 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,12 +2,12 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
  require 'rubygems'
4
4
 
5
- require 'mq'
5
+ require 'amqp'
6
6
  require 'msgpack'
7
7
  require 'uuid'
8
8
 
9
9
  module Celerb
10
- VERSION = '0.3.0'
10
+ VERSION = '0.3.1'
11
11
  end
12
12
 
13
13
  require 'celerb/task'
@@ -2,7 +2,7 @@ module Celerb
2
2
  class TaskPublisher
3
3
 
4
4
  def self.connect(opts)
5
- @exchange = MQ.direct(opts[:exchange],
5
+ @exchange = AMQP::Channel.direct(opts[:exchange],
6
6
  :key => opts[:key], :durable => true)
7
7
  @results = ResultConsumer.new
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: celerb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dusan Maliarik