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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e2aba2e33fdbd5f501166408296c620b243dee6
4
- data.tar.gz: 603f428c25d2646f13ef14af720e525679b03b4f
3
+ metadata.gz: 95601daeeacbc165deeb34af34560d6891660794
4
+ data.tar.gz: f51c7ccdd8d1aa0640e33d497646aadee522f9d6
5
5
  SHA512:
6
- metadata.gz: f4118cbb039f0566075db8f7294e9a4b1f19eb27b3f37a9e641e75a85e5a5c4ce02456ecb28526a12bd34de658b53d87b67e2232524e96480440ade5f4fdaf66
7
- data.tar.gz: 622868461ff0c0b43c6fbee8fd216520d1ddfc31150595babf95c6112a86ea6a05c8bdb4abb529fd25cb075df160d1fe81319ea23b652b69a150264224b04582
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 :resource_menu_label
5
+ cattr_accessor :navigation_label
6
6
  end
7
7
  module ClassMethods
8
- def resource_menu_label key=nil
8
+ def resource_menu_label key
9
+ self.navigation_label = key
9
10
  end
10
11
  end
11
12
  end
@@ -1,3 +1,3 @@
1
1
  module NavigatorRails
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  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.10
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-23 00:00:00.000000000 Z
11
+ date: 2014-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails