stack-service-base 0.0.33 → 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: 23b308934479603c1049b9058944f333b3fe0f5bd24609ce25367cae3cc7f2e1
4
- data.tar.gz: f066c31143ac53593b7d9efd3f0c1279cf9b4fc8126b4f1fe6be7bcddee11a0a
3
+ metadata.gz: 9329af1935e9a16c64c05b9fcc05057017c6465d4c1c99701712b8c74a27aabc
4
+ data.tar.gz: 27c9ab1f660da014cd73c7aa8fed1478a480540403db0fc7ea04cf66841703bf
5
5
  SHA512:
6
- metadata.gz: 80efea075e3929dc269062a62020b80aaf793fb944b95a517ce26838411098d4b3d5b00f1d982d7854931466f6acf552cb1a4fca2247ed66fd1f7ecc74bb76a4
7
- data.tar.gz: 3b2efdf7ff797857f61e22caa6c074ea4aa4a6021bad35a537571a910cf6e62739301890a487bf99628bec2c6fe64db94f2fb535c67e0d5bacfb5eecbe29413b
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'
@@ -10,7 +10,7 @@ require 'simplecov'
10
10
  SimpleCov.start
11
11
 
12
12
  ENV['DB_URL'] = 'sqlite::memory:'
13
- $app = Rack::Builder.parse_file('config.ru')
13
+ $app = Rack::Builder.parse_file(File.expand_path 'config.ru')
14
14
 
15
15
  module Rack::Test::JHelpers
16
16
  def app = $app
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module StackServiceBase
2
2
  class Base
3
- VERSION = '0.0.33'
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.33
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