refinerycms-inquiries 0.9.8.5 → 0.9.8.6
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.
- data/app/models/inquiry_setting.rb +6 -1
- data/lib/gemspec.rb +1 -1
- data/refinerycms-inquiries.gemspec +1 -1
- metadata +3 -3
|
@@ -12,7 +12,12 @@ class InquirySetting < ActiveRecord::Base
|
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
def self.confirmation_subject=(value)
|
|
15
|
-
|
|
15
|
+
# handles a change in Refinery API
|
|
16
|
+
if RefinerySetting.methods.map(&:to_sym).include?(:set)
|
|
17
|
+
RefinerySetting.set(:inquiry_confirmation_subject, value)
|
|
18
|
+
else
|
|
19
|
+
RefinerySetting[:inquiry_confirmation_subject] = value
|
|
20
|
+
end
|
|
16
21
|
end
|
|
17
22
|
|
|
18
23
|
def self.notification_recipients
|
data/lib/gemspec.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = %q{refinerycms-inquiries}
|
|
3
|
-
s.version = %q{0.9.8.
|
|
3
|
+
s.version = %q{0.9.8.6}
|
|
4
4
|
s.date = %q{2010-09-08}
|
|
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.}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: refinerycms-inquiries
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 43
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 9
|
|
9
9
|
- 8
|
|
10
|
-
-
|
|
11
|
-
version: 0.9.8.
|
|
10
|
+
- 6
|
|
11
|
+
version: 0.9.8.6
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Resolve Digital
|