perfectqueue 0.7.26 → 0.7.27

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,5 +1,10 @@
1
1
 
2
- == 2012-09-19 version 0.7.26
2
+ == 2013-06-16 version 0.7.27
3
+
4
+ * RDBBackend: #issue should not ignore erros excepting duplicate entry error
5
+
6
+
7
+ == 2013-06-14 version 0.7.26
3
8
 
4
9
  * RDBBackend: #issue should not ignore erros excepting duplicate entry error
5
10
 
@@ -150,7 +150,7 @@ SQL
150
150
  # Sequel doesn't provide error classes to distinguish duplicate-entry from other
151
151
  # errors like connectivity error. This code assumes the driver is mysql2 and
152
152
  # the error message is "Mysql::ServerError::DupEntry: Duplicate entry"
153
- if /: Duplicate entry/
153
+ if /: Duplicate entry/ =~ e.to_s
154
154
  return nil
155
155
  end
156
156
  raise e
@@ -1,5 +1,5 @@
1
1
  module PerfectQueue
2
2
 
3
- VERSION = '0.7.26'
3
+ VERSION = '0.7.27'
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.26
4
+ version: 0.7.27
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-14 00:00:00.000000000 Z
12
+ date: 2013-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sequel