noticed 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/noticed/notifier_generator.rb +5 -1
- data/lib/noticed/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa6eead89c27a33bfd18b269a8f028ce38b279a43b27fd2772e6b505348dc807
|
4
|
+
data.tar.gz: 50c32b94efd6271ad092a931bcfb5b4fd14900d1d6c378216c00e8922e49ac9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89a47722584ee575fe706c3c51db5bbadacfd42433d409ce0d4ae42b5c1ded509bd2bc2e440a7c0f43d765e1b5576a5880fec772056ad00647b351d2c64a9465
|
7
|
+
data.tar.gz: a42f0093090618f0ef85444d39867583b6d4eba7c895170a5035a9343ffcfaac592a0d837423b428d6c18304d6b47e894d329bfd3d721e8a7fdd7ab8fe98f980
|
@@ -13,8 +13,12 @@ module Noticed
|
|
13
13
|
|
14
14
|
desc "Generates a notification with the given NAME."
|
15
15
|
|
16
|
-
def
|
16
|
+
def generate_abstract_class
|
17
|
+
return if File.exist?("app/notifiers/application_notifier.rb")
|
17
18
|
template "application_notifier.rb", "app/notifiers/application_notifier.rb"
|
19
|
+
end
|
20
|
+
|
21
|
+
def generate_notification
|
18
22
|
template "notifier.rb", "app/notifiers/#{file_path}_notifier.rb"
|
19
23
|
end
|
20
24
|
|
data/lib/noticed/version.rb
CHANGED
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.3.
|
4
|
+
version: 2.3.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-05-
|
11
|
+
date: 2024-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|