activerecord_bulkoperation 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59f7889321cf96c2be699d172e09afa0d74f5c61
|
4
|
+
data.tar.gz: 32646eef313b3fd12eb076f5fc3d275a7a1b81d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62533c08ace89c06d403a2db76d0e8e1468053b525b041f5cf62378d5b1810560174263f9f8446eb522dcd7eaca9351ed935deb4f95fdb8b4a795a27327acb0b
|
7
|
+
data.tar.gz: 07944b81ff9f56410432a8b1743d9b9811eee3b78c7e2808878b88325ada7c065fa51d14a749c61a24dc48cc8b4e6a6bd8fc8dae9bc0a1a7a28742e764687e12
|
@@ -120,7 +120,7 @@ module ActiveRecord
|
|
120
120
|
|
121
121
|
fail ExternalDataChange.new(sql) if result_is_int and result != values.count and optimistic
|
122
122
|
|
123
|
-
affected_rows += result_is_int ? result :
|
123
|
+
affected_rows += result_is_int ? result : cursor.row_count
|
124
124
|
|
125
125
|
connection.send(:log, sql, 'Update') {}
|
126
126
|
ensure
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord_bulkoperation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OSP
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-06-
|
11
|
+
date: 2019-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|