breadcrumbs_on_rails 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -0
- data/CHANGELOG.md +5 -0
- data/README.md +1 -1
- data/lib/breadcrumbs_on_rails/breadcrumbs.rb +2 -2
- data/lib/breadcrumbs_on_rails/railtie.rb +1 -1
- data/lib/breadcrumbs_on_rails/version.rb +1 -1
- data/test/dummy.rb +5 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb0f8f370815eeadfacee9e7c5e33db392a474ec
|
4
|
+
data.tar.gz: 31f6ec86e03356fe9305c7adb7485df856fb5740
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a92318dd7f919de822b243c48442a06279d53dc1007e0a7b52f41f8f9cb70d20a7dc884b8ec110d3254367d7be099f66e50b7a49a8020af9185ce8f1ca184601
|
7
|
+
data.tar.gz: bd0f124437491ef12cff0f58fcaac597828857dd0b0f90c325667d0da0fd3b5877a4ef681348ff36c1c690916a11e73a2682fce6e4456af8430c6769d7c596b0
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -108,14 +108,14 @@ module BreadcrumbsOnRails
|
|
108
108
|
attr_accessor :name
|
109
109
|
# @return [String] The element/link URL.
|
110
110
|
attr_accessor :path
|
111
|
-
# @return [Hash] The element/link
|
111
|
+
# @return [Hash] The element/link options.
|
112
112
|
attr_accessor :options
|
113
113
|
|
114
114
|
# Initializes the Element with given parameters.
|
115
115
|
#
|
116
116
|
# @param [String] name The element/link name.
|
117
117
|
# @param [String] path The element/link URL.
|
118
|
-
# @param [Hash] options The element/link
|
118
|
+
# @param [Hash] options The element/link options.
|
119
119
|
# @return [Element]
|
120
120
|
#
|
121
121
|
def initialize(name, path = nil, options = {})
|
data/test/dummy.rb
CHANGED
@@ -39,3 +39,8 @@ class ActiveSupport::TestCase
|
|
39
39
|
end
|
40
40
|
|
41
41
|
end
|
42
|
+
|
43
|
+
# Trigger lazy loading and causes the load_hooks to be executed on
|
44
|
+
# ActionController::API. This is important because breacrumbs_on_rails includes
|
45
|
+
# BreadcrumbsOnRails::ActionController on any module that executes these hooks
|
46
|
+
ActionController::API rescue NameError
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: breadcrumbs_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simone Carletti
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -162,3 +162,4 @@ test_files:
|
|
162
162
|
- test/unit/element_test.rb
|
163
163
|
- test/unit/simple_builder_test.rb
|
164
164
|
- test/views/example/default.html.erb
|
165
|
+
has_rdoc:
|