rocket_cms 0.6.18 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8c2b41cc29ff68ef584a614f878f323153c76a3e
4
- data.tar.gz: 324e2b92a36f8022b0a774b4fba136fbe570995b
3
+ metadata.gz: ff5e67aaf6a6c9270fb207ec1d91b941b419e07e
4
+ data.tar.gz: 74f4ae63372c683fc0de7bf513d85df21da00a2d
5
5
  SHA512:
6
- metadata.gz: c2b7c2a90cc72b65b23161250a2a7b3ad76d7a361bca40ff847464a0a9192adce83da5b6c9aa3d98781a8b12f97507dfd80bda4b3287e91e7940d59eb953b1ca
7
- data.tar.gz: 2a46830423d9d5fc278941117b7b0534cd7f2128d81b0728d3e5cbe9b19bf7f1f74d945d5f62cc252ed74f000b44698b8b8569ef238faf3da0f6db8cff6260ab
6
+ metadata.gz: 363f870524458a6e199d6b917222323e85ceb0ace0e9afbeda473fa6391d5427e0913729fc1acbc388098874e24ca8511b528f020a761a0fafa3b258e71dfef8
7
+ data.tar.gz: fb2468d78d11554f84ce59a64be5252d34a65f27601a9b65acc4d57e246c2125cfea635ff99fcb0a465183e65dd3d4e147c4129b79c5794b7a4301ae8b64bb37
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rocket_cms (0.6.18)
4
+ rocket_cms (0.7.0)
5
5
  addressable
6
6
  coffee-rails
7
7
  devise
@@ -30,12 +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
+ nav_extra_data_before(type, primary)
34
34
  items = ::Menu.find(type.to_s).pages.enabled.sorted.to_a
35
35
  items.select { |i| i.parent_id.nil? && !i.name.blank? && i.enabled }.each do |item|
36
36
  render_with_subs(items, primary, item)
37
37
  end
38
- nav_extra_data_after(primary)
38
+ nav_extra_data_after(type, primary)
39
39
  rescue Exception => exception
40
40
  Rails.logger.error exception.message
41
41
  Rails.logger.error exception.backtrace.join("\n")
@@ -45,10 +45,10 @@ module RsMenu
45
45
  end
46
46
  end
47
47
 
48
- def nav_extra_data_before(primary)
48
+ def nav_extra_data_before(type, primary)
49
49
  # override for additional config or items
50
50
  end
51
- def nav_extra_data_after(primary)
51
+ def nav_extra_data_after(type, primary)
52
52
  # override for additional config or items
53
53
  end
54
54
  end
@@ -1,3 +1,3 @@
1
1
  module RocketCMS
2
- VERSION = "0.6.18"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocket_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.18
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - glebtv