sigmund_liquid 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
M2M4NWM0MGFjYjE2ZTU4NjFiODYyYTE3MGZkOGQ4OTI0YjdjNmMxOA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjM5OGEyZTU5NDZmZGRmYjI0Y2I2ZDQwMDFjMjA4ZmE5YjNmNDlmNQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDAxMmFlMzIyMjFjMjIxNjUxZmRhOThlNGE0ZWRmOWI2NWY1NGYzNDg5YmM0
|
10
|
+
ZGMxODlkZjAxZjk0MzE5MTNmNzQyNzhhNjZmNmY3ZmQ1ZWY2Njg2ZTIxZmNk
|
11
|
+
ZTA0ODc5MTA5OTIwYzBlZDE0OWQ5MGY2NTQyZDg2YTViYjU2MTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZGY4NmE5YmQ3YzY2OTMxOTljMWJhMGQ1MTI3Y2Y4NjkwOTA1ZDI0MjM0MTZl
|
14
|
+
ZmZjZmRhYWY4NjY2YWEwNDhlNjM5YTE1MzNhNzA3MGMwMmU3ZmFhZjQ4Yzcw
|
15
|
+
MmNlZjQxYjA3OTY5N2I0Y2I0ZTMzMzQwMDQ5ZmJjZDIxZGNkYjE=
|
@@ -68,16 +68,13 @@ module Sigmund
|
|
68
68
|
output = %{}
|
69
69
|
children = page.children_with_minimal_attributes.reject { |c| !include_page?(c) }
|
70
70
|
if children.present?
|
71
|
-
output = %{<ul id="#{@options[:id]}-#{page.slug.to_s.dasherize}" >}
|
72
71
|
children.each do |c, page|
|
73
72
|
css = []
|
74
73
|
css << 'first' if children.first == c
|
75
74
|
css << 'last' if children.last == c
|
76
75
|
output << render_entry_link(context, c, css.join(' '), depth, children.first == c, children.last == c)
|
77
76
|
end
|
78
|
-
output << %{</ul>}
|
79
77
|
end
|
80
|
-
|
81
78
|
output
|
82
79
|
end
|
83
80
|
|
@@ -62,7 +62,6 @@ module Sigmund
|
|
62
62
|
list_class = !@options[:class].blank? ? %( class="#{@options[:class]}") : ''
|
63
63
|
output = %{<nav id="#{@options[:id]}"#{list_class}><ul>\n#{output}</ul></nav>}
|
64
64
|
end
|
65
|
-
|
66
65
|
output
|
67
66
|
end
|
68
67
|
|
@@ -124,7 +123,6 @@ module Sigmund
|
|
124
123
|
|
125
124
|
children = page.children_with_minimal_attributes(@options[:add_attributes]).reject { |c| !include_page?(c) }
|
126
125
|
if children.present?
|
127
|
-
output = %{<ul id="#{@options[:id]}-#{page.slug.to_s.dasherize}" class="#{bootstrap? ? 'dropdown-menu' : ''}">}
|
128
126
|
children.each do |c, page|
|
129
127
|
css = []
|
130
128
|
css << 'first' if children.first == c
|
@@ -132,7 +130,6 @@ module Sigmund
|
|
132
130
|
|
133
131
|
output << render_entry_link(context, c, css.join(' '), depth, children.first == c, children.last == c)
|
134
132
|
end
|
135
|
-
output << %{</ul>}
|
136
133
|
end
|
137
134
|
|
138
135
|
output
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sigmund_liquid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- amainguy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|