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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWY4OTU3MjE0ZjhiN2FkY2YwMjRjYjI5YjY1N2UxNzFlMGU0NTU0Yg==
4
+ OGFlNTg1ODgyYmQyNjYxODc3YjY0MzllNDM3YzdmNDY1YTE3MzVmMg==
5
5
  data.tar.gz: !binary |-
6
- Yzg4Mjk2ZjI3NDcxYTdkYmVlNTBiYzliNjk5MWM3MjI2ZDE3NGExNA==
6
+ MmFmMGU4MjBmYmI1MTU0YWMwNDE4NzM2NjJiNDFmZGMwMTRhNzkyMA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NzI5MzFhOWI5MGFlNzkyM2IwNWE0NDRhNzg1YWEyOWI2ZTM4ODc1NTI5OTMx
10
- Y2Y2MWY3YzM3M2RkYTE1MmQwMzYwMGIxZjVhMGYyNTQ4N2JjZjkyYmZkNDAz
11
- ZWZlNmRjOTVhZWQ0ZmU0OGM0MTNhZWFlNzU1Mjc1ZGMzMTM0ODM=
9
+ N2U4NjNhMDk5NTFjNjQyODYyMzc5YjAwYmI4MGUwZTE0ZTQ5NGVkZjU5Njc4
10
+ MDg2MTEwOWY5ZTU0MjQwOTM2NmIyMmUxZjE2M2EzNmQ2YmMyOGQ4N2Q1NzQ0
11
+ MzFjYTlhYWVkYmZhZjM5MTBmYWMzYWNhMzM2N2U4Y2JjNzRjY2U=
12
12
  data.tar.gz: !binary |-
13
- ZmY5MTM1NDFiNTI3ZGMwOTJmNmE4NjU4NDc5MjAyZTQ1NTE2ODgyYjRkZTM0
14
- Nzc0YjYzOTIwZWEwMmJiNzUwMzI4NGE5MWM1MmNjYzUyMmY4ODEyYzgxYWRl
15
- MzM0YjYyN2VmN2Y5ZDMxZmQ3MGM0ZjMzNjBlYTkzNzU5ODRlMzY=
13
+ YTQxZGRhOWMyZmVjNmU5YmU1Y2Q1ZmUyOGQ3YmU3NGM1NWE0ZDg2MGYwNmFk
14
+ MThjMWVmZTdjNDQwM2E2NmRjZjllY2RkNzBhMzM1ZmJkZWNkOGE1ZDFjYzg3
15
+ OTdiMTMzNzA4NjA4OThmMmU0OWQ3YTY0NTcxNDgxYzEzMzQxYTA=
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maily_herald (0.9.3)
4
+ maily_herald (0.9.4)
5
5
  liquid (> 2.6.1)
6
6
  rails (> 3.2)
7
7
  sidekiq
@@ -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({controller: "/maily_herald/tokens", action: "get", token: subscription.token}.merge(Rails.application.routes.default_url_options))
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
@@ -2,6 +2,10 @@ require 'maily_herald/version'
2
2
 
3
3
  require 'liquid'
4
4
  require 'sidekiq'
5
+ begin
6
+ require 'sidekiq/api'
7
+ rescue LoadError
8
+ end
5
9
  require 'redis'
6
10
 
7
11
  if defined?(::Rails::Engine)
@@ -1,3 +1,3 @@
1
1
  module MailyHerald
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
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.3
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-01-26 00:00:00.000000000 Z
11
+ date: 2016-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails