navigator_rails 0.0.10 → 0.0.11
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.
- checksums.yaml +4 -4
- data/lib/navigator_rails/presentable.rb +3 -2
- data/lib/navigator_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95601daeeacbc165deeb34af34560d6891660794
|
4
|
+
data.tar.gz: f51c7ccdd8d1aa0640e33d497646aadee522f9d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a980bb039e306dd05020fc916daf96ac909fca00b01aa805b02c727b9fd320e8728a538545a796bbf0028f3464b2a8cc79ec30eb44ad7da1826eb2b54ae1a2a
|
7
|
+
data.tar.gz: f2fef48ff99615affdf81a3a23d8df1464be0d77e94c6f9d57e84e09a2036f41191b8e24f800ca41cda2d94f35fdade2a48b89183e84da276a8ad55207330d0f
|
@@ -2,10 +2,11 @@ module NavigatorRails
|
|
2
2
|
module Presentable
|
3
3
|
extend ActiveSupport::Concern
|
4
4
|
included do
|
5
|
-
cattr_accessor :
|
5
|
+
cattr_accessor :navigation_label
|
6
6
|
end
|
7
7
|
module ClassMethods
|
8
|
-
def resource_menu_label key
|
8
|
+
def resource_menu_label key
|
9
|
+
self.navigation_label = key
|
9
10
|
end
|
10
11
|
end
|
11
12
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: navigator_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mathias Kaufmann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|