rhino_project_notifications 0.20.0.beta.83 → 0.20.0.beta.85
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rhino_notifications/engine.rb +8 -5
- data/lib/rhino_notifications/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 579be27b6ea5d7e7112e78b6a3100021ca101e74ad7b4602be932a1f9e3c9744
|
4
|
+
data.tar.gz: 33ea42975ed7a1c9ac5724fb1d71bda8e04c411791aaadb4e8c491ef5edf081e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ddd217d7fb2d38d347dcd74f615d8cf5e29215d8e14a0fa50ac03332130359229abaeb0fdde2bc8382a7e77d5039007a03cdd0a664527304dd9ba0c4c5806de
|
7
|
+
data.tar.gz: 7f679480e8b41fc1d959afcec182fe6a4baa6e2212c00adef5e33e6104f686b14bc5278fda06ac7f2eb62171c43f454c43a4a2c166cd611d4d85ca414364659c
|
@@ -1,15 +1,18 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require "rhino/engine"
|
4
|
+
require "rhino_notifications/version"
|
5
|
+
|
6
|
+
# https://guides.rubyonrails.org/engines.html#other-gem-dependencies
|
7
|
+
require "activity_notification"
|
5
8
|
|
6
9
|
module RhinoNotifications
|
7
10
|
class Engine < ::Rails::Engine
|
8
|
-
config.autoload_paths << File.expand_path(
|
11
|
+
config.autoload_paths << File.expand_path("../../lib", __dir__)
|
9
12
|
|
10
|
-
initializer
|
13
|
+
initializer "rhino_notifications.register_module" do
|
11
14
|
config.after_initialize do
|
12
|
-
if File.exist?(Rails.root.join(
|
15
|
+
if File.exist?(Rails.root.join("config/initializers/activity_notification.rb"))
|
13
16
|
Rhino.registered_modules[:rhino_notifications] = {
|
14
17
|
version: RhinoNotifications::VERSION::STRING
|
15
18
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rhino_project_notifications
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.0.beta.
|
4
|
+
version: 0.20.0.beta.85
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JP Rosevear
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -36,28 +36,28 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - '='
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.20.0.beta.
|
39
|
+
version: 0.20.0.beta.85
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - '='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.20.0.beta.
|
46
|
+
version: 0.20.0.beta.85
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rhino_project_jobs
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - '='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.20.0.beta.
|
53
|
+
version: 0.20.0.beta.85
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
58
|
- - '='
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 0.20.0.beta.
|
60
|
+
version: 0.20.0.beta.85
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: activity_notification
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|