eac_rails_base0 0.50.0 → 0.52.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/eac_rails_base0/main_menu_helper.rb +2 -1
- data/config/initializers/speaker.rb +8 -0
- data/config/routes.rb +1 -3
- data/lib/eac_rails_base0/app_base/ability.rb +1 -0
- data/lib/eac_rails_base0/app_base/ability_mapping.rb +1 -0
- data/lib/eac_rails_base0/app_base/application/envvars.rb +1 -1
- data/lib/eac_rails_base0/engine.rb +1 -1
- data/lib/eac_rails_base0/spec_helper.rb +3 -0
- data/lib/eac_rails_base0/version.rb +1 -1
- metadata +42 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc8643c467630eafd3aa09d1bcff9a5200d92bb0f56cba81945cc0ffb53dcfae
|
4
|
+
data.tar.gz: cea03ab4cf7560dc3406a0a41d38cf2b74f3418cf8e6778d8c81d54bfdfab36a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 333160a6b83bc3b7c1c11895de2aa92812149ff4ab99c26c3285725b6690e515890a1a107e4f5ce4047a5e001717260ca44544852d55342ca2164736c640d0a9
|
7
|
+
data.tar.gz: 60038878e6a47834ce7b2beac7682492034d3791acc7a1e026e303ba7aa2df962b1bc9b2d34c216b59cce46852bc003bfc9dfa64d647c3c39d56973cdeabde95
|
@@ -49,7 +49,8 @@ module EacRailsBase0
|
|
49
49
|
|
50
50
|
def aranha_main_menu_admin_entries
|
51
51
|
{
|
52
|
-
::Aranha::Address.model_name.human(count: 2) => [aranha.addresses_path]
|
52
|
+
::Aranha::Address.model_name.human(count: 2) => [aranha.addresses_path],
|
53
|
+
::Aranha::StartPoint.model_name.human(count: 2) => [aranha.start_points_path]
|
53
54
|
}
|
54
55
|
end
|
55
56
|
|
data/config/routes.rb
CHANGED
@@ -1,11 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'aranha/engine'
|
4
|
-
|
5
3
|
Rails.application.routes.draw do
|
6
4
|
mount ::EacRailsUtils::Engine => '/'
|
7
5
|
mount ::EacUsersSupport::Engine => '/'
|
8
|
-
mount ::Aranha::Engine => '/aranha'
|
6
|
+
mount ::Aranha::Rails::Engine => '/aranha'
|
9
7
|
mount ::BrRailties::Engine => '/br_railties'
|
10
8
|
|
11
9
|
namespace(:eac_rails_base0) do
|
@@ -13,6 +13,7 @@ module EacRailsBase0
|
|
13
13
|
map_devise_invitable
|
14
14
|
map_controller 'EacUsersSupport::Admin::Users', :manage, ::EacUsersSupport::User
|
15
15
|
map_controller 'Aranha::Addresses', :manage, ::Aranha::Address
|
16
|
+
map_controller 'Aranha::StartPoints', :manage, ::Aranha::StartPoint
|
16
17
|
map_controller 'BrRailties::FederalUnits', :manage, ::BrRailties::FederalUnit
|
17
18
|
map_controller 'BrRailties::Municipalities', :manage, ::BrRailties::Municipality
|
18
19
|
map_controller 'ScheduledTasks', :manage, ::ScheduledTask
|
@@ -32,7 +32,7 @@ module EacRailsBase0App
|
|
32
32
|
vars = ::EacRubyUtils::Yaml.load(path.read)
|
33
33
|
raise "\"#{path}\" does not contain a Hash" unless vars.is_a?(::Hash)
|
34
34
|
|
35
|
-
vars.each { |name, value| ENV[name.to_s] = value }
|
35
|
+
vars.each { |name, value| ENV[name.to_s] = value.to_s }
|
36
36
|
end
|
37
37
|
|
38
38
|
def setup_envvars
|
@@ -22,6 +22,9 @@ RSpec.configure do |config|
|
|
22
22
|
config.use_transactional_fixtures = true
|
23
23
|
config.infer_spec_type_from_file_location!
|
24
24
|
config.filter_rails_from_backtrace!
|
25
|
+
|
26
|
+
require 'eac_ruby_gem_support/rspec'
|
27
|
+
::EacRubyGemSupport::Rspec.setup(::File.expand_path('..', __dir__), config)
|
25
28
|
end
|
26
29
|
|
27
30
|
require 'eac_ruby_utils/require_sub'
|
metadata
CHANGED
@@ -1,23 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eac_rails_base0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.52.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_scaffold
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3.5'
|
20
|
-
- - ">="
|
21
18
|
- !ruby/object:Gem::Version
|
22
19
|
version: 3.5.5
|
23
20
|
type: :runtime
|
@@ -25,31 +22,36 @@ dependencies:
|
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3.5'
|
30
|
-
- - ">="
|
31
25
|
- !ruby/object:Gem::Version
|
32
26
|
version: 3.5.5
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
|
-
name: aranha
|
28
|
+
name: aranha-parsers
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0.
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 0.14.2
|
33
|
+
version: '0.6'
|
43
34
|
type: :runtime
|
44
35
|
prerelease: false
|
45
36
|
version_requirements: !ruby/object:Gem::Requirement
|
46
37
|
requirements:
|
47
38
|
- - "~>"
|
48
39
|
- !ruby/object:Gem::Version
|
49
|
-
version: '0.
|
50
|
-
|
40
|
+
version: '0.6'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aranha-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.2'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
51
53
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.
|
54
|
+
version: '0.2'
|
53
55
|
- !ruby/object:Gem::Dependency
|
54
56
|
name: bootstrap-sass
|
55
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,6 +162,26 @@ dependencies:
|
|
160
162
|
- - ">="
|
161
163
|
- !ruby/object:Gem::Version
|
162
164
|
version: 4.2.2
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: eac_cli
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
requirements:
|
169
|
+
- - "~>"
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0.21'
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 0.21.1
|
175
|
+
type: :runtime
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - "~>"
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0.21'
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: 0.21.1
|
163
185
|
- !ruby/object:Gem::Dependency
|
164
186
|
name: eac_rails_utils
|
165
187
|
requirement: !ruby/object:Gem::Requirement
|
@@ -180,20 +202,14 @@ dependencies:
|
|
180
202
|
requirements:
|
181
203
|
- - "~>"
|
182
204
|
- !ruby/object:Gem::Version
|
183
|
-
version: '0.
|
184
|
-
- - ">="
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
version: 0.1.1
|
205
|
+
version: '0.2'
|
187
206
|
type: :runtime
|
188
207
|
prerelease: false
|
189
208
|
version_requirements: !ruby/object:Gem::Requirement
|
190
209
|
requirements:
|
191
210
|
- - "~>"
|
192
211
|
- !ruby/object:Gem::Version
|
193
|
-
version: '0.
|
194
|
-
- - ">="
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
version: 0.1.1
|
212
|
+
version: '0.2'
|
197
213
|
- !ruby/object:Gem::Dependency
|
198
214
|
name: eac_ruby_gems_utils
|
199
215
|
requirement: !ruby/object:Gem::Requirement
|
@@ -617,6 +633,7 @@ files:
|
|
617
633
|
- config/initializers/mime_types.rb
|
618
634
|
- config/initializers/patches.rb
|
619
635
|
- config/initializers/session_store.rb
|
636
|
+
- config/initializers/speaker.rb
|
620
637
|
- config/initializers/wrap_parameters.rb
|
621
638
|
- config/locales/en.yml
|
622
639
|
- config/locales/pt-BR.yml
|
@@ -700,7 +717,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
700
717
|
- !ruby/object:Gem::Version
|
701
718
|
version: '0'
|
702
719
|
requirements: []
|
703
|
-
rubygems_version: 3.0.
|
720
|
+
rubygems_version: 3.0.9
|
704
721
|
signing_key:
|
705
722
|
specification_version: 4
|
706
723
|
summary: A Rails base for multiple Rails projects developed by Esquilo Azul Company.
|