secret_mail 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/secret_mail/controller.rb +5 -3
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.0.1
@@ -8,9 +8,11 @@ end
8
8
  module SecretMail
9
9
  class Controller
10
10
  def self.process message, &block
11
- record = MailAction.find_valid(message.to, message.from)
12
- if record
13
- Controller.new record, message, &block
11
+ message.to.each do |to|
12
+ record = MailAction.find_valid(to, message.from[0])
13
+ if record
14
+ Controller.new record, message, &block
15
+ end
14
16
  end
15
17
  end
16
18
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secret_mail
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 0
10
- version: 0.0.0
9
+ - 1
10
+ version: 0.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Rune Myrland