mailkick 1.2.0 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ddf2a19ba215a06cc6ff11572182350113a96cfafb9ca9f57eafa6dd324cbc41
4
- data.tar.gz: 96da19903fe864f2bb3435a8af437381a83ecba7f627b547006269f7f3f4a127
3
+ metadata.gz: 1c69391f60c043d1a2ad07d45adf6dd4dcfdfae381570e4e5c6ccc81df0d2ae6
4
+ data.tar.gz: 18f7747bed0cfd2a802b0ef8464a0d25696acc873c86f2784242c9ff9a8d2db7
5
5
  SHA512:
6
- metadata.gz: 144fbc26ade9ed2f13349ce5007326d2f0e8f91d900e78b9b08603b16ac728e26a9b151b467b4ab90099a135e95eb497c8da97bc0fadef49d651fa7a4df27941
7
- data.tar.gz: 985db1bc6dbadd736706e0d4b2856b3b6e86feac2700d05950404fe92c591d611a8613798866aaba503ead0aeafa567580542b44e34b4dea35f2ed72f992cc73
6
+ metadata.gz: 39166cce458a3949b88ed4ebc27d49da862039830495693e955a78a7364a8ac5410d6fe4a24f6ba62de6d222e23c13f3920debab9f071223bafae0b57741c1f2
7
+ data.tar.gz: 5038361e264b4d953d87d6427ef04832ac3dc724dc4f5bb9c9e8a9631e573f2baa2a5c114dd3dc343e7c655cedf3371d3f9187c3785204be895b2a020c6806df
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 1.2.2 (2023-10-30)
2
+
3
+ - Fixed error when secret key base set with `SECRET_KEY_BASE_DUMMY`
4
+
5
+ ## 1.2.1 (2023-07-24)
6
+
7
+ - Fixed issue with inheritance
8
+
1
9
  ## 1.2.0 (2023-07-02)
2
10
 
3
11
  - Dropped support for Ruby < 3 and Rails < 6.1
@@ -20,7 +20,7 @@ module Mailkick
20
20
  end
21
21
 
22
22
  token = creds.respond_to?(:secret_key_base) ? creds.secret_key_base : creds.secret_token
23
- Mailkick.message_verifier.rotate(token, serializer: Marshal)
23
+ Mailkick.message_verifier.rotate(token, serializer: Marshal) if token
24
24
  end
25
25
  end
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module Mailkick
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.2"
3
3
  end
data/lib/mailkick.rb CHANGED
@@ -54,7 +54,7 @@ module Mailkick
54
54
  raise ArgumentError, "Missing subscriber" unless subscriber
55
55
  raise ArgumentError, "Missing list" unless list.present?
56
56
 
57
- message_verifier.generate([nil, subscriber.id, subscriber.class.name, list])
57
+ message_verifier.generate([nil, subscriber.id, subscriber.class.base_class.name, list])
58
58
  end
59
59
  end
60
60
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailkick
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-02 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport