discourse_subscription_client 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a7d0408af8ff9e1033cb53aea9ba96aca355564151cbb7fc6b4511fde203a9f
4
- data.tar.gz: 7bd98e0c45910de0a4c65f0acdd0e6b564c1a69636c008a6b5c68e2c0a82552c
3
+ metadata.gz: 1e9c613aa210fef7c5beacc341e3f704e131d67c5b79af85857458b0386c14a1
4
+ data.tar.gz: 99cd4b1e1f61ad63f1f8d96ecf81091442cea1e4141c9b41a0c3f02da3018418
5
5
  SHA512:
6
- metadata.gz: 3d68041828afbae71fbec7c9306bd8748e60c829bd66e9699270b5549b676b6937283be069f0e9096ecff9c631b88db1ab442936de043667d474467db06bbb66
7
- data.tar.gz: 92e2e435b92c11bd1c02513e360fe1006102bb38c72535309bb92d1efcdd83c33e387fac3cd79ee3f369278f96f2c05877f57d7b57e9aac40fa5d294e6bae04a
6
+ metadata.gz: 0d2b1d5314c41feaeda861642cd459466861945a9596990353db26c5124ea7f758215bf1b2f9d6beee810ca0400f9fadb3b4da3b8bfe6ec3b609093090bb5339
7
+ data.tar.gz: 8c412d3337fe1c7f6790ada74217bd678d50ab411a20bb908ac829c39ad086d9776880bfc921ecfdd3f250d0511a59c9dbdf96814dff767370a3f6f0dd58c804
@@ -70,23 +70,6 @@ module DiscourseSubscriptionClient
70
70
  SiteSerializer.prepend DiscourseSubscriptionClient::SiteSerializerExtension
71
71
 
72
72
  User.has_many(:subscription_client_suppliers)
73
-
74
- AdminDashboardData.add_scheduled_problem_check(:subscription_client) do
75
- return unless SiteSetting.subscription_client_warning_notices_on_dashboard
76
-
77
- notices = SubscriptionClientNotice.list(
78
- notice_type: SubscriptionClientNotice.error_types,
79
- visible: true
80
- )
81
- notices.map do |notice|
82
- AdminDashboardData::Problem.new(
83
- "#{notice.title}: #{notice.message}",
84
- priority: "high",
85
- identifier: "subscription_client_notice_#{notice.id}"
86
- )
87
- end
88
- end
89
-
90
73
  DiscourseEvent.trigger(:subscription_client_ready)
91
74
  end
92
75
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DiscourseSubscriptionClient
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse_subscription_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Angus McLeod
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-25 00:00:00.000000000 Z
11
+ date: 2024-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_model_serializers