mail_safe 0.3.3 → 0.3.4
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 +4 -4
- data/.travis.yml +1 -1
- data/Gemfile.lock +2 -2
- data/lib/mail_safe/config.rb +2 -2
- data/lib/mail_safe/version.rb +1 -1
- data/mail_safe.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8bae35b494f838aa4e2c3b63364b7e373db978ef
|
|
4
|
+
data.tar.gz: 9f506ca0709fe733cc7e76613e0546f33aa6f0dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bfc86a76bf403e7ff73266bd8c6caeab7e5d77f6cb43801c9bf1831814a34592690ba827eef1d1e449450d1daf703039cf4146f10637f77ab36d7c6050514143
|
|
7
|
+
data.tar.gz: 8b22a38f3d8ea9d8b4125e89a0be8b24e2501ebbb9e64fe10bf7b551173c50d0c7f817ee46dc00ac25ea185a4d01a811ad886995f2d12a7d0b2b4a1efb9d579b
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
mail_safe (0.3.
|
|
4
|
+
mail_safe (0.3.4)
|
|
5
5
|
actionmailer (>= 3.0.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -46,7 +46,7 @@ GEM
|
|
|
46
46
|
mime-types (~> 1.16)
|
|
47
47
|
treetop (~> 1.4.8)
|
|
48
48
|
mime-types (1.25.1)
|
|
49
|
-
minitest (5.4.
|
|
49
|
+
minitest (5.4.2)
|
|
50
50
|
multi_json (1.10.1)
|
|
51
51
|
polyglot (0.3.5)
|
|
52
52
|
rack (1.5.2)
|
data/lib/mail_safe/config.rb
CHANGED
|
@@ -10,7 +10,7 @@ module MailSafe
|
|
|
10
10
|
when Proc then internal_address_definition.call(address)
|
|
11
11
|
else
|
|
12
12
|
return address.downcase == developer_email_address.downcase if developer_email_address
|
|
13
|
-
raise InvalidConfigSettingError.new("internal_address_definition
|
|
13
|
+
raise InvalidConfigSettingError.new("Ensure internal_address_definition is a Regexp or a Proc. It was: #{internal_address_definition.class.to_s}")
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
|
|
@@ -22,7 +22,7 @@ module MailSafe
|
|
|
22
22
|
when Proc then replacement_address.call(original_address)
|
|
23
23
|
else
|
|
24
24
|
return developer_email_address if developer_email_address
|
|
25
|
-
raise InvalidConfigSettingError.new("replacement_address
|
|
25
|
+
raise InvalidConfigSettingError.new("Ensure replacement_address is a String or a Proc. It was: #{replacement_address.class.to_s}. Or at least set your user email in git.")
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
data/lib/mail_safe/version.rb
CHANGED
data/mail_safe.gemspec
CHANGED
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.description = %q{Mail safe provides a safety net while you're developing an application that uses ActionMailer.
|
|
13
13
|
It keeps emails from escaping into the wild.
|
|
14
14
|
|
|
15
|
-
Once you
|
|
15
|
+
Once you've installed and configured this gem, you can rest assure that your app won't send
|
|
16
16
|
emails to external email addresses. Instead, emails that would normally be delivered to external
|
|
17
17
|
addresses will be sent to an address of your choosing, and the body of the email will be appended
|
|
18
18
|
with a note stating where the email was originally intended to go.}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mail_safe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Myron Marston
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2014-
|
|
12
|
+
date: 2014-12-01 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: actionmailer
|
|
@@ -105,7 +105,7 @@ description: |-
|
|
|
105
105
|
Mail safe provides a safety net while you're developing an application that uses ActionMailer.
|
|
106
106
|
It keeps emails from escaping into the wild.
|
|
107
107
|
|
|
108
|
-
Once you
|
|
108
|
+
Once you've installed and configured this gem, you can rest assure that your app won't send
|
|
109
109
|
emails to external email addresses. Instead, emails that would normally be delivered to external
|
|
110
110
|
addresses will be sent to an address of your choosing, and the body of the email will be appended
|
|
111
111
|
with a note stating where the email was originally intended to go.
|
|
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
157
157
|
version: '0'
|
|
158
158
|
requirements: []
|
|
159
159
|
rubyforge_project:
|
|
160
|
-
rubygems_version: 2.
|
|
160
|
+
rubygems_version: 2.4.4
|
|
161
161
|
signing_key:
|
|
162
162
|
specification_version: 4
|
|
163
163
|
summary: Keep your ActionMailer emails from escaping into the wild during development.
|