fluiddb 0.1.1 → 0.1.2

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/FluidDb/Firebird.rb +6 -6
  2. metadata +1 -1
@@ -105,10 +105,10 @@ module FluidDb
105
105
  affected_rows != expected_affected_rows then
106
106
  raise ExpectedAffectedRowsError.new( "Expected affected rows, #{expected_affected_rows}, Actual affected rows, #{affected_rows}")
107
107
  end
108
- rescue PG::Error => e
109
- raise DuplicateKeyError.new( e.message ) unless e.message.index( "duplicate key value violates unique constraint" ).nil?
108
+ # rescue PG::Error => e
109
+ # raise DuplicateKeyError.new( e.message ) unless e.message.index( "duplicate key value violates unique constraint" ).nil?
110
110
 
111
- raise e
111
+ # raise e
112
112
  end
113
113
 
114
114
  def exec_params( sql, params, expected_affected_rows=nil )
@@ -124,10 +124,10 @@ module FluidDb
124
124
  affected_rows != expected_affected_rows then
125
125
  raise ExpectedAffectedRowsError.new( "Expected affected rows, #{expected_affected_rows}, Actual affected rows, #{affected_rows}")
126
126
  end
127
- rescue PG::Error => e
128
- raise DuplicateKeyError.new( e.message ) unless e.message.index( "duplicate key value violates unique constraint" ).nil?
127
+ # rescue PG::Error => e
128
+ # raise DuplicateKeyError.new( e.message ) unless e.message.index( "duplicate key value violates unique constraint" ).nil?
129
129
 
130
- raise e
130
+ # raise e
131
131
  end
132
132
 
133
133
  def insert( sql, params )
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluiddb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: