discourse_subscription_client 0.1.0.pre12 → 0.1.0.pre13
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0eb5ae72b353d0c2247634efd915ba4702c6ce9e7edc79a6cd1bfec8ed008d12
|
|
4
|
+
data.tar.gz: 7ad730452ccc89cf452571029f3d1f4a4c6844d6bd642d32a63d92ddf3b0250d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60f355d11aa8199f740908df977e4e7a6e6c54dc2a52f5ed3d0e656672580230bfc30019f5dd6e68b801843a9bb1192e6d9f8938d8753924f474caf02534717c
|
|
7
|
+
data.tar.gz: 3de6d7e1ec21a234e8fe1c1a45c53f9db5135327cf4ceda307c262b413a903dcade95796d0268445c34abc2eb03a854da59d0b878e109cada669c63b59db90fc
|
|
@@ -7,9 +7,18 @@ module DiscourseSubscriptionClient
|
|
|
7
7
|
engine_name PLUGIN_NAME
|
|
8
8
|
isolate_namespace DiscourseSubscriptionClient
|
|
9
9
|
|
|
10
|
+
def enabled_site_setting
|
|
11
|
+
@enabled_site_setting = "subscription_client_enabled"
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def configurable?
|
|
15
|
+
true
|
|
16
|
+
end
|
|
17
|
+
|
|
10
18
|
config.before_initialize do
|
|
11
19
|
config.i18n.load_path += Dir["#{config.root}/config/locales/**/*.yml"]
|
|
12
20
|
Rails.autoloaders.main.ignore(config.root) if defined?(Rails) == "constant"
|
|
21
|
+
Discourse.plugins_by_name[PLUGIN_NAME] = self
|
|
13
22
|
end
|
|
14
23
|
|
|
15
24
|
config.after_initialize do
|