stack-service-base 0.0.34 → 0.0.35

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: 7ecea6a7bba9d026217276a1065e513a9703482595027f2fdbda0ddf41af77ce
4
- data.tar.gz: 9c111232732e11a567dfcfc78d715b3f1d8c739b9d9c5cd4059552550c9e2499
3
+ metadata.gz: 9329af1935e9a16c64c05b9fcc05057017c6465d4c1c99701712b8c74a27aabc
4
+ data.tar.gz: 27c9ab1f660da014cd73c7aa8fed1478a480540403db0fc7ea04cf66841703bf
5
5
  SHA512:
6
- metadata.gz: a422d87fd18f63fbc65e2f639404ee7b1af2a404e33c779a30be6910ce91efe943e596514cd79c40d02555faf1309a301b7806700e1ebaeaf259de883c0574fa
7
- data.tar.gz: 81afdd4fe9332bcfed71dddae9d82317cdec4f662351543fbb8ec663e5ea3f2bdb206c9c2017a96ba0310e01953a96d30ce637df7e079674789290d4f938686d
6
+ metadata.gz: 3d230e8880ebed4e487cef23404d366d5e1d21a1aadcc345d8141888ca4ba24310a0fd03702c9f222c9dccfd8d952dcce5c96745cb351eeb1ed34d87d8e27325
7
+ data.tar.gz: '09bde2261aef6cd7220b3f7d54964476a3358c02237e08cef0a22bdb917e784c0ec0173de681959e46421cd67a1152350d3b4525d09e7f348079b5c0a8ac94b1'
@@ -94,7 +94,9 @@ end
94
94
 
95
95
  # Override Sequel::Database to use FiberConnectionPool by default.
96
96
  Sequel::Database.prepend(Module.new do
97
- def connection_pool_default_options = { pool_class: FiberConnectionPool }
97
+ def connection_pool_default_options
98
+ @opts[:adapter] == 'postgres' ? {pool_class: FiberConnectionPool} : super
99
+ end
98
100
  end)
99
101
 
100
102
  require 'sequel/adapters/postgres'
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module StackServiceBase
2
2
  class Base
3
- VERSION = '0.0.34'
3
+ VERSION = '0.0.35'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stack-service-base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.34
4
+ version: 0.0.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artyom B
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-13 00:00:00.000000000 Z
11
+ date: 2025-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack