discourse_subscription_client 0.1.0.pre7 → 0.1.0.pre8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/jobs/discourse_subscription_client/find_resources.rb +9 -0
- data/app/jobs/discourse_subscription_client/update_notices.rb +11 -0
- data/app/jobs/discourse_subscription_client/update_subscriptions.rb +11 -0
- data/lib/discourse_subscription_client/engine.rb +5 -5
- data/lib/discourse_subscription_client/version.rb +1 -1
- metadata +4 -4
- data/app/jobs/discourse_subscription_client_find_resources.rb +0 -9
- data/app/jobs/discourse_subscription_client_update_notices.rb +0 -11
- data/app/jobs/discourse_subscription_client_update_subscriptions.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f0f41208625ee7dae4b1fac9ca417face2e5315022bcfee6a2cb833c95d6a71
|
4
|
+
data.tar.gz: 57e366e12e511c7b9645b8bcd8477086746271f8ed5de32bde240b9042f5aa28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 332fbf8b9062de3f2b3a2363ea8986b8f95cd4365920822f55c8820dba8c3ff12aa66b384ff340cd2f80697469a3fbfc3bd9ff604d9ba5d7f1ed7bb0e3eb41ae
|
7
|
+
data.tar.gz: 8fde036341f92aa573c9a646963afe5ee1c7f3f520a3692fd4ad5c80e9d840829e831debfd9ca42806284f5386e440e31c759bd823133aae318fc55ec414fa59
|
@@ -9,7 +9,7 @@ module DiscourseSubscriptionClient
|
|
9
9
|
|
10
10
|
config.before_initialize do
|
11
11
|
config.i18n.load_path += Dir["#{config.root}/config/locales/**/*.yml"]
|
12
|
-
Rails.autoloaders.main.ignore(config.root) if defined?(Rails) ==
|
12
|
+
Rails.autoloaders.main.ignore(config.root) if defined?(Rails) == "constant"
|
13
13
|
end
|
14
14
|
|
15
15
|
config.after_initialize do
|
@@ -37,9 +37,9 @@ module DiscourseSubscriptionClient
|
|
37
37
|
../../app/serializers/discourse_subscription_client/resource_serializer
|
38
38
|
../../app/serializers/discourse_subscription_client/notice_serializer
|
39
39
|
../../app/serializers/discourse_subscription_client/subscription_serializer
|
40
|
-
../../app/jobs/
|
41
|
-
../../app/jobs/
|
42
|
-
../../app/jobs/
|
40
|
+
../../app/jobs/discourse_subscription_client/find_resources
|
41
|
+
../../app/jobs/discourse_subscription_client/update_subscriptions
|
42
|
+
../../app/jobs/discourse_subscription_client/update_notices
|
43
43
|
../../extensions/discourse_subscription_client/current_user_serializer
|
44
44
|
../../extensions/discourse_subscription_client/site_serializer
|
45
45
|
../../extensions/discourse_subscription_client/guardian
|
@@ -47,7 +47,7 @@ module DiscourseSubscriptionClient
|
|
47
47
|
require_relative path
|
48
48
|
end
|
49
49
|
|
50
|
-
Jobs.enqueue(
|
50
|
+
Jobs.enqueue(DiscourseSubscriptionClient::FindResources) if !Rails.env.test? && DiscourseSubscriptionClient.database_exists?
|
51
51
|
|
52
52
|
Rails.application.routes.append do
|
53
53
|
mount DiscourseSubscriptionClient::Engine, at: "/admin/plugins/subscription-client"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: discourse_subscription_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Angus McLeod
|
@@ -236,9 +236,9 @@ files:
|
|
236
236
|
- app/controllers/discourse_subscription_client/notices_controller.rb
|
237
237
|
- app/controllers/discourse_subscription_client/subscriptions_controller.rb
|
238
238
|
- app/controllers/discourse_subscription_client/suppliers_controller.rb
|
239
|
-
- app/jobs/
|
240
|
-
- app/jobs/
|
241
|
-
- app/jobs/
|
239
|
+
- app/jobs/discourse_subscription_client/find_resources.rb
|
240
|
+
- app/jobs/discourse_subscription_client/update_notices.rb
|
241
|
+
- app/jobs/discourse_subscription_client/update_subscriptions.rb
|
242
242
|
- app/models/subscription_client_notice.rb
|
243
243
|
- app/models/subscription_client_request.rb
|
244
244
|
- app/models/subscription_client_resource.rb
|