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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70482becaedf2461851b7c9f8f0afd9c37a2c4caa9c2d5622cf007b212988730
4
- data.tar.gz: '023579ed0635603e27fe99473bb77b17bda4bce7a0ac9ad0533179a6570693c3'
3
+ metadata.gz: aa6eead89c27a33bfd18b269a8f028ce38b279a43b27fd2772e6b505348dc807
4
+ data.tar.gz: 50c32b94efd6271ad092a931bcfb5b4fd14900d1d6c378216c00e8922e49ac9f
5
5
  SHA512:
6
- metadata.gz: 923f424527ae03b0a9cb24d3fc83f59b9b7d914d7b0f53db928cc9d12b6757ee20fa1a7b810735d2a1657f7ee8a5b7efdee03d69de5b73c8fa31dae6c5400dd0
7
- data.tar.gz: 2fd06825b9afabd447c867b54c8e31207b7c180d32a5f1ff341b543cf90d1cf9f4a1b65d398e230789e51d9b40cce42e3ebd04611f5970e520e9086e3eeae85f
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 generate_notification
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
 
@@ -1,3 +1,3 @@
1
1
  module Noticed
2
- VERSION = "2.3.0"
2
+ VERSION = "2.3.1"
3
3
  end
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.0
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-23 00:00:00.000000000 Z
11
+ date: 2024-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails