noticed 2.1.0 → 2.1.1

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: 457449f2026b5ae977841ac9c0c0d30373fe1f8715670290ff49b75e021fea9a
4
- data.tar.gz: 51adcf9c865b36de52eed8066a8d622867a897caad615879632c63939b5aebf2
3
+ metadata.gz: e64d58c0ef63c62be08a469e1ba9177d3a06641db4dadcaa0dbac3155cb0fee3
4
+ data.tar.gz: 50b3cc355e8d1a1cb228f2b5950dac4be5e505b021810fab0b9076a21b1719bd
5
5
  SHA512:
6
- metadata.gz: 2d57c184f5c1b72848795ab0350e3fe2f6a05a4dc7698e26acb8bda186ac7f8e9ef5c1451fd9bba77e6afa5b118288a1bdc39a293b269d8645491fb9d026ea23
7
- data.tar.gz: daf3bb3225f9273821d9918da31700e7c0c65e89c441e8340847d085b9f76bdfde347e920f861dff3eb697e3083fbbfe0fb7a3ee6e0759172d89988b90c68381
6
+ metadata.gz: 92b9badbf82f4c5fb3cde41a88bae7cac8f0354e679f9c9b62b153d962de92e212207372264f87ce8f71289139cac462270e253e284fc1e1dfa1e1d2e34f58cd
7
+ data.tar.gz: 419eef948c15ee9fd46664619de5ca5365e6adc0cdf0563155181bd09223279dfc4fb6a2e396bd162c0896448700abaa4de76e4c168658bbcbf3c32dc2ef5c34
@@ -8,7 +8,6 @@ class CreateNoticedTables < ActiveRecord::Migration[6.1]
8
8
  else
9
9
  t.json :params
10
10
  end
11
- t.integer :notifications_count
12
11
 
13
12
  t.timestamps
14
13
  end
@@ -1,5 +1,5 @@
1
1
  module Noticed
2
- class NotificationChannel < ::ApplicationCable::Channel
2
+ class NotificationChannel < ApplicationCable::Channel
3
3
  def subscribed
4
4
  stream_for current_user
5
5
  end
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.1"
3
3
  end
data/lib/noticed.rb CHANGED
@@ -15,6 +15,7 @@ module Noticed
15
15
  autoload :Coder, "noticed/coder"
16
16
  autoload :DeliveryMethod, "noticed/delivery_method"
17
17
  autoload :HasNotifications, "noticed/has_notifications"
18
+ autoload :NotificationChannel, "noticed/notification_channel"
18
19
  autoload :RequiredOptions, "noticed/required_options"
19
20
  autoload :Translation, "noticed/translation"
20
21
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noticed
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-29 00:00:00.000000000 Z
11
+ date: 2024-01-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -35,7 +35,6 @@ files:
35
35
  - MIT-LICENSE
36
36
  - README.md
37
37
  - Rakefile
38
- - app/channels/noticed/notification_channel.rb
39
38
  - app/jobs/noticed/application_job.rb
40
39
  - app/jobs/noticed/event_job.rb
41
40
  - app/models/concerns/noticed/deliverable.rb
@@ -78,6 +77,7 @@ files:
78
77
  - lib/noticed/delivery_methods/webhook.rb
79
78
  - lib/noticed/engine.rb
80
79
  - lib/noticed/has_notifications.rb
80
+ - lib/noticed/notification_channel.rb
81
81
  - lib/noticed/required_options.rb
82
82
  - lib/noticed/translation.rb
83
83
  - lib/noticed/version.rb