noticent 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c862e2907d2eb57ab122737646652822c6471c3e21f421194ba109f615178d3b
4
- data.tar.gz: c0b350021ae5a59d700039769d4433d4806c4453f685470319fc68d31d421dda
3
+ metadata.gz: acd956f63f8b4ba05b882f00442dd1eca4c44080c2bd938182a573d667400154
4
+ data.tar.gz: 7e28dbde7a0e41cab81d4763ecf7517f4208bb842117b9a4c7002abbf9f1da26
5
5
  SHA512:
6
- metadata.gz: 5f10cb0e2d982c99bc1c39d9a41b06e2d2bc297f07772555f1ee14fafe392548bfbbbb3d6f3275457bc4ea28096f81ff17d749b2ceaef24ca38f7e1f9749d507
7
- data.tar.gz: 2db37e1ba4139db9ebea827c305278a898a28e96487cb456e00eb8a34e409254acec6811a2405114314a80b53c287ebd24040235876a63ef4c0346ea47456a2e
6
+ metadata.gz: d7727463c97770d5ecdfcd5f815866425009c12ba045577f6a47ec7287981be322d940a2e6878108abaa9f6df2059e035535e05d901aea830a76711985696517
7
+ data.tar.gz: e17267ecc973acebcdd659d4043c31f36bd09cbb3bb23e6a9b5a50cfe5fa275003c351dfd2089adb71ab8f34436302177a3ed5fb012bfe8da3035ed540946d2b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- noticent (0.0.1.pre.pre)
4
+ noticent (0.0.3)
5
5
  actionpack (~> 5.2)
6
6
  activerecord (~> 5.2)
7
7
  activesupport (~> 5.2)
data/README.md CHANGED
@@ -95,7 +95,7 @@ Noticent.configure do
95
95
  channel :email
96
96
 
97
97
  scope :account do
98
- alert(:new_signup){ notify :owner}
98
+ alert(:new_signup) { notify :owner}
99
99
  alert(:new_team_member) { notify :users }
100
100
  end
101
101
  end
@@ -115,7 +115,7 @@ class Email < ::Noticent::Channel
115
115
  end
116
116
  ```
117
117
 
118
- Now that we have our channel, we can define a Payload. We can do this in `app/modesl/noticent/account_payload.rb`:
118
+ Now that we have our channel, we can define a Payload. We can do this in `app/models/noticent/account_payload.rb`:
119
119
 
120
120
  ```ruby
121
121
  class AccountPayload
@@ -165,7 +165,6 @@ In the channel, you can use this:
165
165
 
166
166
  ```ruby
167
167
  class EmailChannel < ::Noticent::Channel
168
-
169
168
  def new_member
170
169
  data, content = render
171
170
  send_email(subject: data[:subject], content: content) # this is an example code
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Noticent
4
- VERSION ||= '0.0.3'
4
+ VERSION ||= "0.0.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noticent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Khash Sajadi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-13 00:00:00.000000000 Z
11
+ date: 2019-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -294,7 +294,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
294
294
  - !ruby/object:Gem::Version
295
295
  version: '0'
296
296
  requirements: []
297
- rubygems_version: 3.0.4
297
+ rubyforge_project:
298
+ rubygems_version: 2.7.6.2
298
299
  signing_key:
299
300
  specification_version: 4
300
301
  summary: Act as Notified is a flexible framework to add notifications to a Rails application