nuntius 1.4.10 → 1.4.12

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: 5a1dcbc1e10bce99c94c7537d5091e32bcaa588b51d92a884a001978a1dd24fa
4
- data.tar.gz: '09cb3a5e7da66b49c8e755ab3f4956d1933d3197749de506e7693649f480141a'
3
+ metadata.gz: e8ef496cc1318a53abc2466b813146bbe86f28cbfc2e2ec5e32956e1189007cb
4
+ data.tar.gz: 4bfdacc8786460d484f635a70dfb92add44d31928dc068f9e41664730352ec22
5
5
  SHA512:
6
- metadata.gz: 9ac1da3a93afccd8b1da9f79b652e8749081daa4394bf468c902f700445257ca5e722a43b30ea874372eeb15c5f40f45c393a4de07e47223f72984c6b6148a70
7
- data.tar.gz: 402bd584c757524017bcd83d5773737711fe5542b0359cf6546a3addcf0c99c789e811581a1f058371a1cdd9a072560f1765079933ae167a04b449e172084720
6
+ metadata.gz: abc30a1e3bad34fe6b7cbbc0a4b1cfef187ea0e9528039b248aebcee50dcf4c6604d85d855555227c8a35a2a0ba383a9924bbd0bb5f39d0211b78fd074627972
7
+ data.tar.gz: a539160365f1f8cfab219a8ad0b582241c8a2cfe1bb8b397d0b0050f805f9fd42c8d6ae5d43dc844c0da542af46c2c8858de7d4b63d7f8d35af4c22ab2ffb920
@@ -50,7 +50,7 @@ module Nuntius
50
50
  private
51
51
 
52
52
  def external?
53
- request.env["HTTP_REFERER"].to_s.include?(Nuntius.config.host(@message))
53
+ !request.env["HTTP_REFERER"].to_s.include?(Nuntius.config.host(@message))
54
54
  end
55
55
 
56
56
  def set_objects
@@ -61,6 +61,8 @@ module Nuntius
61
61
 
62
62
  def scope
63
63
  @scope = Nuntius::Subscriber.all
64
+ @scope = @scope.where(list_id: params[:list_id]) if params[:list_id].present?
65
+ @scope
64
66
  end
65
67
  end
66
68
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nuntius
4
- VERSION = "1.4.10"
4
+ VERSION = "1.4.12"
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.10
4
+ version: 1.4.12
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-02-25 00:00:00.000000000 Z
11
+ date: 2026-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apnotic