recoil 0.0.3 → 0.0.4

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: 262f9b88fd106ecdd0e203930ece19538acdd016
4
- data.tar.gz: 75de75df1bf9b0a9cf5de10e28d8c16b5aa94f0b
3
+ metadata.gz: 102bc2a89b2275798a85b080016645bbead05488
4
+ data.tar.gz: 0eb2873715c1a6f29248abe6b1a74d90caf7c22f
5
5
  SHA512:
6
- metadata.gz: a92e7750437e43bd4a0412bd1313db7c72eea5114e81417f7be9f746f2fd71947b4b0493c7910f5430de10ca21d1938cde48af3edb0cf9db031d0d26e8c37a32
7
- data.tar.gz: b65a3d7a2919f42feb00fed840f6be88cb788c4494b9f71298e4a6fca1e38f282c0e06862f56c40d55d70a774b305b42eba3313129f8e2d95c8ce1af8b9de5de
6
+ metadata.gz: 1b53d1542054a0f2236b2bbfa9968c270d4686e8c693482f42e1f6041e4e7b055cc0e1900683102adedcfacee685d0cfb78d508a0b7ce6987bd7fbd3f5b02054
7
+ data.tar.gz: 09a281af16bbf4ae2775bd8119926fdf94df417c7b9fa70f8d7099bc390bb8e670bdda6f940327dd8ba733e6fd1a54383a9921e461e33c8bb29b8d8e71633b65
@@ -1,6 +1,6 @@
1
1
  class Interceptor
2
2
  def self.delivering_email(message)
3
- if Email.blacklisted?(email['to'])
3
+ if message.to.any? { |email| Email.blacklisted?(email) }
4
4
  message.perform_deliveries = false
5
5
  end
6
6
  end
@@ -1,3 +1,3 @@
1
1
  module Recoil
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recoil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brightin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-09 00:00:00.000000000 Z
11
+ date: 2015-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails