activeinsights 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_insights/engine.rb +8 -0
- data/lib/active_insights/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76e005aeac4566e4090e0b0eaf1109f15ebe7b9ad1593bc0fa2182d1dbcdc219
|
4
|
+
data.tar.gz: 04c8d6d629166c53342b3b49ee6ade131d2aa8b9e4664d9e0f7ee461e7112d6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '07459ea24e4941797ce69358fca6a478f17c80a029db7d4fa5b3f99f768b8901867ccda21334f38e89e24ed6877525c008496a52e5b5dd9cb386cac4d30143c1'
|
7
|
+
data.tar.gz: 262cb9bfb588175b8018159d6eea787c7d8fc9ea9fd5290a0214f82c7a8636cbbee848430cd8b6062beebb267727963f16af4c25c700471b817529e94263cca7
|
@@ -11,6 +11,14 @@ module ActiveInsights
|
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
14
|
+
config.active_insights = ActiveSupport::OrderedOptions.new
|
15
|
+
|
16
|
+
initializer "active_insights.config" do
|
17
|
+
config.active_insights.each do |name, value|
|
18
|
+
ActiveInsights.public_send(:"#{name}=", value)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
14
22
|
initializer "active_insights.importmap", before: "importmap" do |app|
|
15
23
|
app.config.importmap.paths <<
|
16
24
|
Engine.root.join("config/initializers/importmap.rb")
|