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.value
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.value.split(',').first
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.value
14
- recipients InquirySetting.notification_recipients.value
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.value.gsub("%name%", @inquiry.name) %>
1
+ <%= InquirySetting.confirmation_body.gsub("%name%", @inquiry.name) %>
@@ -1,4 +1,4 @@
1
- @inquiries @inquiries-create
1
+ @refinerycms @inquiries @inquiries-create
2
2
  Feature: Create Inquiries
3
3
  In order to contact the website owner
4
4
  I want to create an inquiry
@@ -1,4 +1,4 @@
1
- @inquiries @inquiries-manage
1
+ @refinerycms @inquiries @inquiries-manage
2
2
  Feature: Manage Inquiries
3
3
  In order to see inquiries left for me on my website
4
4
  As an Administrator
data/lib/gemspec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '0.9.8.10'
2
+ version = '0.9.9'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = Dir.glob("**/*").flatten.reject do |file|
5
5
  file =~ /\.gem$/
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.8.7'
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.8.10}
4
- s.date = %q{2010-10-01}
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: 51
4
+ hash: 41
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 8
10
- - 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-01 00:00:00 +13:00
18
+ date: 2010-10-13 00:00:00 +13:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency