sanitize_email 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/.coveralls.yml +1 -0
- data/.gitignore +3 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +13 -2
- data/CHANGELOG.md +6 -0
- data/LICENSE +1 -1
- data/README.md +31 -20
- data/Rakefile +10 -0
- data/gemfiles/Gemfile.rails-3.0.x +5 -0
- data/gemfiles/Gemfile.rails-3.1.x +6 -0
- data/gemfiles/Gemfile.rails-3.2.x +6 -0
- data/gemfiles/Gemfile.rails-4.0.x +6 -0
- data/lib/sanitize_email/bleach.rb +3 -0
- data/lib/sanitize_email/version.rb +1 -1
- data/lib/sanitize_email.rb +6 -7
- data/sanitize_email.gemspec +3 -0
- metadata +78 -32
- checksums.yaml +0 -7
- data/Gemfile.lock +0 -134
data/.coveralls.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
service_name: travis-ci
|
data/.gitignore
CHANGED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
foss
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-1.9.3-p448
|
data/.travis.yml
CHANGED
@@ -1,8 +1,19 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 1.9.3
|
4
3
|
- 1.9.2
|
4
|
+
- 1.9.3
|
5
5
|
- 2.0.0
|
6
6
|
- jruby-19mode
|
7
|
-
- rbx-19mode
|
7
|
+
# - rbx-19mode
|
8
8
|
# - ruby-head
|
9
|
+
gemfile:
|
10
|
+
- gemfiles/Gemfile.rails-3.0.x
|
11
|
+
- gemfiles/Gemfile.rails-3.1.x
|
12
|
+
- gemfiles/Gemfile.rails-3.2.x
|
13
|
+
- gemfiles/Gemfile.rails-4.0.x
|
14
|
+
matrix:
|
15
|
+
exclude:
|
16
|
+
- rvm: 1.8.7
|
17
|
+
gemfile: gemfiles/Gemfile.rails-4.0.x
|
18
|
+
- rvm: 1.9.2
|
19
|
+
gemfile: gemfiles/Gemfile.rails-4.0.x
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
Version 1.0.10 - NOV.24.2013
|
2
|
+
* Expand test suite to test against all supported versions of ActionMailer and Railties gems by Peter Boling
|
3
|
+
* Add Coveralls by Peter Boling
|
4
|
+
* Fix Travis Build by Peter Boling
|
5
|
+
* Stop using method missing when alternatives exist inside gem by Peter Boling
|
6
|
+
|
1
7
|
Version 1.0.9 - AUG.31.2013
|
2
8
|
* \[Bug Fix\] More Fixes for #12 - Strange repeating headers, and repeated subject injection by Peter Boling
|
3
9
|
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# sanitize_email
|
1
|
+
# sanitize_email [![Gem Version](https://badge.fury.io/rb/sanitize_email.png)](http://badge.fury.io/rb/sanitize_email) [![Build Status](https://secure.travis-ci.org/pboling/sanitize_email.png?branch=master)](https://travis-ci.org/pboling/sanitize_email) [![Code Climate](https://codeclimate.com/github/pboling/sanitize_email.png)](https://codeclimate.com/github/pboling/sanitize_email) [![Coverage Status](https://coveralls.io/repos/pboling/sanitize_email/badge.png)](https://coveralls.io/r/pboling/sanitize_email) [![Dependency Status](https://gemnasium.com/pboling/sanitize_email.png)](https://gemnasium.com/pboling/sanitize_email) [![Endorse Me](http://api.coderwall.com/pboling/endorsecount.png)](http://api.coderwall.com/pboling/endorsecount.png)
|
2
2
|
|
3
|
-
This gem allows you to override your mail delivery settings, globally or in a local context. It's particularly helpful when you want to
|
3
|
+
This gem allows you to override your mail delivery settings, globally or in a local context. It's particularly helpful when you want to prevent the delivery of email (e.g. in development/test environments) or alter the to/cc/bcc (e.g. in staging or demo environments) of all email generated from your application.
|
4
4
|
|
5
5
|
* compatible with Rails >= 3.X (since v1.0.5)
|
6
6
|
* compatible with any Ruby app with a Mail handler that uses the `register_interceptor` API (a la ActionMailer and Mail gems)
|
@@ -11,15 +11,17 @@ This gem allows you to override your mail delivery settings, globally or in a lo
|
|
11
11
|
|
12
12
|
## Summary
|
13
13
|
|
14
|
-
| Project
|
15
|
-
|
16
|
-
| gem name
|
17
|
-
| license
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
| Project | Sanitize Email |
|
15
|
+
|------------------------ | ----------------- |
|
16
|
+
| gem name | sanitize_email |
|
17
|
+
| license | MIT |
|
18
|
+
| version | [![Gem Version](https://badge.fury.io/rb/sanitize_email.png)](http://badge.fury.io/rb/sanitize_email) |
|
19
|
+
| dependencies | [![Dependency Status](https://gemnasium.com/pboling/sanitize_email.png)](https://gemnasium.com/pboling/sanitize_email) |
|
20
|
+
| code quality | [![Code Climate](https://codeclimate.com/github/pboling/sanitize_email.png)](https://codeclimate.com/github/pboling/sanitize_email) |
|
21
|
+
| continuous integration | [![Build Status](https://secure.travis-ci.org/pboling/sanitize_email.png?branch=master)](https://travis-ci.org/pboling/sanitize_email) |
|
22
|
+
| homepage | [https://github.com/pboling/sanitize_email][homepage] |
|
23
|
+
| documentation | [http://rdoc.info/github/pboling/sanitize_email/frames][documentation] |
|
24
|
+
| author | [Peter Boling](https://coderbits.com/pboling) [![Endorse Me](http://api.coderwall.com/pboling/endorsecount.png)](http://api.coderwall.com/pboling/endorsecount.png) |
|
23
25
|
|
24
26
|
|
25
27
|
## Working Locally with Production Data
|
@@ -43,13 +45,18 @@ If you install this gem on a production server (which I don't always do), you ca
|
|
43
45
|
|
44
46
|
## Install Like a Boss
|
45
47
|
|
46
|
-
|
47
|
-
|
48
|
-
|
48
|
+
In Gemfile:
|
49
|
+
|
50
|
+
gem 'flag_shih_tzu'
|
51
|
+
|
52
|
+
Then:
|
53
|
+
|
54
|
+
$ bundle install
|
55
|
+
|
49
56
|
|
50
57
|
## Setup With An Axe
|
51
58
|
|
52
|
-
|
59
|
+
Create an initializer, if you are using rails, or otherwise configure:
|
53
60
|
|
54
61
|
```
|
55
62
|
SanitizeEmail::Config.configure do |config|
|
@@ -148,9 +155,6 @@ For example:
|
|
148
155
|
|
149
156
|
spec.add_dependency 'sanitize_email', '~> 1.0.8'
|
150
157
|
|
151
|
-
[semver]: http://semver.org/
|
152
|
-
[pvc]: http://docs.rubygems.org/read/chapter/16#page74
|
153
|
-
|
154
158
|
## References
|
155
159
|
|
156
160
|
* [Source Code](http://github.com/pboling/sanitize_email)
|
@@ -160,6 +164,13 @@ For example:
|
|
160
164
|
|
161
165
|
## Legal
|
162
166
|
|
163
|
-
* MIT License
|
164
|
-
* Copyright (c) 2008-2013 [Peter H. Boling]
|
167
|
+
* MIT License - See LICENSE file in this project
|
168
|
+
* Copyright (c) 2008-2013 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
165
169
|
* Copyright (c) 2009 [John Trupiano](http://smartlogicsolutions.com/wiki/John_Trupiano) of [SmartLogic Solutions, LLC](http://www.smartlogicsolutions.com)
|
170
|
+
|
171
|
+
[semver]: http://semver.org/
|
172
|
+
[pvc]: http://docs.rubygems.org/read/chapter/16#page74
|
173
|
+
[railsbling]: http://www.railsbling.com
|
174
|
+
[peterboling]: http://www.peterboling.com
|
175
|
+
[documentation]: http://rdoc.info/github/pboling/sanitize_email/frames
|
176
|
+
[homepage]: https://github.com/pboling/sanitize_email
|
data/Rakefile
CHANGED
@@ -24,6 +24,16 @@ end
|
|
24
24
|
|
25
25
|
task :default => :spec
|
26
26
|
|
27
|
+
namespace :test do
|
28
|
+
desc 'Test against all supported Rails versions'
|
29
|
+
task :all do
|
30
|
+
%w(3.0.x 3.1.x 3.2.x 4.0.x).each do |version|
|
31
|
+
sh "BUNDLE_GEMFILE='gemfiles/Gemfile.rails-#{version}' bundle --quiet"
|
32
|
+
sh "BUNDLE_GEMFILE='gemfiles/Gemfile.rails-#{version}' bundle exec rspec spec"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
27
37
|
require 'rdoc/task'
|
28
38
|
require File.expand_path('../lib/sanitize_email/version', __FILE__)
|
29
39
|
Rake::RDocTask.new do |rdoc|
|
@@ -40,6 +40,9 @@ module SanitizeEmail
|
|
40
40
|
# If installed but not configured, sanitize email DOES NOTHING. Until configured the defaults leave it turned off.
|
41
41
|
def sanitize_engaged?(message)
|
42
42
|
|
43
|
+
# Don't sanitize the message if it will not be delivered
|
44
|
+
return false unless message.perform_deliveries
|
45
|
+
|
43
46
|
# Has it been forced via the force_sanitize mattr?
|
44
47
|
forced = SanitizeEmail.force_sanitize
|
45
48
|
return forced unless forced.nil?
|
data/lib/sanitize_email.rb
CHANGED
@@ -12,15 +12,14 @@ module SanitizeEmail
|
|
12
12
|
class MissingBlockParameter < StandardError; end
|
13
13
|
|
14
14
|
# Allow non-rails implementations to use this gem
|
15
|
-
|
16
|
-
|
17
|
-
if ::Rails::VERSION::MINOR >= 1
|
15
|
+
if defined?(::Rails)
|
16
|
+
if defined?(::Rails::Engine)
|
18
17
|
require 'sanitize_email/engine'
|
19
|
-
elsif ::Rails::VERSION::MINOR == 0
|
18
|
+
elsif ::Rails::VERSION::MAJOR == 3 && ::Rails::VERSION::MINOR == 0
|
20
19
|
require 'sanitize_email/railtie'
|
20
|
+
else
|
21
|
+
raise "Please use the 0.X.X versions of sanitize_email for Rails 2.X and below."
|
21
22
|
end
|
22
|
-
elsif defined?(Rails)
|
23
|
-
raise "Please use the 0.X.X versions of sanitize_email for Rails 2.X and below."
|
24
23
|
elsif defined?(Mailer) && Mailer.respond_to?(:register_interceptor)
|
25
24
|
Mailer.register_interceptor(SanitizeEmail::Bleach.new)
|
26
25
|
end
|
@@ -47,7 +46,7 @@ module SanitizeEmail
|
|
47
46
|
end
|
48
47
|
|
49
48
|
def self.activate?(message)
|
50
|
-
proc = SanitizeEmail
|
49
|
+
proc = SanitizeEmail[:activation_proc]
|
51
50
|
proc.call(message) if proc.respond_to?(:call)
|
52
51
|
end
|
53
52
|
|
data/sanitize_email.gemspec
CHANGED
@@ -24,6 +24,8 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.platform = Gem::Platform::RUBY
|
25
25
|
|
26
26
|
# Runtime Dependencies
|
27
|
+
# A project wanting to use this gem's engine/railtie will be expected to have already loaded the rails/railtie gem.
|
28
|
+
#s.add_dependency "railties", ">= 3.2"
|
27
29
|
# to replace the cattr_accessor method we lost when removing rails from run time dependencies
|
28
30
|
#s.add_runtime_dependency(%q<facets>, ["> 0"])
|
29
31
|
|
@@ -39,5 +41,6 @@ Gem::Specification.new do |s|
|
|
39
41
|
s.add_development_dependency(%q<roodi>, [">= 2.1.0"])
|
40
42
|
s.add_development_dependency(%q<rake>, [">= 0"])
|
41
43
|
s.add_development_dependency(%q<email_spec>, [">= 0"])
|
44
|
+
s.add_development_dependency "coveralls"
|
42
45
|
end
|
43
46
|
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sanitize_email
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Peter Boling
|
@@ -10,163 +11,201 @@ authors:
|
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
13
|
cert_chain: []
|
13
|
-
date: 2013-
|
14
|
+
date: 2013-11-25 00:00:00.000000000 Z
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
16
17
|
name: rails
|
17
18
|
requirement: !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
18
20
|
requirements:
|
19
|
-
- - '>'
|
21
|
+
- - ! '>'
|
20
22
|
- !ruby/object:Gem::Version
|
21
23
|
version: '3'
|
22
24
|
type: :development
|
23
25
|
prerelease: false
|
24
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
25
28
|
requirements:
|
26
|
-
- - '>'
|
29
|
+
- - ! '>'
|
27
30
|
- !ruby/object:Gem::Version
|
28
31
|
version: '3'
|
29
32
|
- !ruby/object:Gem::Dependency
|
30
33
|
name: actionmailer
|
31
34
|
requirement: !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
32
36
|
requirements:
|
33
|
-
- - '>'
|
37
|
+
- - ! '>'
|
34
38
|
- !ruby/object:Gem::Version
|
35
39
|
version: '3'
|
36
40
|
type: :development
|
37
41
|
prerelease: false
|
38
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
39
44
|
requirements:
|
40
|
-
- - '>'
|
45
|
+
- - ! '>'
|
41
46
|
- !ruby/object:Gem::Version
|
42
47
|
version: '3'
|
43
48
|
- !ruby/object:Gem::Dependency
|
44
49
|
name: letter_opener
|
45
50
|
requirement: !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
46
52
|
requirements:
|
47
|
-
- - '>='
|
53
|
+
- - ! '>='
|
48
54
|
- !ruby/object:Gem::Version
|
49
55
|
version: '0'
|
50
56
|
type: :development
|
51
57
|
prerelease: false
|
52
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
+
none: false
|
53
60
|
requirements:
|
54
|
-
- - '>='
|
61
|
+
- - ! '>='
|
55
62
|
- !ruby/object:Gem::Version
|
56
63
|
version: '0'
|
57
64
|
- !ruby/object:Gem::Dependency
|
58
65
|
name: launchy
|
59
66
|
requirement: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
60
68
|
requirements:
|
61
|
-
- - '>='
|
69
|
+
- - ! '>='
|
62
70
|
- !ruby/object:Gem::Version
|
63
71
|
version: '0'
|
64
72
|
type: :development
|
65
73
|
prerelease: false
|
66
74
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
67
76
|
requirements:
|
68
|
-
- - '>='
|
77
|
+
- - ! '>='
|
69
78
|
- !ruby/object:Gem::Version
|
70
79
|
version: '0'
|
71
80
|
- !ruby/object:Gem::Dependency
|
72
81
|
name: rspec
|
73
82
|
requirement: !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
74
84
|
requirements:
|
75
|
-
- - '>='
|
85
|
+
- - ! '>='
|
76
86
|
- !ruby/object:Gem::Version
|
77
87
|
version: '2.11'
|
78
88
|
type: :development
|
79
89
|
prerelease: false
|
80
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
81
92
|
requirements:
|
82
|
-
- - '>='
|
93
|
+
- - ! '>='
|
83
94
|
- !ruby/object:Gem::Version
|
84
95
|
version: '2.11'
|
85
96
|
- !ruby/object:Gem::Dependency
|
86
97
|
name: mail
|
87
98
|
requirement: !ruby/object:Gem::Requirement
|
99
|
+
none: false
|
88
100
|
requirements:
|
89
|
-
- - '>='
|
101
|
+
- - ! '>='
|
90
102
|
- !ruby/object:Gem::Version
|
91
103
|
version: '0'
|
92
104
|
type: :development
|
93
105
|
prerelease: false
|
94
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
none: false
|
95
108
|
requirements:
|
96
|
-
- - '>='
|
109
|
+
- - ! '>='
|
97
110
|
- !ruby/object:Gem::Version
|
98
111
|
version: '0'
|
99
112
|
- !ruby/object:Gem::Dependency
|
100
113
|
name: rdoc
|
101
114
|
requirement: !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
102
116
|
requirements:
|
103
|
-
- - '>='
|
117
|
+
- - ! '>='
|
104
118
|
- !ruby/object:Gem::Version
|
105
119
|
version: '3.12'
|
106
120
|
type: :development
|
107
121
|
prerelease: false
|
108
122
|
version_requirements: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
109
124
|
requirements:
|
110
|
-
- - '>='
|
125
|
+
- - ! '>='
|
111
126
|
- !ruby/object:Gem::Version
|
112
127
|
version: '3.12'
|
113
128
|
- !ruby/object:Gem::Dependency
|
114
129
|
name: reek
|
115
130
|
requirement: !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
116
132
|
requirements:
|
117
|
-
- - '>='
|
133
|
+
- - ! '>='
|
118
134
|
- !ruby/object:Gem::Version
|
119
135
|
version: 1.2.8
|
120
136
|
type: :development
|
121
137
|
prerelease: false
|
122
138
|
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
none: false
|
123
140
|
requirements:
|
124
|
-
- - '>='
|
141
|
+
- - ! '>='
|
125
142
|
- !ruby/object:Gem::Version
|
126
143
|
version: 1.2.8
|
127
144
|
- !ruby/object:Gem::Dependency
|
128
145
|
name: roodi
|
129
146
|
requirement: !ruby/object:Gem::Requirement
|
147
|
+
none: false
|
130
148
|
requirements:
|
131
|
-
- - '>='
|
149
|
+
- - ! '>='
|
132
150
|
- !ruby/object:Gem::Version
|
133
151
|
version: 2.1.0
|
134
152
|
type: :development
|
135
153
|
prerelease: false
|
136
154
|
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
none: false
|
137
156
|
requirements:
|
138
|
-
- - '>='
|
157
|
+
- - ! '>='
|
139
158
|
- !ruby/object:Gem::Version
|
140
159
|
version: 2.1.0
|
141
160
|
- !ruby/object:Gem::Dependency
|
142
161
|
name: rake
|
143
162
|
requirement: !ruby/object:Gem::Requirement
|
163
|
+
none: false
|
144
164
|
requirements:
|
145
|
-
- - '>='
|
165
|
+
- - ! '>='
|
146
166
|
- !ruby/object:Gem::Version
|
147
167
|
version: '0'
|
148
168
|
type: :development
|
149
169
|
prerelease: false
|
150
170
|
version_requirements: !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
151
172
|
requirements:
|
152
|
-
- - '>='
|
173
|
+
- - ! '>='
|
153
174
|
- !ruby/object:Gem::Version
|
154
175
|
version: '0'
|
155
176
|
- !ruby/object:Gem::Dependency
|
156
177
|
name: email_spec
|
157
178
|
requirement: !ruby/object:Gem::Requirement
|
179
|
+
none: false
|
158
180
|
requirements:
|
159
|
-
- - '>='
|
181
|
+
- - ! '>='
|
160
182
|
- !ruby/object:Gem::Version
|
161
183
|
version: '0'
|
162
184
|
type: :development
|
163
185
|
prerelease: false
|
164
186
|
version_requirements: !ruby/object:Gem::Requirement
|
187
|
+
none: false
|
165
188
|
requirements:
|
166
|
-
- - '>='
|
189
|
+
- - ! '>='
|
167
190
|
- !ruby/object:Gem::Version
|
168
191
|
version: '0'
|
169
|
-
|
192
|
+
- !ruby/object:Gem::Dependency
|
193
|
+
name: coveralls
|
194
|
+
requirement: !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
196
|
+
requirements:
|
197
|
+
- - ! '>='
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
none: false
|
204
|
+
requirements:
|
205
|
+
- - ! '>='
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0'
|
208
|
+
description: ! 'In Rails, Sinatra, or simply the mail gem: Aids in development, testing,
|
170
209
|
qa, and production troubleshooting of email issues without worrying that emails
|
171
210
|
will get sent to actual live addresses.'
|
172
211
|
email: peter.boling@gmail.com
|
@@ -177,16 +216,22 @@ extra_rdoc_files:
|
|
177
216
|
- LICENSE
|
178
217
|
- README.md
|
179
218
|
files:
|
219
|
+
- .coveralls.yml
|
180
220
|
- .gitignore
|
181
221
|
- .rspec
|
222
|
+
- .ruby-gemset
|
223
|
+
- .ruby-version
|
182
224
|
- .travis.yml
|
183
225
|
- CHANGELOG.md
|
184
226
|
- Gemfile
|
185
|
-
- Gemfile.lock
|
186
227
|
- LICENSE
|
187
228
|
- README.md
|
188
229
|
- REEK
|
189
230
|
- Rakefile
|
231
|
+
- gemfiles/Gemfile.rails-3.0.x
|
232
|
+
- gemfiles/Gemfile.rails-3.1.x
|
233
|
+
- gemfiles/Gemfile.rails-3.2.x
|
234
|
+
- gemfiles/Gemfile.rails-4.0.x
|
190
235
|
- init.rb
|
191
236
|
- lib/sanitize_email.rb
|
192
237
|
- lib/sanitize_email/bleach.rb
|
@@ -205,27 +250,28 @@ files:
|
|
205
250
|
homepage: http://github.com/pboling/sanitize_email
|
206
251
|
licenses:
|
207
252
|
- MIT
|
208
|
-
metadata: {}
|
209
253
|
post_install_message:
|
210
254
|
rdoc_options: []
|
211
255
|
require_paths:
|
212
256
|
- lib
|
213
257
|
required_ruby_version: !ruby/object:Gem::Requirement
|
258
|
+
none: false
|
214
259
|
requirements:
|
215
|
-
- - '>='
|
260
|
+
- - ! '>='
|
216
261
|
- !ruby/object:Gem::Version
|
217
262
|
version: '0'
|
218
263
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
264
|
+
none: false
|
219
265
|
requirements:
|
220
|
-
- - '>='
|
266
|
+
- - ! '>='
|
221
267
|
- !ruby/object:Gem::Version
|
222
268
|
version: '0'
|
223
269
|
requirements: []
|
224
270
|
rubyforge_project:
|
225
|
-
rubygems_version:
|
271
|
+
rubygems_version: 1.8.25
|
226
272
|
signing_key:
|
227
|
-
specification_version:
|
228
|
-
summary: 'Rails/Sinatra/Mail gem: Test email abilities without ever sending a message
|
273
|
+
specification_version: 3
|
274
|
+
summary: ! 'Rails/Sinatra/Mail gem: Test email abilities without ever sending a message
|
229
275
|
to actual live addresses'
|
230
276
|
test_files:
|
231
277
|
- spec/sanitize_email_spec.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 440f53fcb711fc2460929f24e8bf21bd8eb0c8b2
|
4
|
-
data.tar.gz: d82a8ddecb3b756d9a6f2279f8e281d95e2716fd
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: c7a542593a80ba4492eb77dad01e74c5d802ef9ad44a2a28c2e51ac65b95419757d8b834c15f0a69fb1e5398c1d1347f645aadfec15c006082677be13f9f9511
|
7
|
-
data.tar.gz: abf7bb45bc8927ad2c59d005116027738f5ed17e946fb947fafc595e9772fcc83b4f231b756c0e2a511232d693198a058c3ea4b88d36e6377e73211a459c610a
|
data/Gemfile.lock
DELETED
@@ -1,134 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
sanitize_email (1.0.8)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
actionmailer (3.2.9)
|
10
|
-
actionpack (= 3.2.9)
|
11
|
-
mail (~> 2.4.4)
|
12
|
-
actionpack (3.2.9)
|
13
|
-
activemodel (= 3.2.9)
|
14
|
-
activesupport (= 3.2.9)
|
15
|
-
builder (~> 3.0.0)
|
16
|
-
erubis (~> 2.7.0)
|
17
|
-
journey (~> 1.0.4)
|
18
|
-
rack (~> 1.4.0)
|
19
|
-
rack-cache (~> 1.2)
|
20
|
-
rack-test (~> 0.6.1)
|
21
|
-
sprockets (~> 2.2.1)
|
22
|
-
activemodel (3.2.9)
|
23
|
-
activesupport (= 3.2.9)
|
24
|
-
builder (~> 3.0.0)
|
25
|
-
activerecord (3.2.9)
|
26
|
-
activemodel (= 3.2.9)
|
27
|
-
activesupport (= 3.2.9)
|
28
|
-
arel (~> 3.0.2)
|
29
|
-
tzinfo (~> 0.3.29)
|
30
|
-
activeresource (3.2.9)
|
31
|
-
activemodel (= 3.2.9)
|
32
|
-
activesupport (= 3.2.9)
|
33
|
-
activesupport (3.2.9)
|
34
|
-
i18n (~> 0.6)
|
35
|
-
multi_json (~> 1.0)
|
36
|
-
addressable (2.3.2)
|
37
|
-
arel (3.0.2)
|
38
|
-
builder (3.0.4)
|
39
|
-
diff-lcs (1.1.3)
|
40
|
-
email_spec (1.4.0)
|
41
|
-
launchy (~> 2.1)
|
42
|
-
mail (~> 2.2)
|
43
|
-
erubis (2.7.0)
|
44
|
-
hike (1.2.1)
|
45
|
-
i18n (0.6.1)
|
46
|
-
journey (1.0.4)
|
47
|
-
json (1.7.5)
|
48
|
-
launchy (2.1.2)
|
49
|
-
addressable (~> 2.3)
|
50
|
-
letter_opener (1.0.0)
|
51
|
-
launchy (>= 2.0.4)
|
52
|
-
mail (2.4.4)
|
53
|
-
i18n (>= 0.4.0)
|
54
|
-
mime-types (~> 1.16)
|
55
|
-
treetop (~> 1.4.8)
|
56
|
-
mime-types (1.19)
|
57
|
-
multi_json (1.5.0)
|
58
|
-
polyglot (0.3.3)
|
59
|
-
rack (1.4.1)
|
60
|
-
rack-cache (1.2)
|
61
|
-
rack (>= 0.4)
|
62
|
-
rack-ssl (1.3.2)
|
63
|
-
rack
|
64
|
-
rack-test (0.6.2)
|
65
|
-
rack (>= 1.0)
|
66
|
-
rails (3.2.9)
|
67
|
-
actionmailer (= 3.2.9)
|
68
|
-
actionpack (= 3.2.9)
|
69
|
-
activerecord (= 3.2.9)
|
70
|
-
activeresource (= 3.2.9)
|
71
|
-
activesupport (= 3.2.9)
|
72
|
-
bundler (~> 1.0)
|
73
|
-
railties (= 3.2.9)
|
74
|
-
railties (3.2.9)
|
75
|
-
actionpack (= 3.2.9)
|
76
|
-
activesupport (= 3.2.9)
|
77
|
-
rack-ssl (~> 1.3.2)
|
78
|
-
rake (>= 0.8.7)
|
79
|
-
rdoc (~> 3.4)
|
80
|
-
thor (>= 0.14.6, < 2.0)
|
81
|
-
rake (10.0.3)
|
82
|
-
rdoc (3.12)
|
83
|
-
json (~> 1.4)
|
84
|
-
reek (1.2.13)
|
85
|
-
ripper_ruby_parser (~> 0.0.7)
|
86
|
-
ruby2ruby (~> 1.2.5)
|
87
|
-
ruby_parser (~> 2.0)
|
88
|
-
sexp_processor (~> 3.0)
|
89
|
-
ripper_ruby_parser (0.0.8)
|
90
|
-
sexp_processor (~> 3.0)
|
91
|
-
roodi (2.1.0)
|
92
|
-
ruby_parser
|
93
|
-
rspec (2.12.0)
|
94
|
-
rspec-core (~> 2.12.0)
|
95
|
-
rspec-expectations (~> 2.12.0)
|
96
|
-
rspec-mocks (~> 2.12.0)
|
97
|
-
rspec-core (2.12.2)
|
98
|
-
rspec-expectations (2.12.1)
|
99
|
-
diff-lcs (~> 1.1.3)
|
100
|
-
rspec-mocks (2.12.0)
|
101
|
-
ruby2ruby (1.2.5)
|
102
|
-
ruby_parser (~> 2.0)
|
103
|
-
sexp_processor (~> 3.0)
|
104
|
-
ruby_parser (2.3.1)
|
105
|
-
sexp_processor (~> 3.0)
|
106
|
-
sexp_processor (3.2.0)
|
107
|
-
sprockets (2.2.2)
|
108
|
-
hike (~> 1.2)
|
109
|
-
multi_json (~> 1.0)
|
110
|
-
rack (~> 1.0)
|
111
|
-
tilt (~> 1.1, != 1.3.0)
|
112
|
-
thor (0.16.0)
|
113
|
-
tilt (1.3.3)
|
114
|
-
treetop (1.4.12)
|
115
|
-
polyglot
|
116
|
-
polyglot (>= 0.3.1)
|
117
|
-
tzinfo (0.3.35)
|
118
|
-
|
119
|
-
PLATFORMS
|
120
|
-
ruby
|
121
|
-
|
122
|
-
DEPENDENCIES
|
123
|
-
actionmailer (> 3)
|
124
|
-
email_spec
|
125
|
-
launchy
|
126
|
-
letter_opener
|
127
|
-
mail
|
128
|
-
rails (> 3)
|
129
|
-
rake
|
130
|
-
rdoc (>= 3.12)
|
131
|
-
reek (>= 1.2.8)
|
132
|
-
roodi (>= 2.1.0)
|
133
|
-
rspec (>= 2.11)
|
134
|
-
sanitize_email!
|