radiant-database_mailer-extension 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require_dependency 'application_controller'
|
|
2
|
-
require 'radiant-database_mailer-extension
|
|
2
|
+
require 'radiant-database_mailer-extension'
|
|
3
3
|
|
|
4
4
|
class DatabaseMailerExtension < Radiant::Extension
|
|
5
5
|
version RadiantDatabaseMailerExtension::VERSION
|
|
@@ -7,7 +7,7 @@ class DatabaseMailerExtension < Radiant::Extension
|
|
|
7
7
|
url RadiantDatabaseMailerExtension::URL
|
|
8
8
|
|
|
9
9
|
def activate
|
|
10
|
-
|
|
10
|
+
raise "MailerExtension must be loaded before DatabaseMailerExtension" unless defined?(MailerExtension)
|
|
11
11
|
MailController.class_eval do
|
|
12
12
|
include DatabaseMailerProcessing
|
|
13
13
|
alias_method_chain :process_mail, :database
|
|
@@ -17,7 +17,6 @@ class DatabaseMailerExtension < Radiant::Extension
|
|
|
17
17
|
include DatabaseMailerProcessing
|
|
18
18
|
alias_method_chain :process_mail, :database
|
|
19
19
|
end
|
|
20
|
-
admin.tabs.add "Database Mailer", "/admin/form_datas", :after => "Layouts", :visibility => [:all]
|
|
21
20
|
|
|
22
21
|
tab "Content" do
|
|
23
22
|
add_item "Database Mailer", "/admin/form_datas"
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: radiant-database_mailer-extension
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 2
|
|
10
|
+
version: 1.0.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Cristi Duma
|
|
@@ -73,6 +73,7 @@ files:
|
|
|
73
73
|
- lib/tasks/database_mailer_extension_tasks.rake
|
|
74
74
|
- public/javascripts/admin/database_mailer.js
|
|
75
75
|
- public/stylesheets/sass/admin/database_mailer.sass
|
|
76
|
+
- radiant-database_mailer-extension-1.0.1.gem
|
|
76
77
|
- radiant-database_mailer-extension.gemspec
|
|
77
78
|
- Rakefile
|
|
78
79
|
- README.md
|