sanitize_email 1.2.2 → 2.0.0

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
- SHA1:
3
- metadata.gz: 3ad6096e8d943e52cbd727fe7d196d7be384d180
4
- data.tar.gz: ce38ce644ed4e2eba4ceff0ad8cdfdc4ac3c7aa3
2
+ SHA256:
3
+ metadata.gz: 7496020f3a0eb3316969b622590c311c5684de54acf9141521043017a534b842
4
+ data.tar.gz: b9d715acafb0d1ce744720756524ce1235dc95e6744f375d11ee2689125184e7
5
5
  SHA512:
6
- metadata.gz: 42032fa9bfa53dfc99739daf9671eb967688deae6f719d51dd005e0f5e5b273efc74607859b33f8ebf40cc61f9bd063a017e06a80d00489a6a11082555902d20
7
- data.tar.gz: 11bd4dbcc7f931849ec121fe1cb799696102c997ed9288ad1f22d0cfdafd0de278f1d85f205413fcc67188839fa35ba99724e5a436c013681e2ed8e3cf295042
6
+ metadata.gz: e7878f30073db37643499d8c21610030f63cba4444c703c20c06fce00180a53c29b618b0fbe0396cb613897f837387245164b2fe27e65c2f2fce7638c35e8abe
7
+ data.tar.gz: 18c5def158cb17a95a1587b3a4bdcf28b5bfe12c5dc6a085d7027b97b7897ab69c7c9efb8bae9f48b0f8e356650f9f28c3625b47dc711f64217e3f9777ae5eea
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.3.3
1
+ ruby-2.5.0
data/.travis.yml CHANGED
@@ -1,78 +1,56 @@
1
- language: ruby
1
+ before_install:
2
+ - gem update --system
3
+ - gem install bundler
4
+ install:
5
+ - bundle install
6
+
7
+ bundler_args: --no-deployment --jobs 3 --retry 3
8
+
2
9
  cache: bundler
10
+
11
+ env:
12
+ global:
13
+ - JRUBY_OPTS="-Xcli.debug=true --debug"
14
+
15
+ language: ruby
3
16
  sudo: false
17
+
4
18
  rvm:
5
- # - 1.9
6
- - 2.0
7
- - 2.1
8
- - 2.2
9
- - 2.3.3
10
- - 2.4.0
11
- # - ruby-head
19
+ - jruby-9.1.16.0
20
+ - 2.3.6
21
+ - 2.4.3
22
+ - 2.5.0
23
+ - jruby-head
24
+ - ruby-head
25
+ - rbx-3
26
+
12
27
  gemfile:
13
- - gemfiles/rails_3_0.gemfile
14
- - gemfiles/rails_3_1.gemfile
15
- - gemfiles/rails_3_2.gemfile
16
- - gemfiles/rails_4_0.gemfile
17
- - gemfiles/rails_4_1.gemfile
18
28
  - gemfiles/rails_4_2.gemfile
19
29
  - gemfiles/rails_5_0.gemfile
30
+ - gemfiles/rails_5_1.gemfile
31
+
20
32
  matrix:
21
33
  allow_failures:
22
- # - rvm: ruby-head
23
- # - rvm: 1.9
34
+ - rvm: jruby-head
35
+ - rvm: ruby-head
36
+ - rvm: rbx-3
37
+ fast_finish: true
24
38
  exclude:
25
- - rvm: 1.9
26
- gemfile: gemfiles/rails_3_2.gemfile
27
- - rvm: 1.9
28
- gemfile: gemfiles/rails_4_0.gemfile
29
- - rvm: 1.9
30
- gemfile: gemfiles/rails_4_1.gemfile
31
- - rvm: 1.9
39
+ - rvm: jruby-9.1.16.0
32
40
  gemfile: gemfiles/rails_4_2.gemfile
33
- - rvm: 1.9
41
+ - rvm: jruby-9.1.16.0
34
42
  gemfile: gemfiles/rails_5_0.gemfile
35
- - rvm: 2.0
36
- gemfile: gemfiles/rails_3_0.gemfile
37
- - rvm: 2.0
38
- gemfile: gemfiles/rails_3_1.gemfile
39
- - rvm: 2.0
43
+ - rvm: 2.5.0
40
44
  gemfile: gemfiles/rails_4_2.gemfile
41
- - rvm: 2.0
45
+ - rvm: jruby-head
46
+ gemfile: gemfiles/rails_4_2.gemfile
47
+ - rvm: jruby-head
42
48
  gemfile: gemfiles/rails_5_0.gemfile
43
- - rvm: 2.1
44
- gemfile: gemfiles/rails_3_0.gemfile
45
- - rvm: 2.1
46
- gemfile: gemfiles/rails_3_1.gemfile
47
- - rvm: 2.1
49
+ - rvm: ruby-head
48
50
  gemfile: gemfiles/rails_4_2.gemfile
49
- - rvm: 2.1
51
+ - rvm: ruby-head
50
52
  gemfile: gemfiles/rails_5_0.gemfile
51
- - rvm: 2.2
52
- gemfile: gemfiles/rails_3_0.gemfile
53
- - rvm: 2.2
54
- gemfile: gemfiles/rails_3_1.gemfile
55
- - rvm: 2.2
53
+ - rvm: rbx-3
54
+ gemfile: gemfiles/rails_4_2.gemfile
55
+ - rvm: rbx-3
56
56
  gemfile: gemfiles/rails_5_0.gemfile
57
- - rvm: 2.3.3
58
- gemfile: gemfiles/rails_3_0.gemfile
59
- - rvm: 2.3.3
60
- gemfile: gemfiles/rails_3_1.gemfile
61
- - rvm: 2.4.0
62
- gemfile: gemfiles/rails_3_0.gemfile
63
- - rvm: 2.4.0
64
- gemfile: gemfiles/rails_3_1.gemfile
65
- - rvm: 2.4.0
66
- gemfile: gemfiles/rails_3_2.gemfile
67
- # - rvm: ruby-head
68
- # gemfile: gemfiles/rails_5_0.gemfile
69
- # include:
70
- # - rvm: 1.9
71
- # gemfile: gemfiles/rails_3_0.gemfile
72
- # - rvm: 1.9
73
- # gemfile: gemfiles/rails_3_1.gemfile
74
- before_install:
75
- - gem update --system
76
- - gem install bundler
77
- install:
78
- - bundle install
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  HEAD
2
2
 
3
+ *UNRELEASED*
4
+ * Drop support for MRI Ruby 1.9, 2.0, 2.1, and 2.2 by Peter Boling
5
+ * Drop support for JRuby 1.7 and 9.0, while still supporting 9.1 by Peter Boling
6
+ * Drop support for Rails 3.0, 3.1, 3.2, 4.0, 4.1, while still supporting 4.2 by Peter Boling
7
+ * Add testing for Rails 5.1 and 5.2 by Peter Boling
8
+
3
9
  Version 1.2.2 - FEB.17.2017
4
10
  * Improve handling of frozen strings, which are becoming more common by @milgner
5
11
 
data/LICENSE CHANGED
@@ -1,22 +1,21 @@
1
- Copyright (c) 2008-2014 Peter H. Boling of RailsBling.com
2
-
3
1
  MIT License
4
2
 
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
3
+ Copyright (c) 2008 - 2018 Peter H. Boling, http://railsbling.com
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
12
11
 
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
15
14
 
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -5,15 +5,15 @@ This gem allows you to override your mail delivery settings, globally or in a lo
5
5
  | Project | Sanitize Email |
6
6
  |------------------------ | ----------------- |
7
7
  | gem name | sanitize_email |
8
- | license | MIT |
8
+ | license | [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) |
9
9
  | expert support | [![Get help on Codementor](https://cdn.codementor.io/badges/get_help_github.svg)](https://www.codementor.io/peterboling?utm_source=github&utm_medium=button&utm_term=peterboling&utm_campaign=github) |
10
10
  | download rank | [![Total Downloads](https://img.shields.io/gem/rt/sanitize_email.svg)](https://rubygems.org/gems/sanitize_email) |
11
- | version | [![Version](https://img.shields.io/gem/v/sanitize_email.svg)](https://rubygems.org/gems/sanitize_email) |
12
- | dependencies | [![Dependency Status](https://gemnasium.com/pboling/sanitize_email.png)](https://gemnasium.com/pboling/sanitize_email) |
11
+ | version | [![Version](https://img.shields.io/gem/v/sanitize_email.png)](https://rubygems.org/gems/sanitize_email) |
12
+ | dependencies | [![Depfu](https://badges.depfu.com/badges/bba430e8f19a2ba3273fb20d5e8c82d6/count.svg)](https://depfu.com/github/pboling/sanitize_email) |
13
13
  | code quality | [![Code Quality](https://img.shields.io/codeclimate/github/pboling/sanitize_email.svg)](https://codeclimate.com/github/pboling/sanitize_email) |
14
- | inline documenation | [![Documentation](http://inch-ci.org/github/pboling/sanitize_email.png)](http://inch-ci.org/github/pboling/sanitize_email) |
14
+ | inline documenation | [![Documentation](http://inch-ci.org/github/pboling/sanitize_email.svg)](http://inch-ci.org/github/pboling/sanitize_email) |
15
15
  | continuous integration | [![Build](https://img.shields.io/travis/pboling/sanitize_email.svg)](https://travis-ci.org/pboling/sanitize_email) |
16
- | test coverage | [![Coverage Status](https://coveralls.io/repos/pboling/sanitize_email/badge.png)](https://coveralls.io/r/pboling/sanitize_email) |
16
+ | test coverage | [![Coverage Status](https://coveralls.io/repos/pboling/sanitize_email/badge.svg)](https://coveralls.io/r/pboling/sanitize_email) |
17
17
  | homepage | [http://www.railsbling.com/tags/sanitize_email/][homepage] |
18
18
  | documentation | [http://rdoc.info/github/pboling/sanitize_email/frames][documentation] |
19
19
  | live chat | [![Join the chat at https://gitter.im/pboling/sanitize_email](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pboling/sanitize_email?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
@@ -23,8 +23,10 @@ This gem allows you to override your mail delivery settings, globally or in a lo
23
23
 
24
24
  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.
25
25
 
26
- * compatible with Rails >= 3.X (since v1.0.5)
27
- * compatible with any Ruby app with a Mail handler that uses the `register_interceptor` API (a la ActionMailer and Mail gems)
26
+ * compatible without Rails! Can work with just the `mail` gem.
27
+ * compatible with Rails >= 4.2. See gem versions 1.x for older versions of Rails.
28
+ * compatible with Ruby >= 2.3. See gem versions 1.x for older versions of Ruby.
29
+ * compatible with any Ruby app with a mail handler that uses the `register_interceptor` API (a la ActionMailer and `mail` gems)
28
30
  * configure it and forget it
29
31
  * little configuration required
30
32
  * solves common problems in ruby web applications that use email
@@ -310,8 +312,9 @@ SanitizeEmail::Deprecation.deprecate_in_silence = true
310
312
 
311
313
  ## Authors
312
314
 
313
- Peter Boling is the original author of the code, and current maintainer of both the rails 2 and rails 3 development tracks.
314
- John Trupiano did the initial gemification and some refactoring.
315
+ Peter Boling is the original author of the code, and current maintainer.
316
+
317
+ Thanks to John Trupiano for turning Peter's original Rails plugin into this gem!
315
318
 
316
319
  ## Contributors
317
320
 
@@ -384,12 +387,13 @@ spec.add_dependency 'sanitize_email', '~> 1.3'
384
387
 
385
388
  ## Legal
386
389
 
387
- * MIT License - See LICENSE file in this project
388
- * Copyright (c) 2008-2015 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
390
+ * MIT License - See [LICENSE file][license] in this project
389
391
  * Copyright (c) 2009 [John Trupiano](http://smartlogicsolutions.com/wiki/John_Trupiano) of [SmartLogic Solutions, LLC](http://www.smartlogicsolutions.com)
392
+ * Copyright (c) 2008-2015 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
390
393
 
394
+ [license]: LICENSE
391
395
  [semver]: http://semver.org/
392
- [pvc]: http://docs.rubygems.org/read/chapter/16#page74
396
+ [pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
393
397
  [railsbling]: http://www.railsbling.com
394
398
  [peterboling]: http://www.peterboling.com
395
399
  [documentation]: http://rdoc.info/github/pboling/sanitize_email/frames
data/Rakefile CHANGED
@@ -15,17 +15,25 @@ rescue LoadError
15
15
  warn "Failed to load rspec or wwtd"
16
16
  end
17
17
 
18
- require "reek/rake/task"
19
- Reek::Rake::Task.new do |t|
20
- t.fail_on_error = true
21
- t.verbose = false
22
- t.source_files = "lib/**/*.rb"
18
+ begin
19
+ require "reek/rake/task"
20
+ Reek::Rake::Task.new do |t|
21
+ t.fail_on_error = true
22
+ t.verbose = false
23
+ t.source_files = "lib/**/*.rb"
24
+ end
25
+ rescue LoadError
26
+ warn "Failed to load reek"
23
27
  end
24
28
 
25
- require "roodi"
26
- require "roodi_task"
27
- RoodiTask.new do |t|
28
- t.verbose = false
29
+ begin
30
+ require "roodi"
31
+ require "roodi_task"
32
+ RoodiTask.new do |t|
33
+ t.verbose = false
34
+ end
35
+ rescue LoadError
36
+ warn "Failed to load roodi"
29
37
  end
30
38
 
31
39
  require File.expand_path("../lib/sanitize_email/version", __FILE__)
@@ -0,0 +1,3 @@
1
+ ---
2
+ BUNDLE_RETRY: "3"
3
+ BUNDLE_JOBS: "3"
@@ -4,7 +4,7 @@ source "http://rubygems.org"
4
4
 
5
5
  gem "actionmailer", "~> 4.2.0"
6
6
  gem "railties", "~> 4.2.0"
7
- gem "json", "~> 1.8.3"
8
- gem "rake", "~> 11.2.2"
7
+ gem "json", "~> 2.1"
8
+ gem "rake", "~> 12.0"
9
9
 
10
10
  gemspec :path => "../"
@@ -4,7 +4,7 @@ source "http://rubygems.org"
4
4
 
5
5
  gem "actionmailer", "~> 5.0.0"
6
6
  gem "railties", "~> 5.0.0"
7
- gem "json", "~> 2.0.2"
8
- gem "rake", "~> 11.2.2"
7
+ gem "json", "~> 2.1"
8
+ gem "rake", "~> 12.0"
9
9
 
10
10
  gemspec :path => "../"
@@ -0,0 +1,10 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "actionmailer", "~> 5.1.0"
6
+ gem "railties", "~> 5.1.0"
7
+ gem "json", "~> 2.1"
8
+ gem "rake", "~> 12.0"
9
+
10
+ gemspec :path => "../"
@@ -0,0 +1,10 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "http://rubygems.org"
4
+
5
+ gem "actionmailer", "5.2.0"
6
+ gem "railties", "5.2.0"
7
+ gem "json", "~> 2.1"
8
+ gem "rake", "~> 12.0"
9
+
10
+ gemspec :path => "../"
@@ -56,11 +56,7 @@ module SanitizeEmail
56
56
  def self.prepend_custom_subject(message)
57
57
  message.subject = "" unless message.subject
58
58
  custom_subject = SanitizeEmail::MailHeaderTools.custom_subject(message)
59
- if message.subject.frozen?
60
- message.subject = "#{custom_subject}#{message.subject}"
61
- else
62
- message.subject.prepend(custom_subject)
63
- end
59
+ +(message.subject).prepend(custom_subject)
64
60
  end
65
61
 
66
62
  # According to https://github.com/mikel/mail
@@ -2,5 +2,5 @@
2
2
  # Released under the MIT license
3
3
 
4
4
  module SanitizeEmail
5
- VERSION = "1.2.2".freeze
5
+ VERSION = "2.0.0".freeze
6
6
  end
@@ -34,16 +34,12 @@ EOS
34
34
 
35
35
  # Development Dependencies
36
36
  s.add_development_dependency "bundler"
37
- s.add_development_dependency("rails", [">= 3.0"])
38
- s.add_development_dependency("actionmailer", [">= 3.0"])
39
- s.add_development_dependency("letter_opener", [">= 0"])
40
- s.add_development_dependency("launchy", [">= 0"])
37
+ s.add_development_dependency("rails", [">= 3.0.20", "< 6"])
38
+ s.add_development_dependency("actionmailer", [">= 3"])
41
39
  s.add_development_dependency("rspec", [">= 3"])
42
40
  s.add_development_dependency("mail", [">= 0"])
43
41
  s.add_development_dependency("rdoc", [">= 3.12"])
44
- s.add_development_dependency("reek", [">= 1.2.8"])
45
- s.add_development_dependency("roodi", [">= 2.1.0"])
46
- s.add_development_dependency("rake", [">= 0"])
42
+ s.add_development_dependency("rake", [">= 12"])
47
43
  s.add_development_dependency("pry", [">= 0"])
48
44
  s.add_development_dependency("appraisal")
49
45
  s.add_development_dependency("wwtd")
@@ -2,13 +2,7 @@
2
2
  # Released under the MIT license
3
3
  require "spec_helper"
4
4
 
5
- #
6
- # TODO: Letter Opener should *not* be required,
7
- # but setting the delivery method to :file
8
- # was causing connection errors... WTF?
9
- #
10
5
  describe SanitizeEmail do
11
-
12
6
  DEFAULT_TEST_CONFIG = {
13
7
  sanitized_cc: "cc@sanitize_email.org",
14
8
  sanitized_bcc: "bcc@sanitize_email.org",
@@ -29,11 +23,12 @@ describe SanitizeEmail do
29
23
  end
30
24
 
31
25
  def sanitize_spec_dryer(rails_env = "test")
32
- allow(Launchy).to receive(:open)
33
- location = File.expand_path("../tmp/mail_dump", __FILE__)
34
- FileUtils.remove_file(location, true)
26
+ logger = Logger.new($stdout).tap do |logger|
27
+ logger.level = 5 # Unknown (make it silent!)
28
+ end
29
+
35
30
  Mail.defaults do
36
- delivery_method LetterOpener::DeliveryMethod, location: location
31
+ delivery_method :logger, logger: logger, severity: :info
37
32
  end
38
33
  SanitizeEmail::Config.instance_variable_set(
39
34
  :@config,
data/spec/spec_helper.rb CHANGED
@@ -1,11 +1,10 @@
1
1
  # Copyright (c) 2008-16 Peter H. Boling of RailsBling.com
2
2
  # Released under the MIT license
3
- require "launchy"
4
3
  require "mail"
5
4
  require "rails"
6
- require "letter_opener"
7
5
  require "action_mailer"
8
6
  require "pry"
7
+ require "logger"
9
8
 
10
9
  # For code coverage, must be required before all application / gem / library code.
11
10
  require "coveralls"
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.2
4
+ version: 2.0.0
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: 2017-02-20 00:00:00.000000000 Z
13
+ date: 2018-03-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -32,56 +32,34 @@ dependencies:
32
32
  requirements:
33
33
  - - ">="
34
34
  - !ruby/object:Gem::Version
35
- version: '3.0'
36
- type: :development
37
- prerelease: false
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ">="
35
+ version: 3.0.20
36
+ - - "<"
41
37
  - !ruby/object:Gem::Version
42
- version: '3.0'
43
- - !ruby/object:Gem::Dependency
44
- name: actionmailer
45
- requirement: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: '3.0'
38
+ version: '6'
50
39
  type: :development
51
40
  prerelease: false
52
41
  version_requirements: !ruby/object:Gem::Requirement
53
42
  requirements:
54
43
  - - ">="
55
44
  - !ruby/object:Gem::Version
56
- version: '3.0'
57
- - !ruby/object:Gem::Dependency
58
- name: letter_opener
59
- requirement: !ruby/object:Gem::Requirement
60
- requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- version: '0'
64
- type: :development
65
- prerelease: false
66
- version_requirements: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ">="
45
+ version: 3.0.20
46
+ - - "<"
69
47
  - !ruby/object:Gem::Version
70
- version: '0'
48
+ version: '6'
71
49
  - !ruby/object:Gem::Dependency
72
- name: launchy
50
+ name: actionmailer
73
51
  requirement: !ruby/object:Gem::Requirement
74
52
  requirements:
75
53
  - - ">="
76
54
  - !ruby/object:Gem::Version
77
- version: '0'
55
+ version: '3'
78
56
  type: :development
79
57
  prerelease: false
80
58
  version_requirements: !ruby/object:Gem::Requirement
81
59
  requirements:
82
60
  - - ">="
83
61
  - !ruby/object:Gem::Version
84
- version: '0'
62
+ version: '3'
85
63
  - !ruby/object:Gem::Dependency
86
64
  name: rspec
87
65
  requirement: !ruby/object:Gem::Requirement
@@ -124,48 +102,20 @@ dependencies:
124
102
  - - ">="
125
103
  - !ruby/object:Gem::Version
126
104
  version: '3.12'
127
- - !ruby/object:Gem::Dependency
128
- name: reek
129
- requirement: !ruby/object:Gem::Requirement
130
- requirements:
131
- - - ">="
132
- - !ruby/object:Gem::Version
133
- version: 1.2.8
134
- type: :development
135
- prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- requirements:
138
- - - ">="
139
- - !ruby/object:Gem::Version
140
- version: 1.2.8
141
- - !ruby/object:Gem::Dependency
142
- name: roodi
143
- requirement: !ruby/object:Gem::Requirement
144
- requirements:
145
- - - ">="
146
- - !ruby/object:Gem::Version
147
- version: 2.1.0
148
- type: :development
149
- prerelease: false
150
- version_requirements: !ruby/object:Gem::Requirement
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- version: 2.1.0
155
105
  - !ruby/object:Gem::Dependency
156
106
  name: rake
157
107
  requirement: !ruby/object:Gem::Requirement
158
108
  requirements:
159
109
  - - ">="
160
110
  - !ruby/object:Gem::Version
161
- version: '0'
111
+ version: '12'
162
112
  type: :development
163
113
  prerelease: false
164
114
  version_requirements: !ruby/object:Gem::Requirement
165
115
  requirements:
166
116
  - - ">="
167
117
  - !ruby/object:Gem::Version
168
- version: '0'
118
+ version: '12'
169
119
  - !ruby/object:Gem::Dependency
170
120
  name: pry
171
121
  requirement: !ruby/object:Gem::Requirement
@@ -247,13 +197,11 @@ files:
247
197
  - README.md
248
198
  - REEK
249
199
  - Rakefile
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
200
+ - gemfiles/.bundle/config
255
201
  - gemfiles/rails_4_2.gemfile
256
202
  - gemfiles/rails_5_0.gemfile
203
+ - gemfiles/rails_5_1.gemfile
204
+ - gemfiles/rails_5_2.gemfile
257
205
  - init.rb
258
206
  - lib/sanitize_email.rb
259
207
  - lib/sanitize_email/bleach.rb
@@ -290,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
290
238
  version: '0'
291
239
  requirements: []
292
240
  rubyforge_project:
293
- rubygems_version: 2.6.8
241
+ rubygems_version: 2.7.6
294
242
  signing_key:
295
243
  specification_version: 4
296
244
  summary: Email Condom for your Ruby Server
@@ -1,12 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "rails", "~> 3.0.0"
6
- gem "reek", "~> 2.0"
7
- gem "tins", "~> 1.6.0"
8
- gem "json", "~> 1.8.3"
9
- gem "rake", "~> 11.2.2"
10
- gem "rest-client", "~> 1.8.0"
11
-
12
- gemspec :path => "../"
@@ -1,13 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "actionmailer", "~> 3.1.0"
6
- gem "railties", "~> 3.1.0"
7
- gem "reek", "~> 2.0"
8
- gem "tins", "~> 1.6.0"
9
- gem "json", "~> 1.8.3"
10
- gem "rake", "~> 11.2.2"
11
- gem "rest-client", "~> 1.8.0"
12
-
13
- gemspec :path => "../"
@@ -1,11 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "actionmailer", "~> 3.2.0"
6
- gem "railties", "~> 3.2.0"
7
- gem "reek", "~>3.11.0"
8
- gem "json", "~> 1.8.3"
9
- gem "rake", "~> 11.2.2"
10
-
11
- gemspec :path => "../"
@@ -1,11 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "actionmailer", "~> 4.0.0"
6
- gem "railties", "~> 4.0.0"
7
- gem "reek", "~>3.11.0"
8
- gem "json", "~> 1.8.3"
9
- gem "rake", "~> 11.2.2"
10
-
11
- gemspec :path => "../"
@@ -1,11 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "http://rubygems.org"
4
-
5
- gem "actionmailer", "~> 4.1.0"
6
- gem "railties", "~> 4.1.0"
7
- gem "reek", "~>3.11.0"
8
- gem "json", "~> 1.8.3"
9
- gem "rake", "~> 11.2.2"
10
-
11
- gemspec :path => "../"