perfectqueue 0.7.27 → 0.7.28

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,4 +1,9 @@
1
1
 
2
+ == 2014-02-18 version 0.7.28
3
+
4
+ * RDBBackend: wrap blob data in Sequel::SQL::Blob
5
+
6
+
2
7
  == 2013-06-16 version 0.7.27
3
8
 
4
9
  * RDBBackend: #issue should not ignore erros excepting duplicate entry error
@@ -144,6 +144,7 @@ SQL
144
144
  def submit(id, data, time=Time.now.to_i, resource=nil, max_running=nil)
145
145
  connect {
146
146
  begin
147
+ data = Sequel::SQL::Blob.new(data)
147
148
  n = @db["INSERT INTO `#{@table}` (id, timeout, data, created_at, resource, max_running) VALUES (?, ?, ?, ?, ?, ?);", id, time, data, time, resource, max_running].insert
148
149
  return true
149
150
  rescue Sequel::DatabaseError => e
@@ -1,5 +1,5 @@
1
1
  module PerfectQueue
2
2
 
3
- VERSION = '0.7.27'
3
+ VERSION = '0.7.28'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perfectqueue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.27
4
+ version: 0.7.28
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: 2013-06-17 00:00:00.000000000 Z
12
+ date: 2014-02-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sequel