maily_herald 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/Gemfile.lock +1 -1
- data/config/routes.rb +5 -1
- data/lib/maily_herald.rb +4 -0
- data/lib/maily_herald/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGFlNTg1ODgyYmQyNjYxODc3YjY0MzllNDM3YzdmNDY1YTE3MzVmMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmFmMGU4MjBmYmI1MTU0YWMwNDE4NzM2NjJiNDFmZGMwMTRhNzkyMA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2U4NjNhMDk5NTFjNjQyODYyMzc5YjAwYmI4MGUwZTE0ZTQ5NGVkZjU5Njc4
|
10
|
+
MDg2MTEwOWY5ZTU0MjQwOTM2NmIyMmUxZjE2M2EzNmQ2YmMyOGQ4N2Q1NzQ0
|
11
|
+
MzFjYTlhYWVkYmZhZjM5MTBmYWMzYWNhMzM2N2U4Y2JjNzRjY2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTQxZGRhOWMyZmVjNmU5YmU1Y2Q1ZmUyOGQ3YmU3NGM1NWE0ZDg2MGYwNmFk
|
14
|
+
MThjMWVmZTdjNDQwM2E2NmRjZjllY2RkNzBhMzM1ZmJkZWNkOGE1ZDFjYzg3
|
15
|
+
OTdiMTMzNzA4NjA4OThmMmU0OWQ3YTY0NTcxNDgxYzEzMzQxYTA=
|
data/Gemfile.lock
CHANGED
data/config/routes.rb
CHANGED
@@ -5,7 +5,11 @@ end
|
|
5
5
|
MailyHerald::Engine.routes.url_helpers.class.module_eval do
|
6
6
|
def maily_unsubscribe_url(subscription, *args)
|
7
7
|
options = args.extract_options! || {}
|
8
|
-
options = options.reverse_merge(
|
8
|
+
options = options.reverse_merge(
|
9
|
+
{controller: "/maily_herald/tokens", action: "get", token: subscription.token}.
|
10
|
+
merge(Rails.application.routes.default_url_options).
|
11
|
+
merge(Rails.application.config.action_mailer.default_url_options)
|
12
|
+
)
|
9
13
|
|
10
14
|
MailyHerald::Engine.routes.url_helpers.url_for(options)
|
11
15
|
end
|
data/lib/maily_herald.rb
CHANGED
data/lib/maily_herald/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maily_herald
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Łukasz Jachymczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|