crumby 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/crumby.gemspec +1 -1
- data/lib/crumby/trail.rb +7 -3
- metadata +2 -2
data/README.rdoc
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/crumby.gemspec
CHANGED
data/lib/crumby/trail.rb
CHANGED
@@ -111,9 +111,13 @@ module Crumby
|
|
111
111
|
title_entries = entries
|
112
112
|
title_entries = title_entries[1..-1] if options[:skip_first]
|
113
113
|
|
114
|
-
|
115
|
-
|
116
|
-
|
114
|
+
if not title_entries.nil? and title_entries.count > 0
|
115
|
+
title = title_entries.reverse.collect{ |e| e[:label] }
|
116
|
+
title += [suffix] if suffix.present?
|
117
|
+
title.join(options[:divider])
|
118
|
+
else
|
119
|
+
suffix.to_s
|
120
|
+
end
|
117
121
|
end
|
118
122
|
|
119
123
|
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.1
|
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: -2895121973989839435
|
157
157
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
158
158
|
none: false
|
159
159
|
requirements:
|