dynflow 1.6.5 → 1.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dynflow/rails/configuration.rb +4 -2
- data/lib/dynflow/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d0b1467496599ac3e304bca93b63413aeac7fda0320e16cf5972e33f16d0a02
|
4
|
+
data.tar.gz: e8fe13761a0171e81a134509e5e39bdae5ba8232aa575fedcb24fcdf7bd3094e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '080f023d076d02d9025aa16ad97eb4aa0fc815cd731318596cd66fb8ce96e49497ccd5beb427d7aa05b0fcdb3d2f8f744c52af430cdb9b55d2e6cfb4022b9c19'
|
7
|
+
data.tar.gz: e18efbc9ab0110328b54296de3b95906b04757a799efc791cbb8a68564abcb03c76a49c4b716ab7dc4755a489d00b4441f1930faeb466d8e9ed7c12c0265e140
|
@@ -127,7 +127,8 @@ module Dynflow
|
|
127
127
|
db_pool_size = calculate_db_pool_size(world)
|
128
128
|
::ActiveRecord::Base.connection_pool.disconnect!
|
129
129
|
|
130
|
-
config = ::ActiveRecord::Base.configurations.configs_for(env_name: ::Rails.env)[0].
|
130
|
+
config = ::ActiveRecord::Base.configurations.configs_for(env_name: ::Rails.env)[0].configuration_hash.dup
|
131
|
+
config = ::Dynflow::Utils::IndifferentHash.new(config)
|
131
132
|
config['pool'] = db_pool_size if config['pool'].to_i < db_pool_size
|
132
133
|
::ActiveRecord::Base.establish_connection(config)
|
133
134
|
end
|
@@ -158,7 +159,8 @@ module Dynflow
|
|
158
159
|
protected
|
159
160
|
|
160
161
|
def default_sequel_adapter_options(world)
|
161
|
-
db_config = ::ActiveRecord::Base.configurations.configs_for(env_name: ::Rails.env)[0].
|
162
|
+
db_config = ::ActiveRecord::Base.configurations.configs_for(env_name: ::Rails.env)[0].configuration_hash.dup
|
163
|
+
db_config = ::Dynflow::Utils::IndifferentHash.new(db_config)
|
162
164
|
db_config['adapter'] = db_config['adapter'].gsub(/_?makara_?/, '')
|
163
165
|
db_config['adapter'] = 'postgres' if db_config['adapter'] == 'postgresql'
|
164
166
|
db_config['max_connections'] = calculate_db_pool_size(world) if increase_db_pool_size?
|
data/lib/dynflow/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dynflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Necas
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-
|
12
|
+
date: 2022-05-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|
@@ -678,7 +678,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
678
678
|
- !ruby/object:Gem::Version
|
679
679
|
version: '0'
|
680
680
|
requirements: []
|
681
|
-
rubygems_version: 3.1.
|
681
|
+
rubygems_version: 3.1.4
|
682
682
|
signing_key:
|
683
683
|
specification_version: 4
|
684
684
|
summary: DYNamic workFLOW engine
|