br_railties 0.4.8 → 0.5.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: aac53e1c90e13be5d367900ce76f2044cd922de06577edf4d88d4656697d5b2d
4
- data.tar.gz: 6ab28315045e1a6de85aa04287333a674e7c93c7cc00aad5262670fc240121b3
3
+ metadata.gz: 5ae69743123ec41332c4656f13ba7083fd3130851f120397263ff9c403c428c1
4
+ data.tar.gz: fa747d78c39bb61ddf084449cbfd9e80f28b9bc0346285a734ce8b54c896aecb
5
5
  SHA512:
6
- metadata.gz: 8bfe70517ec47004f0f7c2f10528cebd2dfcc1aca5eac37824f1a1f67269d6922d9e3bc45bcad7ba9d75bc35a39260e9955d55e388daadd5f27474ea57e6b4e3
7
- data.tar.gz: cc21b5bd6bbdfde8366518b243f62a482e07d449bceaaf99b86d0b7eb5941861fd23cafe593b54af209204cd79a7140b83624bf0d2b454b61b83a70873ea9b88
6
+ metadata.gz: 717e2a3a6a7d8c1c1cfba426efe2a899ce69ba84a6f1cd6a12bc96e284c5c1dacd337723bad406a0d65fb4221e3e15e62345ae3c1cf67a6fce83161d70bdcb3b
7
+ data.tar.gz: 45216fc9dfb504783106497bcd57839fc955cc14babadf2e78a7364a295f1933e0b465734e8833c76dd529dbf3680c89db6be71e91f6610e8b8356bbe3f9e205
data/Gemfile CHANGED
@@ -3,3 +3,6 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gemspec
6
+
7
+ local_gemfile = ::File.join(::File.dirname(__FILE__), 'Gemfile.local')
8
+ eval_gemfile local_gemfile if ::File.exist?(local_gemfile)
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ ::Rails.application.root_menu.group(:admin).group(:br_railties, :br_railties).within do |g|
4
+ g.action(:federal_units).label(-> { ::BrRailties::FederalUnit.plural_name })
5
+ g.action(:municipalities).label(-> { ::BrRailties::Municipality.plural_name })
6
+ end
@@ -0,0 +1,7 @@
1
+ en:
2
+ eac_rails_utils:
3
+ menus:
4
+ root:
5
+ admin:
6
+ br_railties:
7
+ __self: Brazilities
@@ -0,0 +1,7 @@
1
+ pt-BR:
2
+ eac_rails_utils:
3
+ menus:
4
+ root:
5
+ admin:
6
+ br_railties:
7
+ __self: Brasilidades
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrRailties
4
- VERSION = '0.4.8'
4
+ VERSION = '0.5.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: br_railties
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-05 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,28 +16,40 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.5'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.5.1
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
- version: '0.1'
29
+ version: '0.5'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.5.1
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: railties
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: 6.1.7
31
40
  - - ">="
32
41
  - !ruby/object:Gem::Version
33
- version: 4.2.11.3
42
+ version: 6.1.7.6
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: 6.1.7
38
50
  - - ">="
39
51
  - !ruby/object:Gem::Version
40
- version: 4.2.11.3
52
+ version: 6.1.7.6
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: recordselect
43
55
  requirement: !ruby/object:Gem::Requirement
@@ -45,6 +57,9 @@ dependencies:
45
57
  - - "~>"
46
58
  - !ruby/object:Gem::Version
47
59
  version: '3.10'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 3.10.4
48
63
  type: :runtime
49
64
  prerelease: false
50
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,20 +67,23 @@ dependencies:
52
67
  - - "~>"
53
68
  - !ruby/object:Gem::Version
54
69
  version: '3.10'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 3.10.4
55
73
  - !ruby/object:Gem::Dependency
56
- name: eac_ruby_gem_support
74
+ name: eac_rails_gem_support
57
75
  requirement: !ruby/object:Gem::Requirement
58
76
  requirements:
59
77
  - - "~>"
60
78
  - !ruby/object:Gem::Version
61
- version: '0.4'
79
+ version: 0.7.2
62
80
  type: :development
63
81
  prerelease: false
64
82
  version_requirements: !ruby/object:Gem::Requirement
65
83
  requirements:
66
84
  - - "~>"
67
85
  - !ruby/object:Gem::Version
68
- version: '0.4'
86
+ version: 0.7.2
69
87
  description:
70
88
  email:
71
89
  executables: []
@@ -81,6 +99,9 @@ files:
81
99
  - app/models/br_railties.rb
82
100
  - app/models/br_railties/federal_unit.rb
83
101
  - app/models/br_railties/municipality.rb
102
+ - config/initializers/menus.rb
103
+ - config/locales/en.yml
104
+ - config/locales/pt-BR.yml
84
105
  - config/routes.rb
85
106
  - db/migrate/20190218210506_create_br_railties_federal_units.rb
86
107
  - db/migrate/20190221200607_create_br_railties_municipalities.rb