breadcrumble 0.0.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
1
1
  <div>
2
2
  <% breadcrumbs.each_with_index do |crumb, i| %>
3
3
  <%= '>' unless i == 0 %>
4
- <span>
5
- <%= link_to_unless_current crumb[:name], crumb[:url] %>
4
+ <span itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
5
+ <%= link_to_unless_current content_tag(:span, crumb[:name], itemprop: "title"), crumb[:url], itemprop: "url" %>
6
6
  </span>
7
7
  <% end %>
8
8
  </div>
@@ -1,3 +1,3 @@
1
1
  module Breadcrumble
2
- VERSION = "0.0.3"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breadcrumble
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: