refinerycms-inquiries 0.9.8.6 → 0.9.8.7
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/lib/gemspec.rb +1 -1
- data/lib/inquiries.rb +0 -22
- data/lib/refinerycms-inquiries.rb +23 -0
- data/readme.md +13 -0
- data/refinerycms-inquiries.gemspec +3 -2
- metadata +5 -4
data/lib/gemspec.rb
CHANGED
data/lib/inquiries.rb
CHANGED
|
@@ -1,24 +1,2 @@
|
|
|
1
1
|
require 'refinery'
|
|
2
2
|
require 'filters_spam'
|
|
3
|
-
|
|
4
|
-
module Refinery
|
|
5
|
-
module Inquiries
|
|
6
|
-
class Engine < Rails::Engine
|
|
7
|
-
config.to_prepare do
|
|
8
|
-
require 'filters_spam'
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
config.after_initialize do
|
|
12
|
-
Refinery::Plugin.register do |plugin|
|
|
13
|
-
plugin.name = "refinery_inquiries"
|
|
14
|
-
plugin.directory = "inquiries"
|
|
15
|
-
plugin.menu_match = /(refinery|admin)\/inquir(ies|y_settings)$/
|
|
16
|
-
plugin.activity = {
|
|
17
|
-
:class => InquirySetting,
|
|
18
|
-
:title => 'name'
|
|
19
|
-
}
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
require File.expand_path('../inquiries', __FILE__)
|
|
2
|
+
|
|
3
|
+
module Refinery
|
|
4
|
+
module Inquiries
|
|
5
|
+
class Engine < Rails::Engine
|
|
6
|
+
config.to_prepare do
|
|
7
|
+
require 'filters_spam'
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
config.after_initialize do
|
|
11
|
+
Refinery::Plugin.register do |plugin|
|
|
12
|
+
plugin.name = "refinery_inquiries"
|
|
13
|
+
plugin.directory = "inquiries"
|
|
14
|
+
plugin.menu_match = /(refinery|admin)\/inquir(ies|y_settings)$/
|
|
15
|
+
plugin.activity = {
|
|
16
|
+
:class => InquirySetting,
|
|
17
|
+
:title => 'name'
|
|
18
|
+
}
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
data/readme.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|
|
|
5
|
+
### Gem Installation using Bundler (The very best way)
|
|
6
|
+
|
|
7
|
+
Include the latest [gem](http://rubygems.org/gems/refinerycms-inquiries) into your Refinery CMS application's Gemfile:
|
|
8
|
+
|
|
9
|
+
gem "refinerycms-inquiries", '~> 0.9.8.7'
|
|
10
|
+
|
|
11
|
+
Then type the following at command line inside your Refinery CMS application's root directory:
|
|
12
|
+
|
|
13
|
+
bundle install
|
|
14
|
+
|
|
15
|
+
You don't currently have to do any migrations because Refinery CMS never removed the inquiries tables by default.
|
|
16
|
+
This may change in a future version.
|
|
17
|
+
|
|
5
18
|
## About
|
|
6
19
|
|
|
7
20
|
__Add a simple contact form to Refinery that notifies you and the customer when an inquiry is made.__
|
|
@@ -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.
|
|
4
|
-
s.date = %q{2010-09-
|
|
3
|
+
s.version = %q{0.9.8.7}
|
|
4
|
+
s.date = %q{2010-09-09}
|
|
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}
|
|
@@ -67,6 +67,7 @@ Gem::Specification.new do |s|
|
|
|
67
67
|
'lib',
|
|
68
68
|
'lib/gemspec.rb',
|
|
69
69
|
'lib/inquiries.rb',
|
|
70
|
+
'lib/refinerycms-inquiries.rb',
|
|
70
71
|
'license.md',
|
|
71
72
|
'readme.md',
|
|
72
73
|
'refinerycms-inquiries.gemspec'
|
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: 41
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 9
|
|
9
9
|
- 8
|
|
10
|
-
-
|
|
11
|
-
version: 0.9.8.
|
|
10
|
+
- 7
|
|
11
|
+
version: 0.9.8.7
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Resolve Digital
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2010-09-
|
|
19
|
+
date: 2010-09-09 00:00:00 +12:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -82,6 +82,7 @@ files:
|
|
|
82
82
|
- features/support/paths.rb
|
|
83
83
|
- lib/gemspec.rb
|
|
84
84
|
- lib/inquiries.rb
|
|
85
|
+
- lib/refinerycms-inquiries.rb
|
|
85
86
|
- license.md
|
|
86
87
|
- readme.md
|
|
87
88
|
- refinerycms-inquiries.gemspec
|