mailkick 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -0
- data/lib/generators/mailkick/install_generator.rb +1 -0
- data/lib/mailkick/serializer.rb +2 -2
- data/lib/mailkick/version.rb +1 -1
- data/lib/mailkick.rb +15 -15
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddf2a19ba215a06cc6ff11572182350113a96cfafb9ca9f57eafa6dd324cbc41
|
4
|
+
data.tar.gz: 96da19903fe864f2bb3435a8af437381a83ecba7f627b547006269f7f3f4a127
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 144fbc26ade9ed2f13349ce5007326d2f0e8f91d900e78b9b08603b16ac728e26a9b151b467b4ab90099a135e95eb497c8da97bc0fadef49d651fa7a4df27941
|
7
|
+
data.tar.gz: 985db1bc6dbadd736706e0d4b2856b3b6e86feac2700d05950404fe92c591d611a8613798866aaba503ead0aeafa567580542b44e34b4dea35f2ed72f992cc73
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/lib/mailkick/serializer.rb
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
module Mailkick
|
4
4
|
class Serializer
|
5
5
|
def self.dump(value)
|
6
|
-
JSON.
|
6
|
+
ActiveSupport::JSON.encode(value)
|
7
7
|
end
|
8
8
|
|
9
9
|
def self.load(value)
|
10
|
-
JSON.
|
10
|
+
ActiveSupport::JSON.decode(value)
|
11
11
|
rescue JSON::ParserError
|
12
12
|
Marshal.load(value)
|
13
13
|
end
|
data/lib/mailkick/version.rb
CHANGED
data/lib/mailkick.rb
CHANGED
@@ -6,22 +6,22 @@ require "json"
|
|
6
6
|
require "set"
|
7
7
|
|
8
8
|
# modules
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
9
|
+
require_relative "mailkick/legacy"
|
10
|
+
require_relative "mailkick/model"
|
11
|
+
require_relative "mailkick/serializer"
|
12
|
+
require_relative "mailkick/service"
|
13
|
+
require_relative "mailkick/service/aws_ses"
|
14
|
+
require_relative "mailkick/service/mailchimp"
|
15
|
+
require_relative "mailkick/service/mailgun"
|
16
|
+
require_relative "mailkick/service/mandrill"
|
17
|
+
require_relative "mailkick/service/sendgrid"
|
18
|
+
require_relative "mailkick/service/sendgrid_v2"
|
19
|
+
require_relative "mailkick/service/postmark"
|
20
|
+
require_relative "mailkick/url_helper"
|
21
|
+
require_relative "mailkick/version"
|
22
22
|
|
23
23
|
# integrations
|
24
|
-
|
24
|
+
require_relative "mailkick/engine" if defined?(Rails)
|
25
25
|
|
26
26
|
module Mailkick
|
27
27
|
mattr_accessor :services, :mount, :process_opt_outs_method
|
@@ -58,7 +58,7 @@ module Mailkick
|
|
58
58
|
end
|
59
59
|
end
|
60
60
|
|
61
|
-
ActiveSupport.on_load
|
61
|
+
ActiveSupport.on_load(:action_mailer) do
|
62
62
|
helper Mailkick::UrlHelper
|
63
63
|
end
|
64
64
|
|
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.
|
4
|
+
version: 1.2.0
|
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-
|
11
|
+
date: 2023-07-02 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: '
|
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: '
|
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: '
|
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.
|
78
|
+
rubygems_version: 3.4.10
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Email subscriptions for Rails
|