activeadmin-menu_tree 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a653a9f1c51e633dff273004db51decc6fb83ae1fc65c1fe80115710704cc13e
4
- data.tar.gz: e1ffa9b248cdd6c63920877695d49b51cc94d4cc4cf89de4cd7919a94a9413ad
3
+ metadata.gz: 888200f43639792b0e3399f615e2581daf617b961e08977d766148ea3e177e3f
4
+ data.tar.gz: 45520ffd081b84074e51f259ea0c7be3baf4290d7e84e9d4cc333c18a566dafe
5
5
  SHA512:
6
- metadata.gz: 3b0c9d1405c3b35a27255cfdeedf18ccece589991c7fa8f91c28b518a7cabac180cb940406112c1d065055a5281ac894389a41a4ae65320f6836a1af47be0f7d
7
- data.tar.gz: 569b99a28bf7cfc8277915138e0ff5f3d579f95b07ed791867f44651b225c2edb47259610f09a61635592ad60a1f7486004c94272decf34008b3b3520a13ac0a
6
+ metadata.gz: 2f23ca691fb6f429385118558455ded147c6460289e10c749b596acfd1327cca98ab3def345f6be0b7a48b5ddf0419eef7501e796b33daba2849f5b1e136498f
7
+ data.tar.gz: 4a2832c6baaf35ab2c394d60588e1c39cebc4590993d66af565964799204618abd148729e0fa7dd3e769eec18d780116becabb85af625b2747719cf3cc1b9c53
data/.rubocop.yml CHANGED
@@ -26,6 +26,8 @@ Style/TrailingCommaInHashLiteral:
26
26
 
27
27
  Layout/LineLength:
28
28
  Max: 120
29
+ Exclude:
30
+ - '*.gemspec'
29
31
 
30
32
  Layout/SpaceBeforeBlockBraces:
31
33
  Enabled: false
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveAdmin::MenuTree
4
+ # ActiveAdmin::MenuTree::Config class
4
5
  class Config
5
6
  attr_reader :menu_tree, :menu_options
6
7
 
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveAdmin::MenuTree
4
+ # ActiveAdmin::MenuTree::DSL class
4
5
  module DSL
5
6
  def menu_tree(**args)
6
7
  options = menu_tree_config.find_menu_option(name: config.resource_name.name) || {}
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveAdmin
4
4
  module MenuTree
5
- VERSION = "0.0.1"
5
+ VERSION = "0.1.0"
6
6
  end
7
7
  end
@@ -8,6 +8,7 @@ require_relative "menu_tree/config"
8
8
  require_relative "menu_tree/dsl"
9
9
 
10
10
  module ActiveAdmin
11
+ # ActiveAdmin::MenuTree class
11
12
  module MenuTree
12
13
  class Error < StandardError; end
13
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin-menu_tree
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - shuuuuuny
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-27 00:00:00.000000000 Z
11
+ date: 2021-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin