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: ca67149b2f8917743b8258c14b7d2e393673093d02956a192ce40ed7857efa89
4
- data.tar.gz: df37221b1ba08633bcb1d059ae296c4f83ec2025e6ad35eb87aaf50c7fdbaf39
3
+ metadata.gz: 36ff139014c4b0b2288bf7839ff1f5d87ee596edb2f7f758f4eb66e2513b6479
4
+ data.tar.gz: 9880dd828e1d1d216e5797d8d94450b6f0fb41b01d32af31554f511f352c86c3
5
5
  SHA512:
6
- metadata.gz: 60739ca5ec1d417e709792231bc06b65af4f6d2e6cac2a883a725bc5acd553d901a2d7c2d9b7da2e1a592f2f66635e740d668070a05551ffcfbefff3b4102dba
7
- data.tar.gz: 6e34ef248fb441a9dcbdd60e4a2566e9010b01900b7802c33653e77744c9d7c9d33a65f78649118beb20bdc1fc283775232a7b834d4d514a3c8ea797d7698ee4
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  module PGExtensions
5
- VERSION = "0.4.1"
5
+ VERSION = "0.4.2"
6
6
  end
7
7
  end
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.1
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-09-30 00:00:00.000000000 Z
11
+ date: 2021-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord