breadcrumble 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.md +5 -5
  2. data/lib/breadcrumble/version.rb +1 -1
  3. metadata +2 -2
data/README.md CHANGED
@@ -17,20 +17,20 @@ Or install it yourself as:
17
17
  $ gem install breadcrumble
18
18
 
19
19
  ## Usage
20
- In your controller, call `add_breadcrumb` to push a new element on the breadcrumb stack.
20
+ In your controller, call `add_crumb` to push a new crumb on the breadcrumb stack.
21
21
 
22
22
  class SampleController
23
23
 
24
- add_breadcrumb "home", home_url
25
- add_breadcrumb "sample", sample_url
24
+ add_crumb "home", home_url
25
+ add_crumb "sample", sample_url
26
26
 
27
27
  def index
28
- add_breadcrumb "index", index_url
28
+ add_crumb "index", index_url
29
29
  end
30
30
 
31
31
  end
32
32
 
33
- In your view, you can render the breadcrumb menu with the `render_breadcrums` helper.
33
+ In your view, you can render the breadcrumb navigation with the `render_breadcrumbs` helper.
34
34
 
35
35
  <body>
36
36
  <%= render_breadcrumbs %>
@@ -1,3 +1,3 @@
1
1
  module Breadcrumble
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.3"
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.1
4
+ version: 0.0.3
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: 2012-12-01 00:00:00.000000000 Z
12
+ date: 2012-12-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails