activerecord-pg-extensions 0.4.1 → 0.4.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36ff139014c4b0b2288bf7839ff1f5d87ee596edb2f7f758f4eb66e2513b6479
|
|
4
|
+
data.tar.gz: 9880dd828e1d1d216e5797d8d94450b6f0fb41b01d32af31554f511f352c86c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7f15fbbf3b6475a894dc44d27380bdb141f25552d3c618550ab508e7e5d59d88b2d0dba297f40ca1d4ef030811942c00308674bdff89ac92a1a78a8c4d125a8
|
|
7
|
+
data.tar.gz: 69c17fc5576db6f1205b2a4819a87a26ac09fc3d98e43061e556cfb6b115d53e4ed326038632e2c2a219507e447e3e3d3199e879dbc97273c84227d25e2da27a
|
|
@@ -265,7 +265,7 @@ module ActiveRecord
|
|
|
265
265
|
#
|
|
266
266
|
# otherwise, if you're already in a transaction, or you nest with_statement_timeout,
|
|
267
267
|
# the value will unexpectedly "stick" even after the block returns
|
|
268
|
-
def with_statement_timeout(timeout)
|
|
268
|
+
def with_statement_timeout(timeout = nil)
|
|
269
269
|
timeout = 30 if timeout.nil? || timeout == true
|
|
270
270
|
|
|
271
271
|
transaction do
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-pg-extensions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cody Cutrer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|