fluiddb2 0.0.5 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fluiddb2/pgsql.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4525b2b7ee30fbd44bc69aebc7526515f702659f
|
4
|
+
data.tar.gz: b3bc8879dd87f8910ed0bc0486f733b0db1f7272
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d70736e09fb35253060d011c558e529a42159d8054590c400342b918e1bcd54976a9c68fdac0556e55a7a3ab6eb6a39653d7c671edeffd505c507b89f59ed3d1
|
7
|
+
data.tar.gz: ef2e2c4b0a621cb891f40fcf82bf11f36ec28cdcf2a43bc64a1ef609e774f4e6f5a73250bb58a6639b1fc4b0bbcdc19646b09fb0e32ba0025e6b86c358df308e
|
data/lib/fluiddb2/pgsql.rb
CHANGED
@@ -85,7 +85,7 @@ module FluidDb2
|
|
85
85
|
fail ExpectedAffectedRowsError, "Expected affected rows, #{expected_affected_rows}, Actual affected rows, #{r.cmd_tuples}"
|
86
86
|
end
|
87
87
|
rescue PG::Error => e
|
88
|
-
raise DuplicateKeyError
|
88
|
+
raise DuplicateKeyError, e.message unless e.message.index('duplicate key value violates unique constraint').nil?
|
89
89
|
raise e
|
90
90
|
end
|
91
91
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluiddb2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guy Irvine
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A semantic layer for db interaction
|
14
14
|
email: guy@guyirvine.com
|
@@ -35,12 +35,12 @@ require_paths:
|
|
35
35
|
- lib
|
36
36
|
required_ruby_version: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
42
42
|
requirements:
|
43
|
-
- -
|
43
|
+
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '0'
|
46
46
|
requirements: []
|