ahoy_email 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 841c192e2ef16a9c3ef1487106d1505ed7359219
4
- data.tar.gz: 4e071e780d9031d977eb778d0d4ff14a3995c28f
3
+ metadata.gz: 415951e068121b2192e3dbf6eb9c275bd2995ca9
4
+ data.tar.gz: b1069426b1f037dd19b607befd21333bac1b511c
5
5
  SHA512:
6
- metadata.gz: da2b9438b9741dd90c66170050764ebef580536ed38f2f79e7c3798d64fd523741cefdb81489c425a845763918bd4f0e524349ca9ff620c6b1fd495e9db002ff
7
- data.tar.gz: 578b33e65090062c5738e4ca2b9d3ad1f954fe3b84387530af981cfeb81e4f55d1655d2dc0c0b855f9d38e898200ffef77c2f1f3e46b59d5a469a70ea816d105
6
+ metadata.gz: 367f11ab4b6d77cdc985dd9036a42a18a3d024c489550e5335b615ba64497c2f52406373c1bc891fd546bc160639f6baf52533bd07ad193b972d4d472d033b8a
7
+ data.tar.gz: d8016ae2167f7167be759f7c1a3850df9b5a905994186813c0ef037b247211f8421d9ce95c86595fd358640924ffd5f678318b25ea725bd1c8cea01c2739da7e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.5
2
+
3
+ - Rails 3 fix
4
+
1
5
  ## 0.1.4
2
6
 
3
7
  - Try not to rewrite unsubscribe links
data/README.md CHANGED
@@ -10,7 +10,7 @@ You get:
10
10
 
11
11
  Works with any email service.
12
12
 
13
- :bullettrain_side: To manage email subscriptions, check out [Mailkick](https://github.com/ankane/mailkick)
13
+ :bullettrain_side: To manage unsubscribes, check out [Mailkick](https://github.com/ankane/mailkick)
14
14
 
15
15
  :fire: To track visits and events, check out [Ahoy](https://github.com/ankane/ahoy) and [Ahoy Events](https://github.com/ankane/ahoy_events).
16
16
 
@@ -2,7 +2,7 @@ module AhoyEmail
2
2
  class Engine < ::Rails::Engine
3
3
 
4
4
  initializer "ahoy_email" do |app|
5
- AhoyEmail.secret_token = app.config.try(:secret_key_base) || app.config.try(:secret_token)
5
+ AhoyEmail.secret_token = app.config.respond_to?(:secret_key_base) ? app.config.secret_key_base : app.config.secret_token
6
6
  end
7
7
 
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module AhoyEmail
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahoy_email
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
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-05-05 00:00:00.000000000 Z
11
+ date: 2014-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails