sanitize_email 0.3.8 → 0.3.9

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
- data.tar.gz: 5ea66fb5f23e32fc62f9faa3390e03ba976de686
4
- metadata.gz: 558b9904bb6cc7257c14065b7a49fc95a0a48317
3
+ data.tar.gz: 9af119111ca36fabf71be862decaf4ea99a2ebb0
4
+ metadata.gz: e10fbe1c7a189387ad2b3516c520fefd1fcb389c
5
5
  SHA512:
6
- data.tar.gz: 5cd8291a81b5cb7947ca90af7c823a0a66e3d6d054b8ea38fc1b6e06187f53d9bef865aadf0392df4d7dcba302519a3db9af6157a59940d0112127d0f4b17a9b
7
- metadata.gz: b15485bf7dbac7a794f2ce9d80842c142f4e1b87c2b8ce3f0706173e20252ee0afffa136eb0d8748e5b9d3d7bd6807d637c51aad5e9545db89d80bf565ea1151
6
+ data.tar.gz: f44f84718ae2c50c99344df317c91e02a2d2ed3d5936aaeca5bf7a28080363ab7197edc31b9b058c6c01f39483aefdfbeb8ad7af2a02a4cccb926f68f46821ce
7
+ metadata.gz: f14cbab8d2da7a328396e32ba71dc075a6a4ab3fed9c5d7d0f64a520e524ad5a32393fde84226e43afd53e0dc89e71a154dd2ce12c1ed34c8a1a6f6a665ecce2
data/.gitignore ADDED
@@ -0,0 +1,20 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ *.sw?
10
+ .DS_Store
11
+ coverage
12
+ doc/
13
+ lib/bundler/man
14
+ pkg
15
+ rdoc
16
+ spec/reports
17
+ test/tmp
18
+ test/version_tmp
19
+ tmp
20
+ .idea
data/CHANGELOG.md ADDED
@@ -0,0 +1,27 @@
1
+ # Version 0.3.9 13.MAR.2014
2
+
3
+ - lock down version dependency of actionmailer ">= 0" and "<= 3.1", so a fresh install succeeds
4
+ - Added proper best practice conventions like SanitizeEmail::VERSION (== '0.3.9')
5
+ - all new gemspec
6
+
7
+ # Version 0.3.8 12.MAR.2014
8
+ - (Rubygems.org has the wrong release date, my bad, (⋟﹏⋞) jeweler!)
9
+ - Convert to Bundler by Peter Boling
10
+ - Improved Readme by Peter Boling
11
+ - Support use_actual_email_prepended_to_subject by Johnathan Ritzi
12
+ - Fix environment check for old versions of Rails by Johnathan Ritzi
13
+
14
+ #Version 0.3.7 08.JUL.2010
15
+
16
+ - Improved Installation instructions
17
+ - Fixed so tests run from inside a rails app (previously only ran standalone)
18
+
19
+ # Version 0.3.6 10.NOV.2009
20
+
21
+ - Fixed Installation instructions
22
+ - Improved README
23
+
24
+ # Version 0.3.5 10.NOV.2009
25
+
26
+ - Fixed require paths
27
+ - added about.yml and this CHANGELOG
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in sanitize_email.gemspec
4
+ gemspec
5
+
6
+ # Development dependencies (everything needed to run rake, tests, features, etc.)
7
+ group :development, :test do
8
+ # To use debugger
9
+ # gem 'ruby-debug19', :require => 'ruby-debug'
10
+
11
+ gem "rdoc", ">= 3.12"
12
+ gem "bundler", ">= 1.0.24"
13
+ gem "reek", ">= 1.2.8"
14
+ gem "roodi", ">= 2.1.0"
15
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,46 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sanitize_email (0.3.9)
5
+ actionmailer (>= 0, <= 3.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actionmailer (2.3.18)
11
+ actionpack (= 2.3.18)
12
+ actionpack (2.3.18)
13
+ activesupport (= 2.3.18)
14
+ rack (~> 1.1.0)
15
+ activesupport (2.3.18)
16
+ json (1.8.1)
17
+ rack (1.1.6)
18
+ rake (0.9.2.2)
19
+ rdoc (3.12)
20
+ json (~> 1.4)
21
+ reek (1.2.12)
22
+ ripper_ruby_parser (~> 0.0.7)
23
+ ruby2ruby (~> 1.2.5)
24
+ ruby_parser (~> 2.0)
25
+ sexp_processor (~> 3.0)
26
+ ripper_ruby_parser (0.0.7)
27
+ sexp_processor (~> 3.0)
28
+ roodi (2.1.0)
29
+ ruby_parser
30
+ ruby2ruby (1.2.5)
31
+ ruby_parser (~> 2.0)
32
+ sexp_processor (~> 3.0)
33
+ ruby_parser (2.3.1)
34
+ sexp_processor (~> 3.0)
35
+ sexp_processor (3.2.0)
36
+
37
+ PLATFORMS
38
+ ruby
39
+
40
+ DEPENDENCIES
41
+ bundler (>= 1.0.24)
42
+ rake
43
+ rdoc (>= 3.12)
44
+ reek (>= 1.2.8)
45
+ roodi (>= 2.1.0)
46
+ sanitize_email!
@@ -1,4 +1,6 @@
1
- Copyright (c) 2008 Peter H. Boling of 9thBit LLC
1
+ Copyright (c) 2008-2014 Peter Boling
2
+
3
+ MIT License
2
4
 
3
5
  Permission is hereby granted, free of charge, to any person obtaining
4
6
  a copy of this software and associated documentation files (the
data/README.rdoc CHANGED
@@ -27,11 +27,11 @@ If you install this gem on a production server (which I don't always do), you ca
27
27
 
28
28
  == Install as a RubyGem
29
29
 
30
- Pick standard or source install below.
30
+ Releases on the rails_3_1_and_below branch will remain within major version 0 and support Rails 2:
31
31
 
32
- Standard Install (releases on the rails_3_1_and_below branch will remain within major version 0... FOREVER):
32
+ [sudo] gem install sanitize_email -v 0.3.9
33
33
 
34
- [sudo] gem install sanitize_email -v 0.3.8
34
+ The master branch (*which is not this one*) has moved on to support Rails 3 and 4, and the API is somewhat different.
35
35
 
36
36
  == Setup
37
37
 
@@ -54,7 +54,7 @@ Add this bit and customize for your app:
54
54
  # "sanitized" email (e.g. "real@address.com <sanitized@email.com>")
55
55
  ActionMailer::Base.use_actual_email_as_sanitized_user_name = true # defaults to false
56
56
 
57
- # These are the environments whose outgoing email BCC, CC and recipients fields will be overridden!
57
+ # These are the environments whose outgoing email BCC, CC and recipients fields will be overridden!
58
58
  # All environments not listed will be treated as normal.
59
59
  ActionMailer::Base.local_environments = %w( development test staging )
60
60
 
@@ -163,6 +163,6 @@ George Anderson's work / improvements have been pulled in, along with several ot
163
163
  * {Peter's Original Writeup}[http://galtzo.blogspot.com/2008/11/sanitize-email-never-worry-about.html]
164
164
  * {Using sanitize_email to Preview HTML Emails Locally}[http://blog.smartlogicsolutions.com/2009/04/30/using-sanitize-email-to-preview-html-emails-locally/]
165
165
 
166
- Copyright (c) 2008-2012 {Peter H. Boling}[http://www.peterboling.com/about.html] of {9thBit LLC}[http://www.peterboling.com/]
166
+ Copyright (c) 2008-2014 {Peter H. Boling}[http://railsbling.com]
167
167
  Copyright (c) 2009 {John Trupiano}[http://smartlogicsolutions.com/wiki/John_Trupiano] of {SmartLogic Solutions, LLC}[http://www.smartlogicsolutions.com]
168
- Released under the MIT license
168
+ Released under the MIT license, see LICENSE.txt in this directory
data/Rakefile CHANGED
@@ -10,3 +10,5 @@ Rake::TestTask.new(:test) do |t|
10
10
  t.pattern = 'test/**/*_test.rb'
11
11
  t.verbose = true
12
12
  end
13
+
14
+ require "bundler/gem_tasks"
@@ -0,0 +1,3 @@
1
+ module SanitizeEmail
2
+ VERSION = "0.3.9"
3
+ end
@@ -1,5 +1,12 @@
1
+ # Versions of sanitize_email > 1 no longer require actionmailer, and can be used sans-rails.
2
+ require 'actionmailer'
3
+
4
+ require "sanitize_email/version"
1
5
  require 'sanitize_email/sanitize_email'
2
6
  require 'sanitize_email/custom_environments'
3
7
 
8
+ module SanitizeEmail
9
+ end
10
+
4
11
  ActionMailer::Base.send :include, NinthBit::CustomEnvironments
5
12
  ActionMailer::Base.send :include, NinthBit::SanitizeEmail
@@ -1,56 +1,26 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
- # -*- encoding: utf-8 -*-
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'sanitize_email/version'
5
5
 
6
- Gem::Specification.new do |s|
7
- s.name = %q{sanitize_email}
8
- s.version = "0.3.8"
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "sanitize_email"
8
+ spec.version = SanitizeEmail::VERSION
9
+ spec.authors = ["Peter Boling", "John Trupiano", "George Anderson"]
10
+ spec.email = ["peter.boling@gmail.com", "jtrupiano@gmail.com", "george@benevolentcode.com"]
11
+ spec.summary = %q{Test an application's email abilities without ever sending a message to actual live addresses}
12
+ spec.description = %q{Test an application's email abilities without ever sending a message to actual live addresses}
13
+ spec.homepage = "http://github.com/pboling/sanitize_email"
14
+ spec.license = "MIT"
15
+ spec.rdoc_options = ["--charset=UTF-8"]
9
16
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Peter Boling", "John Trupiano", "George Anderson"]
12
- s.date = %q{2010-07-08}
13
- s.description = %q{Test an application's email abilities without ever sending a message to actual live addresses}
14
- s.email = ["peter.boling@gmail.com", "jtrupiano@gmail.com", "george@benevolentcode.com"]
15
- s.extra_rdoc_files = [
16
- "README.rdoc"
17
- ]
18
- s.files = [
19
- "MIT-LICENSE",
20
- "README.rdoc",
21
- "Rakefile",
22
- "VERSION.yml",
23
- "init.rb",
24
- "lib/sanitize_email.rb",
25
- "lib/sanitize_email/custom_environments.rb",
26
- "lib/sanitize_email/sanitize_email.rb",
27
- "sanitize_email.gemspec",
28
- "test/sample_mailer.rb",
29
- "test/sanitize_email_test.rb",
30
- "test/test_helper.rb"
31
- ]
32
- s.homepage = %q{http://github.com/pboling/sanitize_email}
33
- s.rdoc_options = ["--charset=UTF-8"]
34
- s.require_paths = ["lib"]
35
- s.rubygems_version = %q{1.3.7}
36
- s.summary = %q{Tool to aid in development, testing, qa, and production troubleshooting of email issues without worrying that emails will get sent to actual live addresses.}
37
- s.test_files = [
38
- "test/sample_mailer.rb",
39
- "test/sanitize_email_test.rb",
40
- "test/test_helper.rb"
41
- ]
17
+ spec.files = `git ls-files -z`.split("\x0")
18
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
20
+ spec.require_paths = ["lib"]
42
21
 
43
- if s.respond_to? :specification_version then
44
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
45
- s.specification_version = 3
22
+ spec.add_runtime_dependency(%q<actionmailer>, [">= 0",'<= 3.1'])
46
23
 
47
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
- s.add_runtime_dependency(%q<actionmailer>, [">= 0"])
49
- else
50
- s.add_dependency(%q<actionmailer>, [">= 0"])
51
- end
52
- else
53
- s.add_dependency(%q<actionmailer>, [">= 0"])
54
- end
24
+ spec.add_development_dependency "bundler", "~> 1.5"
25
+ spec.add_development_dependency "rake"
55
26
  end
56
-
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: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -11,19 +11,40 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2010-07-08 00:00:00 Z
14
+ date: 2014-03-13 00:00:00 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: actionmailer
18
18
  prerelease: false
19
19
  requirement: &id001 !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - &id002
21
+ - &id003
22
22
  - ">="
23
23
  - !ruby/object:Gem::Version
24
24
  version: "0"
25
+ - - <=
26
+ - !ruby/object:Gem::Version
27
+ version: "3.1"
25
28
  type: :runtime
26
29
  version_requirements: *id001
30
+ - !ruby/object:Gem::Dependency
31
+ name: bundler
32
+ prerelease: false
33
+ requirement: &id002 !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: "1.5"
38
+ type: :development
39
+ version_requirements: *id002
40
+ - !ruby/object:Gem::Dependency
41
+ name: rake
42
+ prerelease: false
43
+ requirement: &id004 !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - *id003
46
+ type: :development
47
+ version_requirements: *id004
27
48
  description: Test an application's email abilities without ever sending a message to actual live addresses
28
49
  email:
29
50
  - peter.boling@gmail.com
@@ -33,10 +54,14 @@ executables: []
33
54
 
34
55
  extensions: []
35
56
 
36
- extra_rdoc_files:
37
- - README.rdoc
57
+ extra_rdoc_files: []
58
+
38
59
  files:
39
- - MIT-LICENSE
60
+ - .gitignore
61
+ - CHANGELOG.md
62
+ - Gemfile
63
+ - Gemfile.lock
64
+ - LICENSE.txt
40
65
  - README.rdoc
41
66
  - Rakefile
42
67
  - VERSION.yml
@@ -44,13 +69,14 @@ files:
44
69
  - lib/sanitize_email.rb
45
70
  - lib/sanitize_email/custom_environments.rb
46
71
  - lib/sanitize_email/sanitize_email.rb
72
+ - lib/sanitize_email/version.rb
47
73
  - sanitize_email.gemspec
48
74
  - test/sample_mailer.rb
49
75
  - test/sanitize_email_test.rb
50
76
  - test/test_helper.rb
51
77
  homepage: http://github.com/pboling/sanitize_email
52
- licenses: []
53
-
78
+ licenses:
79
+ - MIT
54
80
  metadata: {}
55
81
 
56
82
  post_install_message:
@@ -60,17 +86,17 @@ require_paths:
60
86
  - lib
61
87
  required_ruby_version: !ruby/object:Gem::Requirement
62
88
  requirements:
63
- - *id002
89
+ - *id003
64
90
  required_rubygems_version: !ruby/object:Gem::Requirement
65
91
  requirements:
66
- - *id002
92
+ - *id003
67
93
  requirements: []
68
94
 
69
95
  rubyforge_project:
70
96
  rubygems_version: 2.0.14
71
97
  signing_key:
72
- specification_version: 3
73
- summary: Tool to aid in development, testing, qa, and production troubleshooting of email issues without worrying that emails will get sent to actual live addresses.
98
+ specification_version: 4
99
+ summary: Test an application's email abilities without ever sending a message to actual live addresses
74
100
  test_files:
75
101
  - test/sample_mailer.rb
76
102
  - test/sanitize_email_test.rb