bp3-noticed 0.3.0 → 0.3.2

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: 4103e2267b891b17534defca5096d8dc2c044b7f97d9886abfe9f9b0fa8d7550
4
- data.tar.gz: fae35923b67bece6b0ab2500eb343701ab94a2706ecd7df6d4dbbc72beb55497
3
+ metadata.gz: 97c11243e0984227752db23d203776d5dc8e741c1143c2d51b83535ab975092a
4
+ data.tar.gz: b5762da9363d48ea4f3ca1fb1e3ef3dadb2241302be9406dde8b0981e84bd58c
5
5
  SHA512:
6
- metadata.gz: 3128217f637f80b66fff20284cc5b844704db236332544bb9ae851257791086d3a01288ad4566bee02f647890f0d83ecca2688189d3e5f5729bc7fc561bf85f2
7
- data.tar.gz: 97e30b4172fa9d498b0fd5e5e653716c9972fc6bc1f0cca81fb76cd3548826a6bae1e61443fb76aa0a8a2485a361a9c634b6899306a9bc20297e085f1151e32f
6
+ metadata.gz: 50ac24e229ab21ebfd1ebc06623677c6e1e39d88495a99c8db40059d28c2dd71be3126474d50fbc31ac0359fe3b5eb95453a2d71303851ddf77a54b0fc2e7eb2
7
+ data.tar.gz: c3704a2388fa6c9ebca1b22a682dff6b7e648dcfdaa2eb9d1a0dd86d588588542c88b9d81e9c9a5d66dac26b1a831ed68ce6041075533e257f0c2718270cd6cf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.3.2] - 2026-01-31
4
+
5
+ - Use config.to_prepare for railtie reload
6
+ - Update gems
7
+
8
+ ## [0.3.1] - 2026-01-12
9
+
10
+ - Update bp3-action_dispatch gem
11
+
3
12
  ## [0.3.0] - 2026-01-12
4
13
 
5
14
  - Include Displayable
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bp3-noticed (0.3.0)
4
+ bp3-noticed (0.3.2)
5
5
  activesupport (~> 8.1)
6
6
  apnotic (~> 1)
7
7
  bp3-action_dispatch (>= 0.1)
@@ -92,9 +92,9 @@ GEM
92
92
  ast (2.4.3)
93
93
  base64 (0.3.0)
94
94
  bigdecimal (4.0.1)
95
- bp3-action_dispatch (0.1.5)
96
- actionpack (>= 7.1.2)
97
- activesupport (>= 7.1.2)
95
+ bp3-action_dispatch (0.1.6)
96
+ actionpack (~> 8.1)
97
+ activesupport (~> 8.1)
98
98
  i18n (>= 1.8.11)
99
99
  bp3-core (0.2.0)
100
100
  actionview (~> 8.1)
@@ -105,7 +105,8 @@ GEM
105
105
  activesupport (~> 8.1)
106
106
  request_store (>= 1.5.1)
107
107
  builder (3.3.0)
108
- byebug (12.0.0)
108
+ byebug (13.0.0)
109
+ reline (>= 0.6.0)
109
110
  concurrent-ruby (1.3.6)
110
111
  connection_pool (3.0.2)
111
112
  crass (1.0.6)
@@ -158,13 +159,13 @@ GEM
158
159
  noticed (3.0.0)
159
160
  rails (>= 6.1.0)
160
161
  parallel (1.27.0)
161
- parser (3.3.10.0)
162
+ parser (3.3.10.1)
162
163
  ast (~> 2.4.1)
163
164
  racc
164
165
  pp (0.6.3)
165
166
  prettyprint
166
167
  prettyprint (0.2.0)
167
- prism (1.7.0)
168
+ prism (1.9.0)
168
169
  psych (5.3.1)
169
170
  date
170
171
  stringio
@@ -209,7 +210,7 @@ GEM
209
210
  zeitwerk (~> 2.6)
210
211
  rainbow (3.1.1)
211
212
  rake (13.3.1)
212
- rdoc (7.0.3)
213
+ rdoc (7.1.0)
213
214
  erb
214
215
  psych (>= 4.0.0)
215
216
  tsort
@@ -238,8 +239,8 @@ GEM
238
239
  rspec-expectations (~> 3.13)
239
240
  rspec-mocks (~> 3.13)
240
241
  rspec-support (~> 3.13)
241
- rspec-support (3.13.6)
242
- rubocop (1.82.1)
242
+ rspec-support (3.13.7)
243
+ rubocop (1.84.0)
243
244
  json (~> 2.3)
244
245
  language_server-protocol (~> 3.17.0.2)
245
246
  lint_roller (~> 1.1.0)
@@ -247,7 +248,7 @@ GEM
247
248
  parser (>= 3.3.0.2)
248
249
  rainbow (>= 2.2.2, < 4.0)
249
250
  regexp_parser (>= 2.9.3, < 3.0)
250
- rubocop-ast (>= 1.48.0, < 2.0)
251
+ rubocop-ast (>= 1.49.0, < 2.0)
251
252
  ruby-progressbar (~> 1.7)
252
253
  unicode-display_width (>= 2.4.0, < 4.0)
253
254
  rubocop-ast (1.49.0)
@@ -24,7 +24,7 @@ module Bp3
24
24
  class Railtie < Rails::Railtie
25
25
  # rubocop:disable Metrics/BlockLength
26
26
  initializer 'bp3.noticed.railtie.register' do |app|
27
- app.config.after_initialize do
27
+ app.config.to_prepare do
28
28
  ::Noticed::Event # preload
29
29
  ::Noticed::Notification # preload
30
30
  ::Noticed::ApplicationJob # preload
@@ -41,8 +41,9 @@ module Bp3
41
41
  use_sqnr_for_ordering
42
42
  # has_paper_trail
43
43
 
44
+ # override recipient_attributes_for to ensure that bulk inserts
45
+ # (which skip callbacks) have site, tenant and workspace
44
46
  def recipient_attributes_for(recipient)
45
- # TODO: determine why this is needed, since global state and Tenantable should take care of this
46
47
  super.merge(global_scope)
47
48
  end
48
49
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Bp3
4
4
  module Noticed
5
- VERSION = '0.3.0'
5
+ VERSION = '0.3.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bp3-noticed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wim den Braven
@@ -283,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
283
283
  - !ruby/object:Gem::Version
284
284
  version: '0'
285
285
  requirements: []
286
- rubygems_version: 3.6.9
286
+ rubygems_version: 4.0.4
287
287
  specification_version: 4
288
288
  summary: bp3-noticed adapts noticed for BP3 (persuavis/black_phoebe_3).
289
289
  test_files: []