sanitize_email 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +55 -14
- data/Appraisals +55 -0
- data/CHANGELOG.md +1 -1
- data/README.md +21 -2
- data/Rakefile +5 -38
- data/gemfiles/rails_3_0.gemfile +12 -0
- data/gemfiles/rails_3_1.gemfile +13 -0
- data/gemfiles/rails_3_2.gemfile +11 -0
- data/gemfiles/rails_4_0.gemfile +11 -0
- data/gemfiles/rails_4_1.gemfile +11 -0
- data/gemfiles/rails_4_2.gemfile +10 -0
- data/gemfiles/rails_5_0.gemfile +10 -0
- data/init.rb +1 -1
- data/lib/sanitize_email/config.rb +30 -13
- data/lib/sanitize_email/mail_header_tools.rb +30 -11
- data/lib/sanitize_email/overridden_addresses.rb +5 -5
- data/lib/sanitize_email/rspec_matchers.rb +48 -29
- data/lib/sanitize_email/test_helpers.rb +16 -10
- data/lib/sanitize_email/version.rb +1 -1
- data/lib/sanitize_email.rb +24 -21
- data/sanitize_email.gemspec +2 -0
- data/spec/sanitize_email_spec.rb +521 -220
- data/spec/spec_helper.rb +9 -9
- metadata +39 -9
- data/gemfiles/Gemfile.rails-3.0.x +0 -7
- data/gemfiles/Gemfile.rails-3.1.x +0 -8
- data/gemfiles/Gemfile.rails-3.2.x +0 -9
- data/gemfiles/Gemfile.rails-4.0.x +0 -9
- data/gemfiles/Gemfile.rails-4.1.x +0 -9
- data/gemfiles/Gemfile.rails-4.2.x +0 -6
data/spec/spec_helper.rb
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
# Copyright (c) 2008-16 Peter H. Boling of RailsBling.com
|
2
2
|
# Released under the MIT license
|
3
|
-
require
|
4
|
-
require
|
5
|
-
require
|
6
|
-
require
|
7
|
-
require
|
8
|
-
require
|
3
|
+
require "launchy"
|
4
|
+
require "mail"
|
5
|
+
require "rails"
|
6
|
+
require "letter_opener"
|
7
|
+
require "action_mailer"
|
8
|
+
require "pry"
|
9
9
|
|
10
10
|
# For code coverage, must be required before all application / gem / library code.
|
11
|
-
require
|
11
|
+
require "coveralls"
|
12
12
|
Coveralls.wear!
|
13
13
|
|
14
|
-
require
|
15
|
-
require
|
14
|
+
require "sanitize_email"
|
15
|
+
require "sanitize_email/rspec_matchers"
|
16
16
|
|
17
17
|
# Requires supporting files with custom matchers and macros, etc,
|
18
18
|
# in ./support/ and its subdirectories.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sanitize_email
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -180,6 +180,34 @@ dependencies:
|
|
180
180
|
- - ">="
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
|
+
- !ruby/object:Gem::Dependency
|
184
|
+
name: appraisal
|
185
|
+
requirement: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - ">="
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
type: :development
|
191
|
+
prerelease: false
|
192
|
+
version_requirements: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
- !ruby/object:Gem::Dependency
|
198
|
+
name: wwtd
|
199
|
+
requirement: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - ">="
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '0'
|
204
|
+
type: :development
|
205
|
+
prerelease: false
|
206
|
+
version_requirements: !ruby/object:Gem::Requirement
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '0'
|
183
211
|
- !ruby/object:Gem::Dependency
|
184
212
|
name: coveralls
|
185
213
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,18 +240,20 @@ files:
|
|
212
240
|
- ".ruby-gemset"
|
213
241
|
- ".ruby-version"
|
214
242
|
- ".travis.yml"
|
243
|
+
- Appraisals
|
215
244
|
- CHANGELOG.md
|
216
245
|
- Gemfile
|
217
246
|
- LICENSE
|
218
247
|
- README.md
|
219
248
|
- REEK
|
220
249
|
- Rakefile
|
221
|
-
- gemfiles/
|
222
|
-
- gemfiles/
|
223
|
-
- gemfiles/
|
224
|
-
- gemfiles/
|
225
|
-
- gemfiles/
|
226
|
-
- gemfiles/
|
250
|
+
- gemfiles/rails_3_0.gemfile
|
251
|
+
- gemfiles/rails_3_1.gemfile
|
252
|
+
- gemfiles/rails_3_2.gemfile
|
253
|
+
- gemfiles/rails_4_0.gemfile
|
254
|
+
- gemfiles/rails_4_1.gemfile
|
255
|
+
- gemfiles/rails_4_2.gemfile
|
256
|
+
- gemfiles/rails_5_0.gemfile
|
227
257
|
- init.rb
|
228
258
|
- lib/sanitize_email.rb
|
229
259
|
- lib/sanitize_email/bleach.rb
|
@@ -260,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
290
|
version: '0'
|
261
291
|
requirements: []
|
262
292
|
rubyforge_project:
|
263
|
-
rubygems_version: 2.
|
293
|
+
rubygems_version: 2.5.1
|
264
294
|
signing_key:
|
265
295
|
specification_version: 4
|
266
296
|
summary: Email Condom for your Ruby Server
|