eac_rails_remotes 0.1.0 → 0.2.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: ad2ac8698baa47735671800fe9a737b2c0fe5330e73964dd4156acceae7c2019
4
- data.tar.gz: e3e71fc55d8a5f2cb6b28aa2ac44643ae29d15550bc4778c00341873bbb7ec10
3
+ metadata.gz: 80028cb05c286cf27f364b68491b1461f0a51c61cb481f2c13c638fbcc8cdf1a
4
+ data.tar.gz: b033f0b5e926bf57c20ae4aa38109ca4538a184ec3df2a89ffe368291d6810bc
5
5
  SHA512:
6
- metadata.gz: 69fdf3ebfa1841ca012def980872fad6e83e7efde4a5d9793890e1836fd6f63145c0b3c4a88a3cea5076e21a23dcabf21a3fcf1333766ba82482e2159670acf0
7
- data.tar.gz: ce03870632e332c6366f5b33e8eb296d066af6f871033c5a204dea29362a08ddfb2a57e336b9a387711ec1707ac7c138b91ffc209c6e1e918aa138a446cfa17f
6
+ metadata.gz: 0dbfe134a2ef93805a029f48e1bb0062c88a0835419b2898a9ea3cb63e0237a535f9ad6ae5a827096851054dbab6515ea609ade7201b1291f415aa93a0e2301a
7
+ data.tar.gz: cbe1477e6976c5c6250552a563c306dfdd8fdf220445444b2c6252ee4792c4acdca57c2e3aae75826d4591501bd3d39428cef8cc805d51e6f29ef0cc62df266e
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_rails_utils/patches/application'
4
+
5
+ ::Rails.application.root_menu.group(:admin).group(:eac_rails_remotes, :eac_rails_remotes)
6
+ .within do |g|
7
+ g.action(:instances).label(-> { ::EacRailsRemotes::Instance.plural_name })
8
+ end
@@ -5,6 +5,12 @@ en:
5
5
  eac_rails_remotes/instance:
6
6
  one: Remote instance
7
7
  other: Remote instances
8
+ eac_rails_utils:
9
+ menus:
10
+ root:
11
+ admin:
12
+ eac_rails_remotes:
13
+ __self: Remotes
8
14
  eac_ruby_utils:
9
15
  listable:
10
16
  remote_instance:
@@ -5,6 +5,12 @@ pt-BR:
5
5
  eac_rails_remotes/instance:
6
6
  one: Instância remota
7
7
  other: Instâncias remotas
8
+ eac_rails_utils:
9
+ menus:
10
+ root:
11
+ admin:
12
+ eac_rails_remotes:
13
+ __self: Remotos
8
14
  eac_ruby_utils:
9
15
  listable:
10
16
  eac_rails_remotes/instance:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsRemotes
4
- VERSION = '0.1.0'
4
+ VERSION = '0.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_rails_remotes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Put here the authors
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-21 00:00:00.000000000 Z
11
+ date: 2023-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eac_active_scaffold
@@ -16,88 +16,68 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0.5'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.2.3
22
+ version: 0.5.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '0.2'
29
+ version: '0.5'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.2.3
32
+ version: 0.5.1
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: eac_rails_utils
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '0.17'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 0.17.1
39
+ version: '0.22'
43
40
  type: :runtime
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
46
43
  requirements:
47
44
  - - "~>"
48
45
  - !ruby/object:Gem::Version
49
- version: '0.17'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 0.17.1
46
+ version: '0.22'
53
47
  - !ruby/object:Gem::Dependency
54
48
  name: eac_ruby_utils
55
49
  requirement: !ruby/object:Gem::Requirement
56
50
  requirements:
57
51
  - - "~>"
58
52
  - !ruby/object:Gem::Version
59
- version: '0.117'
53
+ version: '0.119'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.119.2
60
57
  type: :runtime
61
58
  prerelease: false
62
59
  version_requirements: !ruby/object:Gem::Requirement
63
60
  requirements:
64
61
  - - "~>"
65
62
  - !ruby/object:Gem::Version
66
- version: '0.117'
67
- - !ruby/object:Gem::Dependency
68
- name: eac_rails_gem_support
69
- requirement: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - "~>"
72
- - !ruby/object:Gem::Version
73
- version: '0.7'
74
- type: :development
75
- prerelease: false
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
63
+ version: '0.119'
64
+ - - ">="
79
65
  - !ruby/object:Gem::Version
80
- version: '0.7'
66
+ version: 0.119.2
81
67
  - !ruby/object:Gem::Dependency
82
- name: eac_ruby_gem_support
68
+ name: eac_rails_gem_support
83
69
  requirement: !ruby/object:Gem::Requirement
84
70
  requirements:
85
71
  - - "~>"
86
72
  - !ruby/object:Gem::Version
87
- version: '0.5'
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: 0.5.1
73
+ version: 0.7.2
91
74
  type: :development
92
75
  prerelease: false
93
76
  version_requirements: !ruby/object:Gem::Requirement
94
77
  requirements:
95
78
  - - "~>"
96
79
  - !ruby/object:Gem::Version
97
- version: '0.5'
98
- - - ">="
99
- - !ruby/object:Gem::Version
100
- version: 0.5.1
80
+ version: 0.7.2
101
81
  description:
102
82
  email:
103
83
  executables: []
@@ -108,6 +88,7 @@ files:
108
88
  - app/assets/stylesheets/eac_rails_remotes/application.scss
109
89
  - app/controllers/eac_rails_remotes/instances_controller.rb
110
90
  - app/models/eac_rails_remotes/instance.rb
91
+ - config/initializers/menus.rb
111
92
  - config/locales/en.yml
112
93
  - config/locales/pt-BR.yml
113
94
  - config/routes.rb