eac_rails_base0 0.53.0 → 0.54.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: 309880b1cad226e7d5eca8cf4070121ff05c59c0897779636bfed488672dc616
4
- data.tar.gz: 50b55d0c59aaad55355782e4971d50b9be793aaf3dfe3e7b159eb017759919ce
3
+ metadata.gz: 59bd05d4b3afb7a339af9d57e08e4da3a31284e9be6c0178f73dcb4f44262359
4
+ data.tar.gz: 1f09748d8a42d42ae35765b3104e7eda25a40f23c874d1d84119188103455ec2
5
5
  SHA512:
6
- metadata.gz: 7270a394cddcb88fcb2a38f8c23cf29d3bd569ad89333828da5e278c46505460543a288be4d6bcb4d9e7f46af2d20b9a17fbf3e7dd1d201f04f5d6d4748cc5a1
7
- data.tar.gz: 3132f0e276d26d14aaaa5615461e8682231b40587d1c2cb95b1fe16e7c1706de20c3ac16e8389541211e84e89f61b355e9c49aa199b6ea8ce39617fa5c42d7fb
6
+ metadata.gz: 2ee7a63b776ef727792796a699c5e9e31d29a947c0d274f017eedea3e5cb750fdeea3a5b18ed772fb7eb17766ad3b9c8a75335719b748438f5762ce670ce4f50
7
+ data.tar.gz: f56a0be90898ced09076f5fdcf16a35616d5586eec450027e8eabf63cf5fd549f14c63a76ceefda0507ea833fb6580ac21eaec6704b61e10f3428fb43c15cc8b
@@ -50,6 +50,8 @@ module EacRailsBase0
50
50
  def aranha_main_menu_admin_entries
51
51
  {
52
52
  ::Aranha::Address.model_name.human(count: 2) => [aranha.addresses_path],
53
+ ::Aranha::ProcessorConfiguration.model_name.human(count: 2) =>
54
+ [aranha.processor_configurations_path],
53
55
  ::Aranha::StartPoint.model_name.human(count: 2) => [aranha.start_points_path]
54
56
  }
55
57
  end
@@ -58,6 +58,7 @@ module EacRailsBase0
58
58
 
59
59
  can :manage, ::EacUsersSupport::User
60
60
  can :manage, ::Aranha::Address
61
+ can :manage, ::Aranha::ProcessorConfiguration
61
62
  can :manage, ::Aranha::StartPoint
62
63
  can :manage, ::BrRailties::FederalUnit
63
64
  can :manage, ::BrRailties::Municipality
@@ -12,8 +12,7 @@ module EacRailsBase0
12
12
  map_devise
13
13
  map_devise_invitable
14
14
  map_controller 'EacUsersSupport::Admin::Users', :manage, ::EacUsersSupport::User
15
- map_controller 'Aranha::Addresses', :manage, ::Aranha::Address
16
- map_controller 'Aranha::StartPoints', :manage, ::Aranha::StartPoint
15
+ map_aranha
17
16
  map_controller 'BrRailties::FederalUnits', :manage, ::BrRailties::FederalUnit
18
17
  map_controller 'BrRailties::Municipalities', :manage, ::BrRailties::Municipality
19
18
  map_controller 'ScheduledTasks', :manage, ::ScheduledTask
@@ -24,6 +23,12 @@ module EacRailsBase0
24
23
  def map_eac_rails_base0
25
24
  map_controller 'EacRailsBase0::Mailer', :manage, :eac_rails_base0_mailer
26
25
  end
26
+
27
+ def map_aranha
28
+ map_controller 'Aranha::Addresses', :manage, ::Aranha::Address
29
+ map_controller 'Aranha::ProcessorConfigurations', :manage, ::Aranha::ProcessorConfiguration
30
+ map_controller 'Aranha::StartPoints', :manage, ::Aranha::StartPoint
31
+ end
27
32
  end
28
33
  end
29
34
  end
@@ -5,15 +5,13 @@ require 'factory_bot'
5
5
 
6
6
  module EacRailsBase0
7
7
  module Rspec
8
- class Setup
9
- common_constructor :setup_obj
10
-
11
- def perform
12
- return unless defined?(::Rails)
8
+ module Setup
9
+ def self.extended(obj)
10
+ return unless obj.rails_app_path
13
11
 
14
12
  %w[engines admin_user non_admin_user admin_example non_admin_example
15
13
  anonymous_example].each do |m|
16
- send("setup_#{m}")
14
+ obj.send("setup_#{m}")
17
15
  end
18
16
  end
19
17
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsBase0
4
- VERSION = '0.53.0'
4
+ VERSION = '0.54.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_rails_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.54.0
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: 2021-08-08 00:00:00.000000000 Z
11
+ date: 2021-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active_scaffold
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.2'
47
+ version: '0.6'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.2'
54
+ version: '0.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bootstrap-sass
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -194,34 +194,34 @@ dependencies:
194
194
  requirements:
195
195
  - - "~>"
196
196
  - !ruby/object:Gem::Version
197
- version: '0.72'
197
+ version: '0.74'
198
198
  type: :runtime
199
199
  prerelease: false
200
200
  version_requirements: !ruby/object:Gem::Requirement
201
201
  requirements:
202
202
  - - "~>"
203
203
  - !ruby/object:Gem::Version
204
- version: '0.72'
204
+ version: '0.74'
205
205
  - !ruby/object:Gem::Dependency
206
206
  name: eac_users_support
207
207
  requirement: !ruby/object:Gem::Requirement
208
208
  requirements:
209
209
  - - "~>"
210
210
  - !ruby/object:Gem::Version
211
- version: '0.8'
211
+ version: '0.9'
212
212
  - - ">="
213
213
  - !ruby/object:Gem::Version
214
- version: 0.8.2
214
+ version: 0.9.1
215
215
  type: :runtime
216
216
  prerelease: false
217
217
  version_requirements: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - "~>"
220
220
  - !ruby/object:Gem::Version
221
- version: '0.8'
221
+ version: '0.9'
222
222
  - - ">="
223
223
  - !ruby/object:Gem::Version
224
- version: 0.8.2
224
+ version: 0.9.1
225
225
  - !ruby/object:Gem::Dependency
226
226
  name: fog-aws
227
227
  requirement: !ruby/object:Gem::Requirement
@@ -501,6 +501,9 @@ dependencies:
501
501
  - - "~>"
502
502
  - !ruby/object:Gem::Version
503
503
  version: '0.1'
504
+ - - ">="
505
+ - !ruby/object:Gem::Version
506
+ version: 0.1.1
504
507
  type: :development
505
508
  prerelease: false
506
509
  version_requirements: !ruby/object:Gem::Requirement
@@ -508,6 +511,9 @@ dependencies:
508
511
  - - "~>"
509
512
  - !ruby/object:Gem::Version
510
513
  version: '0.1'
514
+ - - ">="
515
+ - !ruby/object:Gem::Version
516
+ version: 0.1.1
511
517
  description:
512
518
  email:
513
519
  executables: