ahoy_email 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d979a2e35ab4b2d194f8e94b2ade4baf162ce2bf
4
- data.tar.gz: 1345860269b934c01a1eba0eb309f15421db2450
3
+ metadata.gz: 6ca8c4b534c78c9790f7f5d1a3c33138301b7123
4
+ data.tar.gz: 6131456a218ea53314bed0a6837b6c3b0701b69b
5
5
  SHA512:
6
- metadata.gz: 1a44602d1e85ac40b63b571f4b73b2b5630bb0cee93001f5fdef8c5e4bd5139d9882a102a0c774f799b33b7d2798d89fb684c8fb78dd5e90225b27c7c5994b8d
7
- data.tar.gz: 73b8a764a5e953f977f9af13e04be7cdea32eecc5c952806615d1ce95ebc7c2f6583a822f598670b448261c46c4b424edba7249a564804862d897ac7f95212dc
6
+ metadata.gz: 535f24ba504347ba5a86ecb78fbd837963d99cc50e88d396c6a9c703565964d2debd91e40a345cb4c3159d4a1c3c440d3dd9faf73869912f5ea2489dac941cfe
7
+ data.tar.gz: 17e044817fe7a3860d14a62f079c9aaca38803671eee9f6412506422653f37474aca70091efcc8f6fc3a4451c5a1ddb24241231970277ce98bc88461439e2211
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.1.2
2
+
3
+ - Added `AhoyEmail.track` (fix)
4
+
1
5
  ## 0.1.1
2
6
 
3
7
  - Use secure compare for signature verification
data/lib/ahoy_email.rb CHANGED
@@ -24,6 +24,10 @@ module AhoyEmail
24
24
  user: proc{|message, mailer| User.where(email: message.to.first).first rescue nil }
25
25
  }
26
26
 
27
+ def self.track(options)
28
+ self.options = self.options.merge(options)
29
+ end
30
+
27
31
  def self.message_model=(message_model)
28
32
  @message_model = message_model
29
33
  end
@@ -1,3 +1,3 @@
1
1
  module AhoyEmail
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
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.1
4
+ version: 0.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: 2014-04-30 00:00:00.000000000 Z
11
+ date: 2014-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails