firebird_adapter 1.0.8 → 1.0.9

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: 84e152eafb3ac4ec3815a9db822e0af3f78ef8b2bebc6a9ab146c0d8d6f2db2a
4
- data.tar.gz: 7be80a59b8b9783d5406f6c020fdcb6456d5d33bf60d3836bb92587d07baaf52
3
+ metadata.gz: 82fb9831dd85c7ba0a06ec4a0a1504f14ad1042bf51cf88a388f4a63569791d8
4
+ data.tar.gz: 439f24fcafffd31cc82c3c66f00487772112a0678c144d505404e79c77c18153
5
5
  SHA512:
6
- metadata.gz: bdb14f1266f7de57c93afe4e7efcbd37d4e2b0e46421e97061cdeaf8858fee054b2c0dc58ed03176c4374bddb06cf7d25b1bee04efe77d1fc37fef321c1f2839
7
- data.tar.gz: 77f23df54f7a892117b9fe5976c95857db49dd3471c52a62bc9904aaf24bfc61c1e5ecb726c3b093a066a1b73d63875aa42f787676d7073e36f3b78b523c9bf7
6
+ metadata.gz: 261bb49a997025cd1728e79c576d969575a6b4e859839a0201face10fe6f0b36a634afbd6e8a38f419fafe9bc2bdeff87b53d0b24743ebfb6d729d0ee0c40410
7
+ data.tar.gz: 24456483ecdd0b0f30c9f480e2faaabdb40223a5474d57e854bdbc2c56d1fad86a6bb30e8176d02c8ec8467bb9f81dd41d69ef29e0ab1a63becca03a40f59e3a
@@ -47,9 +47,13 @@ module ActiveRecord::ConnectionAdapters::Firebird::DatabaseStatements
47
47
 
48
48
  result.close
49
49
  ActiveRecord::Result.new(fields, rows)
50
- else
50
+ elsif name.ends_with?(' Destroy')
51
51
  result
52
+ else
53
+ ActiveRecord::Result.new([], [])
52
54
  end
55
+ rescue RangeError
56
+ ActiveRecord::Result.new([], [])
53
57
  rescue Exception => e
54
58
  raise e.message.encode('UTF-8', @connection.encoding)
55
59
  end
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.8
4
+ version: 1.0.9
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: 2019-07-08 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails