nuntius 1.4.14 → 1.4.15

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: 650cc4b129b084d4fb17dd3b3b21c2a44f9cf14fb6c10d0d3902baa67bfb66fb
4
- data.tar.gz: 004110c56dc8b127dc38170a5249135ff1d71700f219aa460b8e62866cdc2107
3
+ metadata.gz: 9fe72b9374b7311ad55ccebb5f2c8c822490d4a35e21ab55f6336293dbfd97df
4
+ data.tar.gz: 954511ce5295466775f5f3f5a955189bd1e045c8a442cbce802bb78b5ebe8fe1
5
5
  SHA512:
6
- metadata.gz: 6f3601b35b149815c37e3056e003d0a6e6900bd20b7bdcd2b17f82b04170fd873ac6aebe85cf3da41f351f11080420e350f2dd554bfd6f026ea2c75c91d4e623
7
- data.tar.gz: 9c48531460a4e2d1c5f8a7747ef17712e128ee00f1f57e78d6187a615d3bcd97485ee268b1dd33b445b1e29ab0b5e0ff280c01a7cfab13f9726f6a72cc6d5416
6
+ metadata.gz: ad5df8d35bb3f0289a1ca8f59946b346670e98bc5ad9267e052b7005bb030c904287415d034c030ac6fd9a6f99a29168aee5d0d4468c9775d5924f52b950d09a
7
+ data.tar.gz: a8a11a0598079d133ab31b7343ee1444a198245d735e583295aecb6ad9d7a66f729029250feabc96f1a8e36035d71cd37d9cdda2b836a60bebb0ebd4dd8d8c77
@@ -24,7 +24,7 @@ module Nuntius
24
24
  end
25
25
 
26
26
  after_transition(on: :publish) do |campaign, transition|
27
- DeliverCampaignService.perform(campaign: campaign)
27
+ DeliverCampaignService.perform_later(campaign: campaign)
28
28
  end
29
29
  end
30
30
  end
@@ -2,8 +2,8 @@
2
2
  = sts.card :subscriber, title: @list.name do |card|
3
3
  - card.with_action
4
4
  - if @subscriber.unsubscribed_at.present?
5
- = link_to t('.resubscribe'), subscribe_subscriber_path(@subscriber), data: { turbo_method: :post }, class: 'button'
5
+ = link_to t('.resubscribe'), subscribe_subscriber_path(@subscriber), class: 'button primary'
6
6
  - else
7
- = link_to t('.unsubscribe'), unsubscribe_subscriber_path(@subscriber), data: { turbo_method: :post }, class: 'button primary'
7
+ = link_to t('.unsubscribe'), unsubscribe_subscriber_path(@subscriber), class: 'button primary'
8
8
 
9
9
  p== sanitize @list.description
data/config/routes.rb CHANGED
@@ -20,7 +20,9 @@ Nuntius::Engine.routes.draw do
20
20
  resources :campaigns
21
21
  resources :subscribers do
22
22
  member do
23
+ get :unsubscribe
23
24
  post :unsubscribe
25
+ get :subscribe
24
26
  post :subscribe
25
27
  end
26
28
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nuntius
4
- VERSION = "1.4.14"
4
+ VERSION = "1.4.15"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nuntius
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.14
4
+ version: 1.4.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Grunt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-10 00:00:00.000000000 Z
11
+ date: 2026-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apnotic