rocket_cms 0.6.17 → 0.6.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/app/controllers/concerns/rs_menu.rb +10 -0
- data/lib/rocket_cms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c2b41cc29ff68ef584a614f878f323153c76a3e
|
4
|
+
data.tar.gz: 324e2b92a36f8022b0a774b4fba136fbe570995b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2b7c2a90cc72b65b23161250a2a7b3ad76d7a361bca40ff847464a0a9192adce83da5b6c9aa3d98781a8b12f97507dfd80bda4b3287e91e7940d59eb953b1ca
|
7
|
+
data.tar.gz: 2a46830423d9d5fc278941117b7b0534cd7f2128d81b0728d3e5cbe9b19bf7f1f74d945d5f62cc252ed74f000b44698b8b8569ef238faf3da0f6db8cff6260ab
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rocket_cms (0.6.
|
4
|
+
rocket_cms (0.6.18)
|
5
5
|
addressable
|
6
6
|
coffee-rails
|
7
7
|
devise
|
@@ -107,19 +107,19 @@ GEM
|
|
107
107
|
kaminari (0.16.3)
|
108
108
|
actionpack (>= 3.0.0)
|
109
109
|
activesupport (>= 3.0.0)
|
110
|
-
loofah (2.0.
|
110
|
+
loofah (2.0.2)
|
111
111
|
nokogiri (>= 1.5.9)
|
112
112
|
mail (2.6.3)
|
113
113
|
mime-types (>= 1.16, < 3)
|
114
|
-
mime-types (2.
|
114
|
+
mime-types (2.5)
|
115
115
|
mini_magick (4.2.3)
|
116
116
|
mini_portile (0.6.2)
|
117
|
-
minitest (5.6.
|
117
|
+
minitest (5.6.1)
|
118
118
|
nested_form (0.3.2)
|
119
119
|
nokogiri (1.6.6.2)
|
120
120
|
mini_portile (~> 0.6.0)
|
121
121
|
orm_adapter (0.5.0)
|
122
|
-
rack (1.6.
|
122
|
+
rack (1.6.1)
|
123
123
|
rack-pjax (0.8.0)
|
124
124
|
nokogiri (~> 1.5)
|
125
125
|
rack (~> 1.1)
|
@@ -158,7 +158,7 @@ GEM
|
|
158
158
|
remotipart (~> 1.0)
|
159
159
|
safe_yaml (~> 1.0)
|
160
160
|
sass-rails (>= 4.0, < 6)
|
161
|
-
rails_admin_nested_set (0.4.
|
161
|
+
rails_admin_nested_set (0.4.2)
|
162
162
|
rails_admin (~> 0.6.6)
|
163
163
|
rails_admin_settings (1.0.0)
|
164
164
|
rails_admin_toggleable (0.5.0)
|
@@ -190,7 +190,7 @@ GEM
|
|
190
190
|
smart_excerpt (0.1.5)
|
191
191
|
activesupport
|
192
192
|
htmlentities
|
193
|
-
sprockets (3.0.
|
193
|
+
sprockets (3.0.3)
|
194
194
|
rack (~> 1.0)
|
195
195
|
sprockets-rails (2.2.4)
|
196
196
|
actionpack (>= 3.0)
|
@@ -30,10 +30,12 @@ module RsMenu
|
|
30
30
|
Proc.new do |primary|
|
31
31
|
SimpleNavigation.config.autogenerate_item_ids = false
|
32
32
|
begin
|
33
|
+
nav_extra_data_before(primary)
|
33
34
|
items = ::Menu.find(type.to_s).pages.enabled.sorted.to_a
|
34
35
|
items.select { |i| i.parent_id.nil? && !i.name.blank? && i.enabled }.each do |item|
|
35
36
|
render_with_subs(items, primary, item)
|
36
37
|
end
|
38
|
+
nav_extra_data_after(primary)
|
37
39
|
rescue Exception => exception
|
38
40
|
Rails.logger.error exception.message
|
39
41
|
Rails.logger.error exception.backtrace.join("\n")
|
@@ -42,4 +44,12 @@ module RsMenu
|
|
42
44
|
end
|
43
45
|
end
|
44
46
|
end
|
47
|
+
|
48
|
+
def nav_extra_data_before(primary)
|
49
|
+
# override for additional config or items
|
50
|
+
end
|
51
|
+
def nav_extra_data_after(primary)
|
52
|
+
# override for additional config or items
|
53
|
+
end
|
45
54
|
end
|
55
|
+
|
data/lib/rocket_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocket_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebtv
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|