crumby 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/crumby.gemspec +1 -1
- data/lib/crumby/renderer/haml.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.2
|
data/crumby.gemspec
CHANGED
data/lib/crumby/renderer/haml.rb
CHANGED
@@ -27,7 +27,7 @@ module Crumby::Renderer
|
|
27
27
|
def render_entry(entry)
|
28
28
|
view.haml_tag :li, class: (entry.last? ? 'active' : nil) do
|
29
29
|
if entry.route.nil? or (entry.last? and not options[:link_last]) or (entry.first? and not options[:link_first])
|
30
|
-
view.
|
30
|
+
view.haml_tag :span, entry.label
|
31
31
|
else
|
32
32
|
view.haml_concat view.link_to(entry.label, entry.route)
|
33
33
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crumby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -153,7 +153,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
segments:
|
155
155
|
- 0
|
156
|
-
hash:
|
156
|
+
hash: 2716681736733543475
|
157
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
158
|
none: false
|
159
159
|
requirements:
|