refinerycms-settings 0.9.9.5 → 0.9.9.7
Sign up to get free protection for your applications and to get access to all the features.
@@ -6,18 +6,12 @@ module Admin
|
|
6
6
|
crudify :refinery_setting,
|
7
7
|
:title_attribute => :title,
|
8
8
|
:order => "name ASC",
|
9
|
-
:redirect_to_url => :redirect_to_where
|
9
|
+
:redirect_to_url => :redirect_to_where?,
|
10
|
+
:xhr_paging => true
|
10
11
|
|
11
12
|
before_filter :sanitise_params, :only => [:create, :update]
|
12
13
|
after_filter :fire_setting_callback, :only => [:update]
|
13
14
|
|
14
|
-
def index
|
15
|
-
search_all_refinery_settings if searching?
|
16
|
-
paginate_all_refinery_settings
|
17
|
-
|
18
|
-
render :partial => 'refinery_settings' if request.xhr?
|
19
|
-
end
|
20
|
-
|
21
15
|
def new
|
22
16
|
if current_user.has_role?(:superuser) and params[:form_value_type].present?
|
23
17
|
@refinery_setting = RefinerySetting.new(:form_value_type => params[:form_value_type])
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{refinerycms-settings}
|
5
|
-
s.version = %q{0.9.9.
|
5
|
+
s.version = %q{0.9.9.7}
|
6
6
|
s.summary = %q{Settings engine for Refinery CMS}
|
7
7
|
s.description = %q{The default settings engine that is required by Refinery CMS core. Adds programmer creatable, user editable settings for each engine.}
|
8
|
-
s.date = %q{2011-03-
|
8
|
+
s.date = %q{2011-03-10}
|
9
9
|
s.email = %q{info@refinerycms.com}
|
10
10
|
s.homepage = %q{http://refinerycms.com}
|
11
11
|
s.rubyforge_project = %q{refinerycms}
|
@@ -80,5 +80,5 @@ Gem::Specification.new do |s|
|
|
80
80
|
'spec/models/refinery_setting_spec.rb'
|
81
81
|
]
|
82
82
|
|
83
|
-
s.add_dependency 'refinerycms-base', '~> 0.9.9.
|
83
|
+
s.add_dependency 'refinerycms-base', '~> 0.9.9.7'
|
84
84
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: refinerycms-settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.9.9.
|
5
|
+
version: 0.9.9.7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Resolve Digital
|
@@ -13,7 +13,7 @@ autorequire:
|
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
15
|
|
16
|
-
date: 2011-03-
|
16
|
+
date: 2011-03-10 00:00:00 +13:00
|
17
17
|
default_executable:
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
requirements:
|
25
25
|
- - ~>
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.9.9.
|
27
|
+
version: 0.9.9.7
|
28
28
|
type: :runtime
|
29
29
|
version_requirements: *id001
|
30
30
|
description: The default settings engine that is required by Refinery CMS core. Adds programmer creatable, user editable settings for each engine.
|
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
104
|
requirements: []
|
105
105
|
|
106
106
|
rubyforge_project: refinerycms
|
107
|
-
rubygems_version: 1.6.
|
107
|
+
rubygems_version: 1.6.1
|
108
108
|
signing_key:
|
109
109
|
specification_version: 3
|
110
110
|
summary: Settings engine for Refinery CMS
|