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.
@@ -12,7 +12,12 @@ class InquirySetting < ActiveRecord::Base
12
12
  end
13
13
 
14
14
  def self.confirmation_subject=(value)
15
- RefinerySetting[:inquiry_confirmation_subject] = value
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,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '0.9.8.5'
2
+ version = '0.9.8.6'
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$/
@@ -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.5}
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: 45
4
+ hash: 43
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 8
10
- - 5
11
- version: 0.9.8.5
10
+ - 6
11
+ version: 0.9.8.6
12
12
  platform: ruby
13
13
  authors:
14
14
  - Resolve Digital