firebird_adapter 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb66958157a431cd148c0aa2cd2ba65777b9f06a5633b3c1f5563d0e84781a7a
4
- data.tar.gz: 1b3c4516575e3a92f99f408716601679c858fd5171bb7d74adf690bb42411623
3
+ metadata.gz: b883397149a00311a5ec04e597e2ae4305564be4163a1474cd657b97138f5fb1
4
+ data.tar.gz: bb47ae1a74848ffac5c1d496a19bd2bc58c957b2aec6d95852136efb0a419365
5
5
  SHA512:
6
- metadata.gz: 584dcb307fca59eb5ec70335722cc68ebd3de81cdec1c8a69046ea52617b37705f846c409964ca13bbcd1e9708950d7393b0772710a30f6bb525f85ca21b3693
7
- data.tar.gz: 51876a3878f23b94d786b361751aaebc2369ed5b48a3db314fe1d83add41f114cfc2aa2e9b6cdfba58f8809bc81535bbef8418a676615c2d9e87e6ea6bb88ca7
6
+ metadata.gz: bbcc9993628a18def8bd607746d0dba75ec04ff43a4e741a31772d063b7032813724ef4bb4d0e306d576e377e17d24f75e4cfc8847daf63ded2d669eebbca95a
7
+ data.tar.gz: b86601ebd799a76f3506b9455ca1c4ac75c8db220504ae37dbf6967f00ee64a8d253aeaa5afaad3f597b8b1b56000c5232087634c8da073d7ff059ad403beb24
@@ -52,8 +52,9 @@ module ActiveRecord::ConnectionAdapters::Firebird::DatabaseStatements
52
52
  else
53
53
  ActiveRecord::Result.new([], [])
54
54
  end
55
- rescue RangeError
56
- ActiveRecord::Result.new([], [])
55
+ rescue RangeError => e
56
+ return ActiveRecord::Result.new([], []) if sql.downcase.start_with? 'select'
57
+ raise e
57
58
  rescue Exception => e
58
59
  result.close if result.is_a?(Fb::Cursor)
59
60
  raise e.message.encode('UTF-8', @connection.encoding)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: firebird_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
4
+ version: 1.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fábio Rodrigues
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -143,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0'
145
145
  requirements: []
146
- rubyforge_project:
147
- rubygems_version: 2.7.7
146
+ rubygems_version: 3.0.3
148
147
  signing_key:
149
148
  specification_version: 4
150
149
  summary: ActiveRecord Firebird Adapter for Rails 5.