breadcrumble 3.0.4 → 3.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,6 @@
6
6
  <%= link_to_unless_current span_title, trail[0][:url], itemprop: "url" %>
7
7
  <% end %>
8
8
  <% if trail.size > 1 %>
9
- ><%= render partial: 'breadcrumble/breadcrumb_trail', locals: { trail: trail.drop(1) } %>
9
+ &gt;<%= render partial: 'breadcrumble/breadcrumb_trail', locals: { trail: trail.drop(1) } %>
10
10
  <% end %>
11
11
  </span>
@@ -8,7 +8,7 @@
8
8
  <%= link_to_unless_current span_title, trail[0][:url], itemprop: "url" %>
9
9
  <% end %>
10
10
  <% if trail.size > 1 %>
11
- ><%= render partial: 'breadcrumble/breadcrumb_trail', locals: { trail: trail.drop(1) } %>
11
+ &gt;<%= render partial: 'breadcrumble/breadcrumb_trail', locals: { trail: trail.drop(1) } %>
12
12
  <% end %>
13
13
  </div>
14
14
  <% end %>
@@ -8,7 +8,7 @@ module Breadcrumble
8
8
 
9
9
  module ClassMethods
10
10
  def add_breadcrumb name, url = nil, filter_options = {}
11
- before_filter do |controller|
11
+ before_filter(filter_options) do |controller|
12
12
  controller.send :add_breadcrumb, name, url
13
13
  end
14
14
  end
@@ -1,5 +1,5 @@
1
1
  module Breadcrumble
2
- class Railtie < Rails::Railtie
2
+ class Railtie < ::Rails::Railtie
3
3
  initializer "breadcrumble.initialize" do
4
4
  ActiveSupport.on_load(:action_controller) do
5
5
  include Breadcrumble::ActionController
@@ -1,3 +1,3 @@
1
1
  module Breadcrumble
2
- VERSION = "3.0.4"
2
+ VERSION = "3.0.5"
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: 3.0.4
4
+ version: 3.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-28 00:00:00.000000000 Z
12
+ date: 2013-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  segments:
129
129
  - 0
130
- hash: -696448938545862110
130
+ hash: 2253553604662320325
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: -696448938545862110
139
+ hash: 2253553604662320325
140
140
  requirements: []
141
141
  rubyforge_project:
142
142
  rubygems_version: 1.8.23