message 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/message/q.rb +4 -0
  2. metadata +2 -2
data/lib/message/q.rb CHANGED
@@ -18,6 +18,10 @@ module Message
18
18
  end
19
19
 
20
20
  def adapter=(name)
21
+ if name.nil?
22
+ @adapter = nil
23
+ return
24
+ end
21
25
  name = name.to_sym
22
26
  unless adapters.has_key?(name)
23
27
  raise AdapterNotFoundError, "Could not find adapter named #{name.inspect}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-18 00:00:00.000000000 Z
12
+ date: 2015-05-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'Message provides flexible & reliable background/asynchronous job processing
15
15
  mechanism on top of simple queue interface.