noodall-ui 0.4.9 → 0.4.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  <ol class="tree">
2
2
  <% for node in nodes %>
3
3
  <li>
4
- <% if ( params[:allowed_types] && params[:allowed_types].include?(node.class.to_s) ) && node.id != params[:not_branch] && !node.path.include?(params[:not_branch]) %>
4
+ <% if params[:allowed_types].nil? || ( params[:allowed_types].include?(node.class.to_s) && node.id.to_s != params[:not_branch] && !node.path.map(&:to_s).include?(params[:not_branch]) ) %>
5
5
  <%= link_to h(node.title), node_path(node), :id => "id-#{node.id}" %>
6
6
  <% else %>
7
7
  <%= node.title %>
@@ -1,5 +1,5 @@
1
1
  module Noodall
2
2
  module UI
3
- VERSION = "0.4.9"
3
+ VERSION = "0.4.10"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noodall-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.4.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-02-07 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: noodall-core
16
- requirement: &15844960 !ruby/object:Gem::Requirement
16
+ requirement: &23334280 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.7.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *15844960
24
+ version_requirements: *23334280
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thoughtbot-sortable_table
27
- requirement: &15844480 !ruby/object:Gem::Requirement
27
+ requirement: &23333780 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 0.0.6
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *15844480
35
+ version_requirements: *23333780
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: will_paginate
38
- requirement: &15843980 !ruby/object:Gem::Requirement
38
+ requirement: &23333320 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '3.0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *15843980
46
+ version_requirements: *23333320
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: dynamic_form
49
- requirement: &15843520 !ruby/object:Gem::Requirement
49
+ requirement: &23332840 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *15843520
57
+ version_requirements: *23332840
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: bundler
60
- requirement: &15843040 !ruby/object:Gem::Requirement
60
+ requirement: &23332360 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: 1.0.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *15843040
68
+ version_requirements: *23332360
69
69
  description: Noodall Rails User Interface Engine. Requires Noodall Core
70
70
  email:
71
71
  - steve@wearebeef.co.uk
@@ -656,7 +656,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
656
656
  version: '0'
657
657
  segments:
658
658
  - 0
659
- hash: -2781742433741077573
659
+ hash: -3209971440468104576
660
660
  required_rubygems_version: !ruby/object:Gem::Requirement
661
661
  none: false
662
662
  requirements: