mailkick 1.1.2 → 1.2.1

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: cb59432bb88208ad9818187d12da9be032d021e8c8e9e47635e15b4fe2aa7e6e
4
- data.tar.gz: 10c2e216d3d9622bd770e4fdc1dcf5f4f0b84913edbb715698e56f6f2ac2d8d5
3
+ metadata.gz: 1c9afb6da6d15f00f76bb8a7845e9d2df1bb32a913a0fa322542a5ddfe1b043e
4
+ data.tar.gz: 99c7f94c67e663efa0cdf66cb3d62dff7dc89b214524696bd1e0ee50d43a3ffb
5
5
  SHA512:
6
- metadata.gz: 5d8280c3fbaa4dace1475bd68e5b938d2d7f6593a2b38d0afb77073fd3e49cc807792187470f59df812da5bc9dbe43685058540b9029a33dd93c2f8012a4a816
7
- data.tar.gz: 1c49cec20083acacf9ef9441c7d5595de6311d82c95c2debb02461ae7b167d23a40d6845e9008fcb1c731cb77bd2c9489db22c7507471b9ee4b6d33b301875c1
6
+ metadata.gz: dc3f3beb97c4d4a93bc9776318a1052b8954878fc4a971ca7bca813b936baf9198140e4f4b562e505405ce819a77547873bd0ae2375bb663a53d155208868bef
7
+ data.tar.gz: a0ce5ec53014a34326743d3331c5d43748a922fd1d0bc1bc84c65b26371e524d64f2e6f0e88a47d58dc2a946722a21cab8fc6ae96c8170e4cbbb10639aa875ec
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 1.2.1 (2023-07-24)
2
+
3
+ - Fixed issue with inheritance
4
+
5
+ ## 1.2.0 (2023-07-02)
6
+
7
+ - Dropped support for Ruby < 3 and Rails < 6.1
8
+
1
9
  ## 1.1.2 (2023-02-07)
2
10
 
3
11
  - Improved serialization
@@ -1,3 +1,4 @@
1
+ require "rails/generators"
1
2
  require "rails/generators/active_record"
2
3
 
3
4
  module Mailkick
@@ -1,3 +1,3 @@
1
1
  module Mailkick
2
- VERSION = "1.1.2"
2
+ VERSION = "1.2.1"
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.1.2
4
+ version: 1.2.1
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-02-08 00:00:00.000000000 Z
11
+ date: 2023-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.2'
19
+ version: '6.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '5.2'
26
+ version: '6.1'
27
27
  description:
28
28
  email: andrew@ankane.org
29
29
  executables: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.6'
71
+ version: '3'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.6
78
+ rubygems_version: 3.4.10
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Email subscriptions for Rails