activematrix 0.0.12 → 0.0.13

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: 6b8396d7136267e2cf8ac5fc5b36a8a15d67f531d9a3c76c3645c26a98dd0da3
4
- data.tar.gz: 654bc85dd8746f352b9c6e196464e2af0c6c37a578a643cb24599f4aeda2deea
3
+ metadata.gz: e25a73a783a1f4a5fda257907400e85e087b2a7c0fd6dae6c8ab8b0a47a70172
4
+ data.tar.gz: daf32f6dd6f56daedd4fa82b29a4d6918db92b7f7b4045d5726d92507d332c18
5
5
  SHA512:
6
- metadata.gz: cac581cc744f30cea8e044ef57dd159d43c4e60ab5b7574c51438b546f017af680652e1dc5171caf0bfb55613018d1b094fa6e8bac4ea67638c8a49d0162ebb3
7
- data.tar.gz: c6b2189593551277711960512fa9736c17f458df4e6b3ac6157fb4e85b544935d94731316fd74d9bdab46c3eb119b644a9bdb5bbe9b5a7ecea3b9e90513b861a
6
+ metadata.gz: 9668bee7a5117c443e449a5851b43f2bf4ec6492394aad7e5fb37638391c80d88b49554693cf3c38c63788d339630bf892dc390b0ca0bc9b40e4e790c0117b78
7
+ data.tar.gz: 624653a1351f0bb94dddc2e64f1299c67d8220d35a0fe5f1b61af0c544a7912321112ae2e800ad41750f42d73c63e9b4d2a83835247d070106fadd095b96278c
@@ -11,8 +11,14 @@ module ActiveMatrix
11
11
  end
12
12
 
13
13
  initializer 'active_matrix.initialize_metrics', after: 'active_matrix.configure_logger' do
14
- # Eagerly initialize Metrics singleton to subscribe to notifications
15
14
  ActiveMatrix::Metrics.instance
16
15
  end
16
+
17
+ config.after_initialize do
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
22
+ end
17
23
  end
18
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveMatrix
4
- VERSION = '0.0.12'
4
+ VERSION = '0.0.13'
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.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abdelkader Boudih