queue_classic 2.0.0rc5 → 2.0.0rc6

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/queue_classic/conn.rb +3 -3
  2. metadata +3 -3
@@ -18,17 +18,17 @@ module QC
18
18
 
19
19
  def notify(chan)
20
20
  log("NOTIFY")
21
- execute("NOTIFY #{chan}")
21
+ execute('NOTIFY "' + chan + '"') #quotes matter
22
22
  end
23
23
 
24
24
  def listen(chan)
25
25
  log("LISTEN")
26
- execute("LISTEN #{chan}")
26
+ execute('LISTEN "' + chan + '"') #quotes matter
27
27
  end
28
28
 
29
29
  def unlisten(chan)
30
30
  log("UNLISTEN")
31
- execute("UNLISTEN #{chan}")
31
+ execute('UNLISTEN "' + chan + '"') #quotes matter
32
32
  end
33
33
 
34
34
  def drain_notify
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: queue_classic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0rc5
4
+ version: 2.0.0rc6
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pg
16
- requirement: &25213420 !ruby/object:Gem::Requirement
16
+ requirement: &11662540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.13.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *25213420
24
+ version_requirements: *11662540
25
25
  description: queue_classic is a queueing library for Ruby apps. (Rails, Sinatra, Etc...)
26
26
  queue_classic features asynchronous job polling, database maintained locks and no
27
27
  ridiculous dependencies. As a matter of fact, queue_classic only requires pg.