mailkick 0.0.6 → 0.1.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 +4 -0
- data/app/helpers/mailkick/url_helper.rb +1 -1
- data/lib/mailkick/engine.rb +2 -1
- data/lib/mailkick/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ceddc58f9f600bae3a7d185763f7ef36e1f369e
|
4
|
+
data.tar.gz: 83f27d1562f61034bcb2370db0ca2fa7fe6b7f5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbf8ce2d36210c93295a26b0ba813fe51ca0a4c978b38263fe33e2fac0bd78229e96974e06c16eb6ca769611f4694159f0e69737ae629bd8b8c4969c03d8fb84
|
7
|
+
data.tar.gz: e21bb468323465d717abf90114460de7450e4448ab5cb9bcfa8e8d5d7a806b279c9f9731d8d4fd5043a8fc9e14b3b8eee1287494cff3f90451c0b08873e53d3a
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@ module Mailkick
|
|
3
3
|
|
4
4
|
def mailkick_unsubscribe_url
|
5
5
|
Mailkick::Engine.routes.url_helpers.url_for(
|
6
|
-
|
6
|
+
(ActionMailer::Base.default_url_options || {}).merge(
|
7
7
|
controller: "mailkick/subscriptions",
|
8
8
|
action: "unsubscribe",
|
9
9
|
id: "{{MAILKICK_TOKEN}}"
|
data/lib/mailkick/engine.rb
CHANGED
@@ -4,7 +4,8 @@ module Mailkick
|
|
4
4
|
|
5
5
|
initializer "mailkick" do |app|
|
6
6
|
Mailkick.discover_services
|
7
|
-
|
7
|
+
secrets = app.respond_to?(:secrets) ? app.secrets : app.config
|
8
|
+
Mailkick.secret_token = secrets.respond_to?(:secret_key_base) ? secrets.secret_key_base : secrets.secret_token
|
8
9
|
ActiveSupport.on_load :action_mailer do
|
9
10
|
helper Mailkick::UrlHelper
|
10
11
|
end
|
data/lib/mailkick/version.rb
CHANGED
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: 0.0
|
4
|
+
version: 0.1.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: 2014-
|
11
|
+
date: 2014-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -95,3 +95,4 @@ signing_key:
|
|
95
95
|
specification_version: 4
|
96
96
|
summary: Email subscriptions made easy
|
97
97
|
test_files: []
|
98
|
+
has_rdoc:
|