mailkick 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -0
- data/lib/mailkick/serializer.rb +2 -2
- data/lib/mailkick/version.rb +1 -1
- data/lib/mailkick.rb +15 -15
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb59432bb88208ad9818187d12da9be032d021e8c8e9e47635e15b4fe2aa7e6e
|
4
|
+
data.tar.gz: 10c2e216d3d9622bd770e4fdc1dcf5f4f0b84913edbb715698e56f6f2ac2d8d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d8280c3fbaa4dace1475bd68e5b938d2d7f6593a2b38d0afb77073fd3e49cc807792187470f59df812da5bc9dbe43685058540b9029a33dd93c2f8012a4a816
|
7
|
+
data.tar.gz: 1c49cec20083acacf9ef9441c7d5595de6311d82c95c2debb02461ae7b167d23a40d6845e9008fcb1c731cb77bd2c9489db22c7507471b9ee4b6d33b301875c1
|
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.1.
|
4
|
+
version: 1.1.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-
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.6
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Email subscriptions for Rails
|