activematrix 0.0.13 → 0.0.14

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: e25a73a783a1f4a5fda257907400e85e087b2a7c0fd6dae6c8ab8b0a47a70172
4
- data.tar.gz: daf32f6dd6f56daedd4fa82b29a4d6918db92b7f7b4045d5726d92507d332c18
3
+ metadata.gz: ec7e43e3c1152cf9f706c2d5e1a2dc8605da4b427c588ac47dc5737b28a8e6aa
4
+ data.tar.gz: be232f096f3ca5813714ecba92c304c951086c5adcb55ea02d747bac217de4fa
5
5
  SHA512:
6
- metadata.gz: 9668bee7a5117c443e449a5851b43f2bf4ec6492394aad7e5fb37638391c80d88b49554693cf3c38c63788d339630bf892dc390b0ca0bc9b40e4e790c0117b78
7
- data.tar.gz: 624653a1351f0bb94dddc2e64f1299c67d8220d35a0fe5f1b61af0c544a7912321112ae2e800ad41750f42d73c63e9b4d2a83835247d070106fadd095b96278c
6
+ metadata.gz: e7ecc796ed9b4fe9167191ea5ca0ac9e18f224023286225326f3ad5c376fc47d59da7aedfc44a7730db9cd1d3c6591d97593ccb2b84fd1d1b617208cb702fec8
7
+ data.tar.gz: 7b4d219a4cdcf70ccfb6aaa75685aa7d50ac7c82f7e595dd87d9860db0d1fa3bbd9420c3cd30ba9fb06923fb34c3afcd826afde7fe6d6308611570c50f70a92a
@@ -14,11 +14,9 @@ module ActiveMatrix
14
14
  ActiveMatrix::Metrics.instance
15
15
  end
16
16
 
17
- config.after_initialize do
17
+ initializer 'active_matrix.load_connections', after: :load_config_initializers do
18
18
  config_path = Rails.root.join('config/active_matrix.yml')
19
- if File.exist?(config_path)
20
- ActiveMatrix::ConnectionRegistry.instance.load!(config_path)
21
- end
19
+ ActiveMatrix::ConnectionRegistry.instance.load!(config_path) if File.exist?(config_path)
22
20
  end
23
21
  end
24
22
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveMatrix
4
- VERSION = '0.0.13'
4
+ VERSION = '0.0.14'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activematrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih