codekindly-utils 0.0.14 → 0.1.0

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: a63346ba5c2ae3f64f3ec02e879aeec8be27f4e6ff2b87c948239a3df2e92677
4
- data.tar.gz: 9c085ad8982632732ab1e81460e036991438206d0c3ac750b5683a302e83549a
3
+ metadata.gz: c8f368a1c0df321a7c4bae4810f1e56201135546c9c6659b069bc846bbcd9aa5
4
+ data.tar.gz: cbf75f7d1ec771f1aef48f1cc270b078b5143b8faa280e123a76c357aa3e4fc2
5
5
  SHA512:
6
- metadata.gz: ed6a912aa2056fdd19b7df73d6a695bdc4e5e2f40deba1205f47c06fb0e3ff8e256cba0dab18f5f83009f6228d047c82f1b1db47c01184d91921261a6b7c2ada
7
- data.tar.gz: f912458c47a0d9157884a85354fe3dd67ecaa8a9c1d61bb19f8856c6a32ecefcbfc563ca77aa2dc7d54c7bb8b5e2b39bc1e5d05f9b744e8275334b1f1288c230
6
+ metadata.gz: 95cccb4d0f33d5cb582bd4f982854de5c092426cd7378203f285d6174353b947547e29befd246fa3d735d8054fdcdccd850465da125d93355e0604a29e204f13
7
+ data.tar.gz: 7cac163514c846e69a77ce9bd08164d8a2d3bc8ec424a462cedb0a877eb2c0966048434a768a09f59352a8b7c5092c3a117c38067df7f1b94da757e69eec3a1a
@@ -38,7 +38,7 @@ module CodeKindly
38
38
  @configs ||= ::ActiveRecord::Base.configurations
39
39
  if @configs.class.name == 'ActiveRecord::DatabaseConfigurations' # rubocop:disable Style/ClassEqualityComparison
40
40
  @configs = @configs.configs_for.each_with_object({}) do |config, hash|
41
- hash[config.env_name] = config.config
41
+ hash[config.env_name] = config&.configuration_hash || config&.config
42
42
  end
43
43
  end
44
44
  return @configs unless @configs == {}
@@ -2,6 +2,6 @@
2
2
 
3
3
  module CodeKindly
4
4
  module Utils
5
- VERSION = '0.0.14'.freeze
5
+ VERSION = '0.1.0'.freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codekindly-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Weathers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-06-19 00:00:00.000000000 Z
11
+ date: 2023-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
@@ -180,7 +180,7 @@ homepage: https://github.com/jlw/codekindly-utils
180
180
  licenses:
181
181
  - MIT
182
182
  metadata: {}
183
- post_install_message:
183
+ post_install_message:
184
184
  rdoc_options: []
185
185
  require_paths:
186
186
  - lib
@@ -195,8 +195,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
- rubygems_version: 3.2.15
199
- signing_key:
198
+ rubygems_version: 3.3.26
199
+ signing_key:
200
200
  specification_version: 4
201
201
  summary: These are small utilities that I like to have around in my projects.
202
202
  test_files: []