safety_mailer 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/Rakefile +26 -0
- data/lib/safety_mailer/version.rb +1 -1
- metadata +73 -40
data/Gemfile
ADDED
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
require "bundler/gem_tasks"
|
3
|
+
require 'rspec/core/rake_task'
|
4
|
+
Bundler::GemHelper.install_tasks
|
5
|
+
|
6
|
+
task :console do
|
7
|
+
Rake::Task["build"].invoke
|
8
|
+
Rake::Task["install"].invoke
|
9
|
+
puts "Loading development console..."
|
10
|
+
system("irb -r safety_mailer")
|
11
|
+
end
|
12
|
+
|
13
|
+
task :help do
|
14
|
+
puts "Available rake tasks: "
|
15
|
+
puts "rake console - Run a IRB console with all enviroment loaded"
|
16
|
+
puts "rake spec - Run specs"
|
17
|
+
end
|
18
|
+
|
19
|
+
task :spec do
|
20
|
+
desc "Run all specs with rcov"
|
21
|
+
RSpec::Core::RakeTask.new(:spec) do |t|
|
22
|
+
t.pattern = "spec/**/*_spec.rb"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
task :default => [:spec]
|
metadata
CHANGED
@@ -1,69 +1,102 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: safety_mailer
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.7
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 6
|
10
|
-
version: 0.0.6
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Bill Kirtley
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
12
|
+
date: 2014-06-14 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rspec
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :development
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: mail
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: rake
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
description: Specify a domain (or set of domains, or magic word in email address)
|
63
|
+
email is allowed to go to, and email to all other domains is silently dropped. Useful
|
64
|
+
for testing and staging environments.
|
22
65
|
email: bill.kirtley@gmail.com
|
23
66
|
executables: []
|
24
|
-
|
25
67
|
extensions: []
|
26
|
-
|
27
68
|
extra_rdoc_files: []
|
28
|
-
|
29
|
-
files:
|
69
|
+
files:
|
30
70
|
- lib/safety_mailer/railtie.rb
|
31
71
|
- lib/safety_mailer/safety_mailer.rb
|
32
72
|
- lib/safety_mailer/version.rb
|
33
73
|
- lib/safety_mailer.rb
|
74
|
+
- Gemfile
|
75
|
+
- Rakefile
|
34
76
|
- README.rdoc
|
35
77
|
homepage: http://github.com/cluesque/safety_mailer
|
36
78
|
licenses: []
|
37
|
-
|
38
79
|
post_install_message:
|
39
80
|
rdoc_options: []
|
40
|
-
|
41
|
-
require_paths:
|
81
|
+
require_paths:
|
42
82
|
- lib
|
43
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
44
84
|
none: false
|
45
|
-
requirements:
|
46
|
-
- -
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
|
49
|
-
|
50
|
-
- 0
|
51
|
-
version: "0"
|
52
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
90
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
version: "0"
|
91
|
+
requirements:
|
92
|
+
- - ! '>='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
61
95
|
requirements: []
|
62
|
-
|
63
96
|
rubyforge_project:
|
64
|
-
rubygems_version: 1.8.
|
97
|
+
rubygems_version: 1.8.23
|
65
98
|
signing_key:
|
66
99
|
specification_version: 3
|
67
100
|
summary: Restrict email sent by your application to only approved domains or accounts.
|
68
101
|
test_files: []
|
69
|
-
|
102
|
+
has_rdoc:
|