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 +4 -4
- data/lib/stack-service-base/fiber_pool.rb +3 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9329af1935e9a16c64c05b9fcc05057017c6465d4c1c99701712b8c74a27aabc
|
4
|
+
data.tar.gz: 27c9ab1f660da014cd73c7aa8fed1478a480540403db0fc7ea04cf66841703bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
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.
|
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-
|
11
|
+
date: 2025-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|