no_notifier_needed 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/no_notifier_needed.rb +0 -1
- data/no_notifier_needed.gemspec +2 -3
- metadata +3 -4
- data/lib/no_notifier_needed/sender.rb +0 -17
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/lib/no_notifier_needed.rb
CHANGED
data/no_notifier_needed.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "no_notifier_needed"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Robert R. Meyer"]
|
12
|
-
s.date = "2013-01-
|
12
|
+
s.date = "2013-01-14"
|
13
13
|
s.description = "A work in progress"
|
14
14
|
s.email = "Blue.Dog.Archolite@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -32,7 +32,6 @@ Gem::Specification.new do |s|
|
|
32
32
|
"lib/no_notifier_needed/railtie.rb",
|
33
33
|
"lib/no_notifier_needed/render.rb",
|
34
34
|
"lib/no_notifier_needed/send.rb",
|
35
|
-
"lib/no_notifier_needed/sender.rb",
|
36
35
|
"lib/no_notifier_needed/translate.rb",
|
37
36
|
"no_notifier_needed.gemspec",
|
38
37
|
"test/helper.rb",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: no_notifier_needed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: haml
|
@@ -146,7 +146,6 @@ files:
|
|
146
146
|
- lib/no_notifier_needed/railtie.rb
|
147
147
|
- lib/no_notifier_needed/render.rb
|
148
148
|
- lib/no_notifier_needed/send.rb
|
149
|
-
- lib/no_notifier_needed/sender.rb
|
150
149
|
- lib/no_notifier_needed/translate.rb
|
151
150
|
- no_notifier_needed.gemspec
|
152
151
|
- test/helper.rb
|
@@ -166,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
165
|
version: '0'
|
167
166
|
segments:
|
168
167
|
- 0
|
169
|
-
hash:
|
168
|
+
hash: 4043883822035756603
|
170
169
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
170
|
none: false
|
172
171
|
requirements:
|
@@ -1,17 +0,0 @@
|
|
1
|
-
module NoNotifierNeeded
|
2
|
-
module Sender
|
3
|
-
def mcp(email_name, args)
|
4
|
-
@template = EmailTemplate.find_by_name(email_name)
|
5
|
-
raise "Email Template name not found" if @template.nil?
|
6
|
-
|
7
|
-
args_to_instance_vars(args)
|
8
|
-
|
9
|
-
debugger
|
10
|
-
mail_is = mail(get_send_hash) do|format|
|
11
|
-
format.html { render :inline => render_template_body_type(@template) }
|
12
|
-
end
|
13
|
-
|
14
|
-
return mail_is
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|