refinerycms-inquiries 0.9.8.10 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,17 @@
|
|
1
1
|
class InquiryMailer < ActionMailer::Base
|
2
2
|
|
3
3
|
def confirmation(inquiry, request)
|
4
|
-
subject InquirySetting.confirmation_subject
|
4
|
+
subject InquirySetting.confirmation_subject
|
5
5
|
recipients inquiry.email
|
6
6
|
from "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
|
7
|
-
reply_to InquirySetting.notification_recipients.
|
7
|
+
reply_to InquirySetting.notification_recipients.split(',').first
|
8
8
|
sent_on Time.now
|
9
9
|
@inquiry = inquiry
|
10
10
|
end
|
11
11
|
|
12
12
|
def notification(inquiry, request)
|
13
|
-
subject InquirySetting.notification_subject
|
14
|
-
recipients InquirySetting.notification_recipients
|
13
|
+
subject InquirySetting.notification_subject
|
14
|
+
recipients InquirySetting.notification_recipients
|
15
15
|
from "\"#{RefinerySetting[:site_name]}\" <no-reply@#{request.domain(RefinerySetting.find_or_set(:tld_length, 1))}>"
|
16
16
|
sent_on Time.now
|
17
17
|
@inquiry = inquiry
|
@@ -1 +1 @@
|
|
1
|
-
<%= InquirySetting.confirmation_body.
|
1
|
+
<%= InquirySetting.confirmation_body.gsub("%name%", @inquiry.name) %>
|
data/lib/gemspec.rb
CHANGED
data/readme.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
Include the latest [gem](http://rubygems.org/gems/refinerycms-inquiries) into your Refinery CMS application's Gemfile:
|
8
8
|
|
9
|
-
gem "refinerycms-inquiries", '~> 0.9.
|
9
|
+
gem "refinerycms-inquiries", '~> 0.9.9'
|
10
10
|
|
11
11
|
Then type the following at command line inside your Refinery CMS application's root directory:
|
12
12
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = %q{refinerycms-inquiries}
|
3
|
-
s.version = %q{0.9.
|
4
|
-
s.date = %q{2010-10-
|
3
|
+
s.version = %q{0.9.9}
|
4
|
+
s.date = %q{2010-10-13}
|
5
5
|
s.summary = %q{Inquiry handling functionality for the Refinery CMS project.}
|
6
6
|
s.description = %q{Inquiry handling functionality extracted from Refinery CMS to allow you to have a contact form and manage inquiries in the Refinery backend.}
|
7
7
|
s.homepage = %q{http://refinerycms.com}
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms-inquiries
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 41
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
|
11
|
-
version: 0.9.8.10
|
9
|
+
- 9
|
10
|
+
version: 0.9.9
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Resolve Digital
|
@@ -16,7 +15,7 @@ autorequire:
|
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-13 00:00:00 +13:00
|
20
19
|
default_executable:
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|