navigator_rails 0.0.9 → 0.0.10

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: 07f9ecac826bb990e7d3bd06da5ff06a5fab81c1
4
- data.tar.gz: 89abfe33bac1ffa334a02b1219154a4456eb89e2
3
+ metadata.gz: 0e2aba2e33fdbd5f501166408296c620b243dee6
4
+ data.tar.gz: 603f428c25d2646f13ef14af720e525679b03b4f
5
5
  SHA512:
6
- metadata.gz: a92fd10b937c10343596c20a2e3e7bed494b784b5a57390ebe0c01489097e16e3dc7923bd8a2530996834ab6a29a7f9e1eab19d60fe456719f9876d8d683fa12
7
- data.tar.gz: 7e30aec38b8b92fd5b0ccc67d9be3a380db829a9a3106c344dbecd88b931859b5555f8ba8decd3f2bf7a8c0eb0bb772ca460b8aacda81e7fb8aa1799c7d1fcd5
6
+ metadata.gz: f4118cbb039f0566075db8f7294e9a4b1f19eb27b3f37a9e641e75a85e5a5c4ce02456ecb28526a12bd34de658b53d87b67e2232524e96480440ade5f4fdaf66
7
+ data.tar.gz: 622868461ff0c0b43c6fbee8fd216520d1ddfc31150595babf95c6112a86ea6a05c8bdb4abb529fd25cb075df160d1fe81319ea23b652b69a150264224b04582
@@ -1,5 +1,6 @@
1
1
  require 'navigator_rails/config'
2
2
  require 'navigator_rails/navigatable'
3
+ require 'navigator_rails/presentable'
3
4
  require 'navigator_rails/contextable'
4
5
  require 'navigator_rails/store'
5
6
  require 'navigator_rails/helpers'
@@ -0,0 +1,12 @@
1
+ module NavigatorRails
2
+ module Presentable
3
+ extend ActiveSupport::Concern
4
+ included do
5
+ cattr_accessor :resource_menu_label
6
+ end
7
+ module ClassMethods
8
+ def resource_menu_label key=nil
9
+ end
10
+ end
11
+ end
12
+ end
@@ -1,3 +1,3 @@
1
1
  module NavigatorRails
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
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.9
4
+ version: 0.0.10
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-18 00:00:00.000000000 Z
11
+ date: 2014-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -113,6 +113,7 @@ files:
113
113
  - lib/navigator_rails/item.rb
114
114
  - lib/navigator_rails/navigatable.rb
115
115
  - lib/navigator_rails/navigator.rb
116
+ - lib/navigator_rails/presentable.rb
116
117
  - lib/navigator_rails/store.rb
117
118
  - lib/navigator_rails/version.rb
118
119
  - test/dummy/README.rdoc