noticent 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -2
- data/Gemfile.lock +219 -140
- data/README.md +3 -0
- data/lib/noticent/active_record_opt_in_provider.rb +3 -2
- data/lib/noticent/version.rb +1 -1
- data/lib/noticent/version_checker.rb +8 -0
- data/noticent.gemspec +14 -12
- metadata +67 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36a0021677c53291defa4bf84cdf13ac5617ee01df829b56ef63f8852628ae0e
|
4
|
+
data.tar.gz: 2ffa089d1e1f1c892324028e7b4023eb97b6124be4314cf241ca151e1d3d0e65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8c964adb8763b316408d15126a929d74291d7d74c852c5364df164044629eb9c8bcf8c679ac0b6010952467f0526a18cde8719526c93a91808d9a9903b5c78c
|
7
|
+
data.tar.gz: c7e7f68ddda75916767a83d6aa5ff306f2cf1f075585c3ff404c1d08c9a26c7119fdc3410f070ebb9d3925093ac3cccca3821d2e62deeaa21d8011a4212fde82
|
data/.ruby-version
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
3.0.6
|
data/Gemfile.lock
CHANGED
@@ -1,182 +1,261 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
noticent (0.0.
|
5
|
-
actionpack (
|
6
|
-
activerecord (
|
7
|
-
activesupport (
|
4
|
+
noticent (0.0.6)
|
5
|
+
actionpack (>= 6.0, < 8.0)
|
6
|
+
activerecord (>= 6.0, < 8.0)
|
7
|
+
activesupport (>= 6.0, < 8.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actioncable (
|
13
|
-
actionpack (=
|
12
|
+
actioncable (7.1.2)
|
13
|
+
actionpack (= 7.1.2)
|
14
|
+
activesupport (= 7.1.2)
|
14
15
|
nio4r (~> 2.0)
|
15
16
|
websocket-driver (>= 0.6.1)
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
activejob (=
|
17
|
+
zeitwerk (~> 2.6)
|
18
|
+
actionmailbox (7.1.2)
|
19
|
+
actionpack (= 7.1.2)
|
20
|
+
activejob (= 7.1.2)
|
21
|
+
activerecord (= 7.1.2)
|
22
|
+
activestorage (= 7.1.2)
|
23
|
+
activesupport (= 7.1.2)
|
24
|
+
mail (>= 2.7.1)
|
25
|
+
net-imap
|
26
|
+
net-pop
|
27
|
+
net-smtp
|
28
|
+
actionmailer (7.1.2)
|
29
|
+
actionpack (= 7.1.2)
|
30
|
+
actionview (= 7.1.2)
|
31
|
+
activejob (= 7.1.2)
|
32
|
+
activesupport (= 7.1.2)
|
20
33
|
mail (~> 2.5, >= 2.5.4)
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
34
|
+
net-imap
|
35
|
+
net-pop
|
36
|
+
net-smtp
|
37
|
+
rails-dom-testing (~> 2.2)
|
38
|
+
actionpack (7.1.2)
|
39
|
+
actionview (= 7.1.2)
|
40
|
+
activesupport (= 7.1.2)
|
41
|
+
nokogiri (>= 1.8.5)
|
42
|
+
racc
|
43
|
+
rack (>= 2.2.4)
|
44
|
+
rack-session (>= 1.0.1)
|
26
45
|
rack-test (>= 0.6.3)
|
27
|
-
rails-dom-testing (~> 2.
|
28
|
-
rails-html-sanitizer (~> 1.
|
29
|
-
|
30
|
-
|
46
|
+
rails-dom-testing (~> 2.2)
|
47
|
+
rails-html-sanitizer (~> 1.6)
|
48
|
+
actiontext (7.1.2)
|
49
|
+
actionpack (= 7.1.2)
|
50
|
+
activerecord (= 7.1.2)
|
51
|
+
activestorage (= 7.1.2)
|
52
|
+
activesupport (= 7.1.2)
|
53
|
+
globalid (>= 0.6.0)
|
54
|
+
nokogiri (>= 1.8.5)
|
55
|
+
actionview (7.1.2)
|
56
|
+
activesupport (= 7.1.2)
|
31
57
|
builder (~> 3.1)
|
32
|
-
erubi (~> 1.
|
33
|
-
rails-dom-testing (~> 2.
|
34
|
-
rails-html-sanitizer (~> 1.
|
35
|
-
activejob (
|
36
|
-
activesupport (=
|
58
|
+
erubi (~> 1.11)
|
59
|
+
rails-dom-testing (~> 2.2)
|
60
|
+
rails-html-sanitizer (~> 1.6)
|
61
|
+
activejob (7.1.2)
|
62
|
+
activesupport (= 7.1.2)
|
37
63
|
globalid (>= 0.3.6)
|
38
|
-
activemodel (
|
39
|
-
activesupport (=
|
40
|
-
activerecord (
|
41
|
-
activemodel (=
|
42
|
-
activesupport (=
|
43
|
-
|
44
|
-
activestorage (
|
45
|
-
actionpack (=
|
46
|
-
|
47
|
-
|
48
|
-
|
64
|
+
activemodel (7.1.2)
|
65
|
+
activesupport (= 7.1.2)
|
66
|
+
activerecord (7.1.2)
|
67
|
+
activemodel (= 7.1.2)
|
68
|
+
activesupport (= 7.1.2)
|
69
|
+
timeout (>= 0.4.0)
|
70
|
+
activestorage (7.1.2)
|
71
|
+
actionpack (= 7.1.2)
|
72
|
+
activejob (= 7.1.2)
|
73
|
+
activerecord (= 7.1.2)
|
74
|
+
activesupport (= 7.1.2)
|
75
|
+
marcel (~> 1.0)
|
76
|
+
activesupport (7.1.2)
|
77
|
+
base64
|
78
|
+
bigdecimal
|
49
79
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
80
|
+
connection_pool (>= 2.2.5)
|
81
|
+
drb
|
82
|
+
i18n (>= 1.6, < 2)
|
83
|
+
minitest (>= 5.1)
|
84
|
+
mutex_m
|
85
|
+
tzinfo (~> 2.0)
|
86
|
+
ast (2.4.2)
|
87
|
+
base64 (0.2.0)
|
88
|
+
bigdecimal (3.1.4)
|
89
|
+
builder (3.2.4)
|
90
|
+
byebug (11.1.3)
|
91
|
+
combustion (1.3.7)
|
58
92
|
activesupport (>= 3.0.0)
|
59
93
|
railties (>= 3.0.0)
|
60
94
|
thor (>= 0.14.6)
|
61
|
-
concurrent-ruby (1.
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
95
|
+
concurrent-ruby (1.2.2)
|
96
|
+
connection_pool (2.4.1)
|
97
|
+
crass (1.0.6)
|
98
|
+
date (3.3.4)
|
99
|
+
diff-lcs (1.5.0)
|
100
|
+
drb (2.2.0)
|
101
|
+
ruby2_keywords
|
102
|
+
erubi (1.12.0)
|
103
|
+
factory_bot (6.4.2)
|
104
|
+
activesupport (>= 5.0.0)
|
67
105
|
generator_spec (0.9.4)
|
68
106
|
activesupport (>= 3.0.0)
|
69
107
|
railties (>= 3.0.0)
|
70
|
-
globalid (
|
71
|
-
activesupport (>=
|
72
|
-
i18n (1.
|
108
|
+
globalid (1.2.1)
|
109
|
+
activesupport (>= 6.1)
|
110
|
+
i18n (1.14.1)
|
73
111
|
concurrent-ruby (~> 1.0)
|
74
|
-
|
75
|
-
|
112
|
+
io-console (0.6.0)
|
113
|
+
irb (1.9.1)
|
114
|
+
rdoc
|
115
|
+
reline (>= 0.3.8)
|
116
|
+
json (2.6.3)
|
117
|
+
language_server-protocol (3.17.0.3)
|
118
|
+
loofah (2.22.0)
|
76
119
|
crass (~> 1.0.2)
|
77
|
-
nokogiri (>= 1.
|
78
|
-
mail (2.
|
120
|
+
nokogiri (>= 1.12.0)
|
121
|
+
mail (2.8.1)
|
79
122
|
mini_mime (>= 0.1.1)
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
mini_mime (1.
|
85
|
-
mini_portile2 (2.
|
86
|
-
minitest (5.
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
123
|
+
net-imap
|
124
|
+
net-pop
|
125
|
+
net-smtp
|
126
|
+
marcel (1.0.2)
|
127
|
+
mini_mime (1.1.5)
|
128
|
+
mini_portile2 (2.8.5)
|
129
|
+
minitest (5.20.0)
|
130
|
+
mutex_m (0.2.0)
|
131
|
+
net-imap (0.3.7)
|
132
|
+
date
|
133
|
+
net-protocol
|
134
|
+
net-pop (0.1.2)
|
135
|
+
net-protocol
|
136
|
+
net-protocol (0.2.2)
|
137
|
+
timeout
|
138
|
+
net-smtp (0.4.0)
|
139
|
+
net-protocol
|
140
|
+
nio4r (2.6.1)
|
141
|
+
nokogiri (1.15.5)
|
142
|
+
mini_portile2 (~> 2.8.2)
|
143
|
+
racc (~> 1.4)
|
144
|
+
parallel (1.23.0)
|
145
|
+
parser (3.2.2.4)
|
146
|
+
ast (~> 2.4.1)
|
147
|
+
racc
|
148
|
+
psych (5.1.1.1)
|
149
|
+
stringio
|
150
|
+
racc (1.7.3)
|
151
|
+
rack (3.0.8)
|
152
|
+
rack-session (2.0.0)
|
153
|
+
rack (>= 3.0.0)
|
154
|
+
rack-test (2.1.0)
|
155
|
+
rack (>= 1.3)
|
156
|
+
rackup (2.1.0)
|
157
|
+
rack (>= 3)
|
158
|
+
webrick (~> 1.8)
|
159
|
+
rails (7.1.2)
|
160
|
+
actioncable (= 7.1.2)
|
161
|
+
actionmailbox (= 7.1.2)
|
162
|
+
actionmailer (= 7.1.2)
|
163
|
+
actionpack (= 7.1.2)
|
164
|
+
actiontext (= 7.1.2)
|
165
|
+
actionview (= 7.1.2)
|
166
|
+
activejob (= 7.1.2)
|
167
|
+
activemodel (= 7.1.2)
|
168
|
+
activerecord (= 7.1.2)
|
169
|
+
activestorage (= 7.1.2)
|
170
|
+
activesupport (= 7.1.2)
|
171
|
+
bundler (>= 1.15.0)
|
172
|
+
railties (= 7.1.2)
|
173
|
+
rails-dom-testing (2.2.0)
|
174
|
+
activesupport (>= 5.0.0)
|
175
|
+
minitest
|
111
176
|
nokogiri (>= 1.6)
|
112
|
-
rails-html-sanitizer (1.0
|
113
|
-
loofah (~> 2.
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
177
|
+
rails-html-sanitizer (1.6.0)
|
178
|
+
loofah (~> 2.21)
|
179
|
+
nokogiri (~> 1.14)
|
180
|
+
railties (7.1.2)
|
181
|
+
actionpack (= 7.1.2)
|
182
|
+
activesupport (= 7.1.2)
|
183
|
+
irb
|
184
|
+
rackup (>= 1.0.0)
|
185
|
+
rake (>= 12.2)
|
186
|
+
thor (~> 1.0, >= 1.2.2)
|
187
|
+
zeitwerk (~> 2.6)
|
188
|
+
rainbow (3.1.1)
|
189
|
+
rake (13.1.0)
|
190
|
+
rdoc (6.6.0)
|
191
|
+
psych (>= 4.0.0)
|
192
|
+
regexp_parser (2.8.2)
|
193
|
+
reline (0.4.0)
|
194
|
+
io-console (~> 0.5)
|
195
|
+
rexml (3.2.6)
|
196
|
+
rspec (3.12.0)
|
197
|
+
rspec-core (~> 3.12.0)
|
198
|
+
rspec-expectations (~> 3.12.0)
|
199
|
+
rspec-mocks (~> 3.12.0)
|
200
|
+
rspec-core (3.12.2)
|
201
|
+
rspec-support (~> 3.12.0)
|
202
|
+
rspec-expectations (3.12.3)
|
129
203
|
diff-lcs (>= 1.2.0, < 2.0)
|
130
|
-
rspec-support (~> 3.
|
131
|
-
rspec-mocks (3.
|
204
|
+
rspec-support (~> 3.12.0)
|
205
|
+
rspec-mocks (3.12.6)
|
132
206
|
diff-lcs (>= 1.2.0, < 2.0)
|
133
|
-
rspec-support (~> 3.
|
134
|
-
rspec-support (3.
|
135
|
-
rubocop (
|
136
|
-
|
207
|
+
rspec-support (~> 3.12.0)
|
208
|
+
rspec-support (3.12.1)
|
209
|
+
rubocop (1.57.2)
|
210
|
+
json (~> 2.3)
|
211
|
+
language_server-protocol (>= 3.17.0)
|
137
212
|
parallel (~> 1.10)
|
138
|
-
parser (>= 2.
|
213
|
+
parser (>= 3.2.2.4)
|
139
214
|
rainbow (>= 2.2.2, < 4.0)
|
215
|
+
regexp_parser (>= 1.8, < 3.0)
|
216
|
+
rexml (>= 3.2.5, < 4.0)
|
217
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
140
218
|
ruby-progressbar (~> 1.7)
|
141
|
-
unicode-display_width (>=
|
142
|
-
rubocop-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
219
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
220
|
+
rubocop-ast (1.30.0)
|
221
|
+
parser (>= 3.2.1.0)
|
222
|
+
rubocop-performance (1.19.1)
|
223
|
+
rubocop (>= 1.7.0, < 2.0)
|
224
|
+
rubocop-ast (>= 0.4.0)
|
225
|
+
ruby-progressbar (1.13.0)
|
226
|
+
ruby2_keywords (0.0.5)
|
227
|
+
rufo (0.16.3)
|
228
|
+
sqlite3 (1.6.9)
|
229
|
+
mini_portile2 (~> 2.8.0)
|
230
|
+
stringio (3.1.0)
|
231
|
+
thor (1.3.0)
|
232
|
+
timeout (0.4.1)
|
233
|
+
tzinfo (2.0.6)
|
147
234
|
concurrent-ruby (~> 1.0)
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
activesupport (>= 4.0)
|
152
|
-
sprockets (>= 3.0.0)
|
153
|
-
sqlite3 (1.4.1)
|
154
|
-
thor (0.20.3)
|
155
|
-
thread_safe (0.3.6)
|
156
|
-
tzinfo (1.2.5)
|
157
|
-
thread_safe (~> 0.1)
|
158
|
-
unicode-display_width (1.6.0)
|
159
|
-
websocket-driver (0.7.1)
|
235
|
+
unicode-display_width (2.5.0)
|
236
|
+
webrick (1.8.1)
|
237
|
+
websocket-driver (0.7.6)
|
160
238
|
websocket-extensions (>= 0.1.0)
|
161
|
-
websocket-extensions (0.1.
|
239
|
+
websocket-extensions (0.1.5)
|
240
|
+
zeitwerk (2.6.12)
|
162
241
|
|
163
242
|
PLATFORMS
|
164
243
|
ruby
|
165
244
|
|
166
245
|
DEPENDENCIES
|
167
246
|
bundler (~> 2.0)
|
168
|
-
byebug (~> 11.
|
169
|
-
combustion (~> 1.
|
170
|
-
factory_bot (~>
|
247
|
+
byebug (~> 11.1)
|
248
|
+
combustion (~> 1.3)
|
249
|
+
factory_bot (~> 6.1)
|
171
250
|
generator_spec (~> 0.9)
|
172
251
|
noticent!
|
173
|
-
rails (
|
174
|
-
rake (~>
|
175
|
-
rspec (~> 3.
|
176
|
-
rubocop (~>
|
177
|
-
rubocop-performance (~> 1.
|
178
|
-
rufo (~> 0.
|
252
|
+
rails (>= 6.0, < 8.0)
|
253
|
+
rake (~> 13.0)
|
254
|
+
rspec (~> 3.10)
|
255
|
+
rubocop (~> 1.4)
|
256
|
+
rubocop-performance (~> 1.9)
|
257
|
+
rufo (~> 0.12)
|
179
258
|
sqlite3 (~> 1.4)
|
180
259
|
|
181
260
|
BUNDLED WITH
|
182
|
-
2.
|
261
|
+
2.1.4
|
data/README.md
CHANGED
@@ -15,6 +15,9 @@ The primary design goal for Noticent is developer friendliness. Using Noticent,
|
|
15
15
|
|
16
16
|
## Installation
|
17
17
|
|
18
|
+
### Notice on Rails version
|
19
|
+
Noticent 0.0.6 has been upgraded to work with Rails 7.0. If you would like to use it with an older version of Rails <= 5, please use Noticent 0.0.4
|
20
|
+
|
18
21
|
Add this line to your application's Gemfile:
|
19
22
|
|
20
23
|
```ruby
|
@@ -17,7 +17,8 @@ module Noticent
|
|
17
17
|
|
18
18
|
def add_alert(scope:, alert_name:, recipient_ids:, channel:)
|
19
19
|
ActiveRecord::Base.transaction do
|
20
|
-
|
20
|
+
time_now = Time.now.utc
|
21
|
+
formatted_time_now = ::Noticent::VersionChecker.activesupport_7_or_greater? ? time_now.to_fs(:db) : time_now.to_s(:db)
|
21
22
|
# fetch all permutations of recipient and entity id
|
22
23
|
permutations = Noticent::OptIn.distinct
|
23
24
|
.where('recipient_id IN (?)', recipient_ids)
|
@@ -25,7 +26,7 @@ module Noticent
|
|
25
26
|
|
26
27
|
return if permutations.empty?
|
27
28
|
|
28
|
-
values = permutations.map { |e, r| "('#{scope}','#{alert_name}', #{e}, #{r}, '#{channel}', '#{
|
29
|
+
values = permutations.map { |e, r| "('#{scope}','#{alert_name}', #{e}, #{r}, '#{channel}', '#{formatted_time_now}', '#{formatted_time_now}')" }.join(',')
|
29
30
|
ActiveRecord::Base.connection.execute("INSERT INTO opt_ins (scope, alert_name, entity_id, recipient_id, channel_name, created_at, updated_at) VALUES #{values}")
|
30
31
|
end
|
31
32
|
end
|
data/lib/noticent/version.rb
CHANGED
@@ -0,0 +1,8 @@
|
|
1
|
+
module Noticent
|
2
|
+
class VersionChecker
|
3
|
+
def self.activesupport_7_or_greater?
|
4
|
+
return @activesupport_7_or_greater unless @activesupport_7_or_greater.nil?
|
5
|
+
@activesupport_7_or_greater = ::Gem.loaded_specs["activesupport"].version >= ::Gem::Version.new("7.0.0")
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
data/noticent.gemspec
CHANGED
@@ -9,6 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.version = Noticent::VERSION
|
10
10
|
spec.authors = ["Khash Sajadi"]
|
11
11
|
spec.email = ["khash@cloud66.com"]
|
12
|
+
spec.license = "Apache-2.0"
|
13
|
+
spec.homepage = "https://github.com/cloud66-oss/noticent"
|
12
14
|
|
13
15
|
spec.summary = "Act as Notified is a flexible framework to add notifications to a Rails application"
|
14
16
|
|
@@ -21,20 +23,20 @@ Gem::Specification.new do |spec|
|
|
21
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
24
|
spec.require_paths = ["lib"]
|
23
25
|
|
24
|
-
spec.add_dependency "activerecord", "
|
25
|
-
spec.add_dependency "activesupport", "
|
26
|
-
spec.add_dependency "actionpack", "
|
26
|
+
spec.add_dependency "activerecord", ">= 6.0", "< 8.0"
|
27
|
+
spec.add_dependency "activesupport", ">= 6.0", "< 8.0"
|
28
|
+
spec.add_dependency "actionpack", ">= 6.0", "< 8.0"
|
27
29
|
|
28
|
-
spec.add_development_dependency "combustion", "~> 1.
|
30
|
+
spec.add_development_dependency "combustion", "~> 1.3"
|
29
31
|
spec.add_development_dependency "bundler", "~> 2.0"
|
30
|
-
spec.add_development_dependency "factory_bot", "~>
|
32
|
+
spec.add_development_dependency "factory_bot", "~> 6.1"
|
31
33
|
spec.add_development_dependency "generator_spec", "~> 0.9"
|
32
|
-
spec.add_development_dependency "rails", "
|
33
|
-
spec.add_development_dependency "rake", "~>
|
34
|
-
spec.add_development_dependency "rspec", "~> 3.
|
35
|
-
spec.add_development_dependency "rubocop", "~>
|
36
|
-
spec.add_development_dependency "rubocop-performance", "~> 1.
|
37
|
-
spec.add_development_dependency "rufo", "~> 0.
|
34
|
+
spec.add_development_dependency "rails", ">= 6.0", "< 8.0"
|
35
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
36
|
+
spec.add_development_dependency "rspec", "~> 3.10"
|
37
|
+
spec.add_development_dependency "rubocop", "~> 1.4"
|
38
|
+
spec.add_development_dependency "rubocop-performance", "~> 1.9"
|
39
|
+
spec.add_development_dependency "rufo", "~> 0.12"
|
38
40
|
spec.add_development_dependency "sqlite3", "~> 1.4"
|
39
|
-
spec.add_development_dependency "byebug", "~> 11.
|
41
|
+
spec.add_development_dependency "byebug", "~> 11.1"
|
40
42
|
end
|
metadata
CHANGED
@@ -1,71 +1,89 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noticent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Khash Sajadi
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '6.0'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
22
|
+
version: '8.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
29
|
+
version: '6.0'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '8.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: activesupport
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '6.0'
|
40
|
+
- - "<"
|
32
41
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
42
|
+
version: '8.0'
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- - "
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '6.0'
|
50
|
+
- - "<"
|
39
51
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
52
|
+
version: '8.0'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: actionpack
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
|
-
- - "
|
57
|
+
- - ">="
|
46
58
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
59
|
+
version: '6.0'
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '8.0'
|
48
63
|
type: :runtime
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
52
|
-
- - "
|
67
|
+
- - ">="
|
53
68
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
69
|
+
version: '6.0'
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '8.0'
|
55
73
|
- !ruby/object:Gem::Dependency
|
56
74
|
name: combustion
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
58
76
|
requirements:
|
59
77
|
- - "~>"
|
60
78
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
79
|
+
version: '1.3'
|
62
80
|
type: :development
|
63
81
|
prerelease: false
|
64
82
|
version_requirements: !ruby/object:Gem::Requirement
|
65
83
|
requirements:
|
66
84
|
- - "~>"
|
67
85
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1.
|
86
|
+
version: '1.3'
|
69
87
|
- !ruby/object:Gem::Dependency
|
70
88
|
name: bundler
|
71
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +104,14 @@ dependencies:
|
|
86
104
|
requirements:
|
87
105
|
- - "~>"
|
88
106
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
107
|
+
version: '6.1'
|
90
108
|
type: :development
|
91
109
|
prerelease: false
|
92
110
|
version_requirements: !ruby/object:Gem::Requirement
|
93
111
|
requirements:
|
94
112
|
- - "~>"
|
95
113
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
114
|
+
version: '6.1'
|
97
115
|
- !ruby/object:Gem::Dependency
|
98
116
|
name: generator_spec
|
99
117
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,86 +130,92 @@ dependencies:
|
|
112
130
|
name: rails
|
113
131
|
requirement: !ruby/object:Gem::Requirement
|
114
132
|
requirements:
|
115
|
-
- - "
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '6.0'
|
136
|
+
- - "<"
|
116
137
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
138
|
+
version: '8.0'
|
118
139
|
type: :development
|
119
140
|
prerelease: false
|
120
141
|
version_requirements: !ruby/object:Gem::Requirement
|
121
142
|
requirements:
|
122
|
-
- - "
|
143
|
+
- - ">="
|
123
144
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
145
|
+
version: '6.0'
|
146
|
+
- - "<"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '8.0'
|
125
149
|
- !ruby/object:Gem::Dependency
|
126
150
|
name: rake
|
127
151
|
requirement: !ruby/object:Gem::Requirement
|
128
152
|
requirements:
|
129
153
|
- - "~>"
|
130
154
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
155
|
+
version: '13.0'
|
132
156
|
type: :development
|
133
157
|
prerelease: false
|
134
158
|
version_requirements: !ruby/object:Gem::Requirement
|
135
159
|
requirements:
|
136
160
|
- - "~>"
|
137
161
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
162
|
+
version: '13.0'
|
139
163
|
- !ruby/object:Gem::Dependency
|
140
164
|
name: rspec
|
141
165
|
requirement: !ruby/object:Gem::Requirement
|
142
166
|
requirements:
|
143
167
|
- - "~>"
|
144
168
|
- !ruby/object:Gem::Version
|
145
|
-
version: '3.
|
169
|
+
version: '3.10'
|
146
170
|
type: :development
|
147
171
|
prerelease: false
|
148
172
|
version_requirements: !ruby/object:Gem::Requirement
|
149
173
|
requirements:
|
150
174
|
- - "~>"
|
151
175
|
- !ruby/object:Gem::Version
|
152
|
-
version: '3.
|
176
|
+
version: '3.10'
|
153
177
|
- !ruby/object:Gem::Dependency
|
154
178
|
name: rubocop
|
155
179
|
requirement: !ruby/object:Gem::Requirement
|
156
180
|
requirements:
|
157
181
|
- - "~>"
|
158
182
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
183
|
+
version: '1.4'
|
160
184
|
type: :development
|
161
185
|
prerelease: false
|
162
186
|
version_requirements: !ruby/object:Gem::Requirement
|
163
187
|
requirements:
|
164
188
|
- - "~>"
|
165
189
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
190
|
+
version: '1.4'
|
167
191
|
- !ruby/object:Gem::Dependency
|
168
192
|
name: rubocop-performance
|
169
193
|
requirement: !ruby/object:Gem::Requirement
|
170
194
|
requirements:
|
171
195
|
- - "~>"
|
172
196
|
- !ruby/object:Gem::Version
|
173
|
-
version: '1.
|
197
|
+
version: '1.9'
|
174
198
|
type: :development
|
175
199
|
prerelease: false
|
176
200
|
version_requirements: !ruby/object:Gem::Requirement
|
177
201
|
requirements:
|
178
202
|
- - "~>"
|
179
203
|
- !ruby/object:Gem::Version
|
180
|
-
version: '1.
|
204
|
+
version: '1.9'
|
181
205
|
- !ruby/object:Gem::Dependency
|
182
206
|
name: rufo
|
183
207
|
requirement: !ruby/object:Gem::Requirement
|
184
208
|
requirements:
|
185
209
|
- - "~>"
|
186
210
|
- !ruby/object:Gem::Version
|
187
|
-
version: '0.
|
211
|
+
version: '0.12'
|
188
212
|
type: :development
|
189
213
|
prerelease: false
|
190
214
|
version_requirements: !ruby/object:Gem::Requirement
|
191
215
|
requirements:
|
192
216
|
- - "~>"
|
193
217
|
- !ruby/object:Gem::Version
|
194
|
-
version: '0.
|
218
|
+
version: '0.12'
|
195
219
|
- !ruby/object:Gem::Dependency
|
196
220
|
name: sqlite3
|
197
221
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,15 +236,15 @@ dependencies:
|
|
212
236
|
requirements:
|
213
237
|
- - "~>"
|
214
238
|
- !ruby/object:Gem::Version
|
215
|
-
version: '11.
|
239
|
+
version: '11.1'
|
216
240
|
type: :development
|
217
241
|
prerelease: false
|
218
242
|
version_requirements: !ruby/object:Gem::Requirement
|
219
243
|
requirements:
|
220
244
|
- - "~>"
|
221
245
|
- !ruby/object:Gem::Version
|
222
|
-
version: '11.
|
223
|
-
description:
|
246
|
+
version: '11.1'
|
247
|
+
description:
|
224
248
|
email:
|
225
249
|
- khash@cloud66.com
|
226
250
|
executables: []
|
@@ -259,6 +283,7 @@ files:
|
|
259
283
|
- lib/noticent/opt_in.rb
|
260
284
|
- lib/noticent/proc_map.rb
|
261
285
|
- lib/noticent/version.rb
|
286
|
+
- lib/noticent/version_checker.rb
|
262
287
|
- lib/noticent/view.rb
|
263
288
|
- noticent.gemspec
|
264
289
|
- testing/channels/boo.rb
|
@@ -276,10 +301,11 @@ files:
|
|
276
301
|
- testing/views/email/some_event.txt.erb
|
277
302
|
- testing/views/layouts/layout.html.erb
|
278
303
|
- testing/views/simple/default.html.erb
|
279
|
-
homepage:
|
280
|
-
licenses:
|
304
|
+
homepage: https://github.com/cloud66-oss/noticent
|
305
|
+
licenses:
|
306
|
+
- Apache-2.0
|
281
307
|
metadata: {}
|
282
|
-
post_install_message:
|
308
|
+
post_install_message:
|
283
309
|
rdoc_options: []
|
284
310
|
require_paths:
|
285
311
|
- lib
|
@@ -294,9 +320,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
294
320
|
- !ruby/object:Gem::Version
|
295
321
|
version: '0'
|
296
322
|
requirements: []
|
297
|
-
|
298
|
-
|
299
|
-
signing_key:
|
323
|
+
rubygems_version: 3.2.33
|
324
|
+
signing_key:
|
300
325
|
specification_version: 4
|
301
326
|
summary: Act as Notified is a flexible framework to add notifications to a Rails application
|
302
327
|
test_files: []
|