noticent 0.0.5 → 0.0.6

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: 39976d3c26bf7964ae52de0d039009181362a4ec13ac361ab53285400d26f7ed
4
- data.tar.gz: f8c686ad8034d895095db885d881cfcc83d71d4e2d98e7785b32e7882ad3b9c5
3
+ metadata.gz: 36a0021677c53291defa4bf84cdf13ac5617ee01df829b56ef63f8852628ae0e
4
+ data.tar.gz: 2ffa089d1e1f1c892324028e7b4023eb97b6124be4314cf241ca151e1d3d0e65
5
5
  SHA512:
6
- metadata.gz: 326593a94ac3259c731453967741677c5dd8f6ea36f2fc217ebe150355fd5cc69d8ead6879bc3e2f61804383a3d7e4618fb91761f3eeac48d8f5a12bbef83ff4
7
- data.tar.gz: 3dc10c0be1dff239709ebf5bea66cd18acc2f5d5642445676c679bee78ce7872bbbd63ebafa2717fae35375a51d4fd2cc7b7375ee8f8016ad3108f0d01d1dd25
6
+ metadata.gz: c8c964adb8763b316408d15126a929d74291d7d74c852c5364df164044629eb9c8bcf8c679ac0b6010952467f0526a18cde8719526c93a91808d9a9903b5c78c
7
+ data.tar.gz: c7e7f68ddda75916767a83d6aa5ff306f2cf1f075585c3ff404c1d08c9a26c7119fdc3410f070ebb9d3925093ac3cccca3821d2e62deeaa21d8011a4212fde82
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.1
1
+ 3.0.6
data/Gemfile.lock CHANGED
@@ -1,186 +1,243 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- noticent (0.0.5)
5
- actionpack (~> 6.0)
6
- activerecord (~> 6.0)
7
- activesupport (~> 6.0)
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 (6.0.3.4)
13
- actionpack (= 6.0.3.4)
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
- actionmailbox (6.0.3.4)
17
- actionpack (= 6.0.3.4)
18
- activejob (= 6.0.3.4)
19
- activerecord (= 6.0.3.4)
20
- activestorage (= 6.0.3.4)
21
- activesupport (= 6.0.3.4)
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)
22
24
  mail (>= 2.7.1)
23
- actionmailer (6.0.3.4)
24
- actionpack (= 6.0.3.4)
25
- actionview (= 6.0.3.4)
26
- activejob (= 6.0.3.4)
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)
27
33
  mail (~> 2.5, >= 2.5.4)
28
- rails-dom-testing (~> 2.0)
29
- actionpack (6.0.3.4)
30
- actionview (= 6.0.3.4)
31
- activesupport (= 6.0.3.4)
32
- rack (~> 2.0, >= 2.0.8)
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)
33
45
  rack-test (>= 0.6.3)
34
- rails-dom-testing (~> 2.0)
35
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
- actiontext (6.0.3.4)
37
- actionpack (= 6.0.3.4)
38
- activerecord (= 6.0.3.4)
39
- activestorage (= 6.0.3.4)
40
- activesupport (= 6.0.3.4)
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)
41
54
  nokogiri (>= 1.8.5)
42
- actionview (6.0.3.4)
43
- activesupport (= 6.0.3.4)
55
+ actionview (7.1.2)
56
+ activesupport (= 7.1.2)
44
57
  builder (~> 3.1)
45
- erubi (~> 1.4)
46
- rails-dom-testing (~> 2.0)
47
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
- activejob (6.0.3.4)
49
- activesupport (= 6.0.3.4)
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)
50
63
  globalid (>= 0.3.6)
51
- activemodel (6.0.3.4)
52
- activesupport (= 6.0.3.4)
53
- activerecord (6.0.3.4)
54
- activemodel (= 6.0.3.4)
55
- activesupport (= 6.0.3.4)
56
- activestorage (6.0.3.4)
57
- actionpack (= 6.0.3.4)
58
- activejob (= 6.0.3.4)
59
- activerecord (= 6.0.3.4)
60
- marcel (~> 0.3.1)
61
- activesupport (6.0.3.4)
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
62
79
  concurrent-ruby (~> 1.0, >= 1.0.2)
63
- i18n (>= 0.7, < 2)
64
- minitest (~> 5.1)
65
- tzinfo (~> 1.1)
66
- zeitwerk (~> 2.2, >= 2.2.2)
67
- ast (2.4.1)
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)
68
89
  builder (3.2.4)
69
90
  byebug (11.1.3)
70
- combustion (1.3.1)
91
+ combustion (1.3.7)
71
92
  activesupport (>= 3.0.0)
72
93
  railties (>= 3.0.0)
73
94
  thor (>= 0.14.6)
74
- concurrent-ruby (1.1.7)
95
+ concurrent-ruby (1.2.2)
96
+ connection_pool (2.4.1)
75
97
  crass (1.0.6)
76
- diff-lcs (1.4.4)
77
- erubi (1.10.0)
78
- factory_bot (6.1.0)
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)
79
104
  activesupport (>= 5.0.0)
80
105
  generator_spec (0.9.4)
81
106
  activesupport (>= 3.0.0)
82
107
  railties (>= 3.0.0)
83
- globalid (0.4.2)
84
- activesupport (>= 4.2.0)
85
- i18n (1.8.5)
108
+ globalid (1.2.1)
109
+ activesupport (>= 6.1)
110
+ i18n (1.14.1)
86
111
  concurrent-ruby (~> 1.0)
87
- loofah (2.8.0)
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)
88
119
  crass (~> 1.0.2)
89
- nokogiri (>= 1.5.9)
90
- mail (2.7.1)
120
+ nokogiri (>= 1.12.0)
121
+ mail (2.8.1)
91
122
  mini_mime (>= 0.1.1)
92
- marcel (0.3.3)
93
- mimemagic (~> 0.3.2)
94
- method_source (1.0.0)
95
- mimemagic (0.3.5)
96
- mini_mime (1.0.2)
97
- mini_portile2 (2.4.0)
98
- minitest (5.14.2)
99
- nio4r (2.5.4)
100
- nokogiri (1.10.10)
101
- mini_portile2 (~> 2.4.0)
102
- parallel (1.20.1)
103
- parser (2.7.2.0)
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)
104
146
  ast (~> 2.4.1)
105
- rack (2.2.3)
106
- rack-test (1.1.0)
107
- rack (>= 1.0, < 3)
108
- rails (6.0.3.4)
109
- actioncable (= 6.0.3.4)
110
- actionmailbox (= 6.0.3.4)
111
- actionmailer (= 6.0.3.4)
112
- actionpack (= 6.0.3.4)
113
- actiontext (= 6.0.3.4)
114
- actionview (= 6.0.3.4)
115
- activejob (= 6.0.3.4)
116
- activemodel (= 6.0.3.4)
117
- activerecord (= 6.0.3.4)
118
- activestorage (= 6.0.3.4)
119
- activesupport (= 6.0.3.4)
120
- bundler (>= 1.3.0)
121
- railties (= 6.0.3.4)
122
- sprockets-rails (>= 2.0.0)
123
- rails-dom-testing (2.0.3)
124
- activesupport (>= 4.2.0)
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
125
176
  nokogiri (>= 1.6)
126
- rails-html-sanitizer (1.3.0)
127
- loofah (~> 2.3)
128
- railties (6.0.3.4)
129
- actionpack (= 6.0.3.4)
130
- activesupport (= 6.0.3.4)
131
- method_source
132
- rake (>= 0.8.7)
133
- thor (>= 0.20.3, < 2.0)
134
- rainbow (3.0.0)
135
- rake (13.0.1)
136
- regexp_parser (2.0.0)
137
- rexml (3.2.4)
138
- rspec (3.10.0)
139
- rspec-core (~> 3.10.0)
140
- rspec-expectations (~> 3.10.0)
141
- rspec-mocks (~> 3.10.0)
142
- rspec-core (3.10.0)
143
- rspec-support (~> 3.10.0)
144
- rspec-expectations (3.10.0)
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)
145
203
  diff-lcs (>= 1.2.0, < 2.0)
146
- rspec-support (~> 3.10.0)
147
- rspec-mocks (3.10.0)
204
+ rspec-support (~> 3.12.0)
205
+ rspec-mocks (3.12.6)
148
206
  diff-lcs (>= 1.2.0, < 2.0)
149
- rspec-support (~> 3.10.0)
150
- rspec-support (3.10.0)
151
- rubocop (1.4.2)
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)
152
212
  parallel (~> 1.10)
153
- parser (>= 2.7.1.5)
213
+ parser (>= 3.2.2.4)
154
214
  rainbow (>= 2.2.2, < 4.0)
155
- regexp_parser (>= 1.8)
156
- rexml
157
- rubocop-ast (>= 1.1.1)
215
+ regexp_parser (>= 1.8, < 3.0)
216
+ rexml (>= 3.2.5, < 4.0)
217
+ rubocop-ast (>= 1.28.1, < 2.0)
158
218
  ruby-progressbar (~> 1.7)
159
- unicode-display_width (>= 1.4.0, < 2.0)
160
- rubocop-ast (1.2.0)
161
- parser (>= 2.7.1.5)
162
- rubocop-performance (1.9.1)
163
- rubocop (>= 0.90.0, < 2.0)
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)
164
224
  rubocop-ast (>= 0.4.0)
165
- ruby-progressbar (1.10.1)
166
- rufo (0.12.0)
167
- sprockets (4.0.2)
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)
168
234
  concurrent-ruby (~> 1.0)
169
- rack (> 1, < 3)
170
- sprockets-rails (3.2.2)
171
- actionpack (>= 4.0)
172
- activesupport (>= 4.0)
173
- sprockets (>= 3.0.0)
174
- sqlite3 (1.4.2)
175
- thor (1.0.1)
176
- thread_safe (0.3.6)
177
- tzinfo (1.2.8)
178
- thread_safe (~> 0.1)
179
- unicode-display_width (1.7.0)
180
- websocket-driver (0.7.3)
235
+ unicode-display_width (2.5.0)
236
+ webrick (1.8.1)
237
+ websocket-driver (0.7.6)
181
238
  websocket-extensions (>= 0.1.0)
182
239
  websocket-extensions (0.1.5)
183
- zeitwerk (2.4.2)
240
+ zeitwerk (2.6.12)
184
241
 
185
242
  PLATFORMS
186
243
  ruby
@@ -192,7 +249,7 @@ DEPENDENCIES
192
249
  factory_bot (~> 6.1)
193
250
  generator_spec (~> 0.9)
194
251
  noticent!
195
- rails (~> 6.0)
252
+ rails (>= 6.0, < 8.0)
196
253
  rake (~> 13.0)
197
254
  rspec (~> 3.10)
198
255
  rubocop (~> 1.4)
data/README.md CHANGED
@@ -16,7 +16,7 @@ The primary design goal for Noticent is developer friendliness. Using Noticent,
16
16
  ## Installation
17
17
 
18
18
  ### Notice on Rails version
19
- Noticent 0.0.5 has been upgraded to work with Rails 6.0. If you would like to use it with an older version of Rails, please use Noticent 0.0.4
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
20
 
21
21
  Add this line to your application's Gemfile:
22
22
 
@@ -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
- now = Time.now.utc.to_s(:db)
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}', '#{now}', '#{now}')" }.join(',')
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Noticent
4
- VERSION ||= "0.0.5"
4
+ VERSION ||= "0.0.6"
5
5
  end
@@ -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
@@ -23,15 +23,15 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_dependency "activerecord", "~> 6.0"
27
- spec.add_dependency "activesupport", "~> 6.0"
28
- spec.add_dependency "actionpack", "~> 6.0"
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"
29
29
 
30
30
  spec.add_development_dependency "combustion", "~> 1.3"
31
31
  spec.add_development_dependency "bundler", "~> 2.0"
32
32
  spec.add_development_dependency "factory_bot", "~> 6.1"
33
33
  spec.add_development_dependency "generator_spec", "~> 0.9"
34
- spec.add_development_dependency "rails", "~> 6.0"
34
+ spec.add_development_dependency "rails", ">= 6.0", "< 8.0"
35
35
  spec.add_development_dependency "rake", "~> 13.0"
36
36
  spec.add_development_dependency "rspec", "~> 3.10"
37
37
  spec.add_development_dependency "rubocop", "~> 1.4"
metadata CHANGED
@@ -1,57 +1,75 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noticent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
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: 2020-11-30 00:00:00.000000000 Z
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
18
  - !ruby/object:Gem::Version
19
19
  version: '6.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::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
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
+ - - ">="
32
38
  - !ruby/object:Gem::Version
33
39
  version: '6.0'
40
+ - - "<"
41
+ - !ruby/object:Gem::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
+ - - ">="
39
48
  - !ruby/object:Gem::Version
40
49
  version: '6.0'
50
+ - - "<"
51
+ - !ruby/object:Gem::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
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
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
@@ -112,16 +130,22 @@ dependencies:
112
130
  name: rails
113
131
  requirement: !ruby/object:Gem::Requirement
114
132
  requirements:
115
- - - "~>"
133
+ - - ">="
116
134
  - !ruby/object:Gem::Version
117
135
  version: '6.0'
136
+ - - "<"
137
+ - !ruby/object:Gem::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
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
@@ -220,7 +244,7 @@ dependencies:
220
244
  - - "~>"
221
245
  - !ruby/object:Gem::Version
222
246
  version: '11.1'
223
- description:
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
@@ -280,7 +305,7 @@ homepage: https://github.com/cloud66-oss/noticent
280
305
  licenses:
281
306
  - Apache-2.0
282
307
  metadata: {}
283
- post_install_message:
308
+ post_install_message:
284
309
  rdoc_options: []
285
310
  require_paths:
286
311
  - lib
@@ -295,8 +320,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
295
320
  - !ruby/object:Gem::Version
296
321
  version: '0'
297
322
  requirements: []
298
- rubygems_version: 3.1.2
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: []