eac_rails_base0 0.68.6 → 0.69.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: 9ee2e6b21e0990cdc1579972b4b97cb62c80aeeb24d9f6639db95d1685dae712
4
- data.tar.gz: 0dbb3f3085ba4c52024f337d0971d1ddb11abc9057ce572cfef661ef24466db1
3
+ metadata.gz: a585b9fad815ee5f3f50308f7f26de68dbd74a3540089d6f15ce6f1564e2e9eb
4
+ data.tar.gz: c0a9dcafca4fdb21d67ac58edd29bf38e71ee324a62fff6a1cb317d9722c73ea
5
5
  SHA512:
6
- metadata.gz: 2f1e3a010818c9430318215661b930f4e702d2ca86dd896a9c68b769c3e9550ce3db6f126ea7c3a809cc15935195d91d7640835385c6f662adf5d4c17a4d77c8
7
- data.tar.gz: 54bbdd398e0845a7934f080a8caa3942bbf017e8d602fe7ee0d7523ad15bbabba61b5f123d74ef711f464f367efeb81b1108d36aa43b95e7760716468798a636
6
+ metadata.gz: 7678fbd73ed606bd99c3dd18cac6873eb01e116c639de0e87eac83c5f03a0b30c35486e0ef6e0c7cec8210ccd8cab176d575ef51d3b10365648c7541d9643133
7
+ data.tar.gz: bb64ab04d64902cf60cfedae21d5cd4ea6d08143ec392fad249839ce26df16793daef1575fba4778c6f923379b9aa96ddfdb7f7758b0e6c329796505212bb009
@@ -62,8 +62,6 @@ module EacRailsBase0
62
62
  can :manage, ::Aranha::Address
63
63
  can :manage, ::Aranha::ProcessorConfiguration
64
64
  can :manage, ::Aranha::StartPoint
65
- can :manage, ::BrRailties::FederalUnit
66
- can :manage, ::BrRailties::Municipality
67
65
  can :manage, ::ScheduledTask
68
66
  can :manage, :eac_rails_base0_mailer
69
67
  end
@@ -10,7 +10,7 @@ module EacRailsBase0
10
10
  include CanCanDry::AbilityMappingSets::Devise
11
11
  include CanCanDry::AbilityMappingSets::DeviseInvitable
12
12
 
13
- MAP_METHODS = %w[aranha br_railties devise devise_invitable eac_rails_base0
13
+ MAP_METHODS = %w[aranha devise devise_invitable eac_rails_base0
14
14
  eac_rails_delayed_job eac_rails_remotes eac_users_support tasks_schedulers]
15
15
  .freeze
16
16
 
@@ -40,11 +40,6 @@ module EacRailsBase0
40
40
  map_controller 'Aranha::StartPoints', :manage, ::Aranha::StartPoint
41
41
  end
42
42
 
43
- def map_br_railties
44
- map_controller 'BrRailties::FederalUnits', :manage, ::BrRailties::FederalUnit
45
- map_controller 'BrRailties::Municipalities', :manage, ::BrRailties::Municipality
46
- end
47
-
48
43
  def map_tasks_schedulers
49
44
  map_controller 'ScheduledTasks', :manage, ::ScheduledTask
50
45
  map_controller 'ScheduledTaskStatuses', :manage, ::ScheduledTask
@@ -1,21 +1,35 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'aranha/rails/engine'
4
- require 'bootstrap-sass'
5
4
  require 'br_railties/engine'
5
+ require 'bootstrap-sass'
6
+ require 'can_can_dry'
6
7
  require 'can_can_dry/engine'
7
8
  require 'eac_active_scaffold/engine'
9
+ require 'eac_rails_base0/engine'
8
10
  require 'eac_rails_delayed_job/engine'
9
11
  require 'eac_rails_remotes/engine'
10
12
  require 'eac_rails_utils/engine'
11
13
  require 'eac_rails_utils/engine_helper'
12
14
  require 'eac_users_support/engine'
13
- require 'rails-i18n'
14
15
  require 'jquery-rails'
15
16
  require 'jquery-ui-rails'
17
+ require 'rails-i18n'
18
+ require 'sass-rails'
16
19
  require 'tasks_scheduler/engine'
17
20
  require 'turbolinks'
18
21
 
22
+ # require 'eac_rails_utils'
23
+ # require 'eac_ruby_utils/core_ext'
24
+ # require 'eac_users_support'
25
+ # require 'tasks_scheduler'
26
+ # require 'br_railties'
27
+
28
+ require_dependency 'eac_rails_base0/app_base/ability_mapping'
29
+ require_dependency 'eac_rails_base0/app_base/ability'
30
+ require_dependency 'eac_rails_base0/patches/url_for_patch'
31
+ require_dependency 'eac_rails_base0/x_engine'
32
+
19
33
  module EacRailsBase0
20
34
  class Engine < ::Rails::Engine
21
35
  include ::EacRailsUtils::EngineHelper
@@ -19,7 +19,7 @@ module EacRailsBase0
19
19
  end
20
20
 
21
21
  def object_path_by_class(*args)
22
- super(*args).gsub(/_url\z/, '_path')
22
+ super.gsub(/_url\z/, '_path')
23
23
  end
24
24
  end
25
25
  end
@@ -11,7 +11,7 @@ module EacRailsBase0
11
11
 
12
12
  module InstanceMethods
13
13
  def url_for(options = nil)
14
- super(options)
14
+ super
15
15
  rescue ActionController::UrlGenerationError
16
16
  engines_url_for(options)
17
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsBase0
4
- VERSION = '0.68.6'
4
+ VERSION = '0.69.0'
5
5
  end
@@ -1,23 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'sass-rails'
4
- require 'jquery-rails'
5
- require 'jquery-ui-rails'
6
- require 'turbolinks'
7
- require 'bootstrap-sass'
8
- require 'can_can_dry'
9
- require 'eac_rails_utils'
10
- require 'eac_ruby_utils/core_ext'
11
- require 'eac_users_support'
12
- require 'eac_rails_base0/engine'
13
- require 'tasks_scheduler'
14
- require 'br_railties'
15
- require 'rails-i18n'
16
-
17
3
  module EacRailsBase0
18
4
  end
19
-
20
- require_dependency 'eac_rails_base0/app_base/ability_mapping'
21
- require_dependency 'eac_rails_base0/app_base/ability'
22
- require_dependency 'eac_rails_base0/patches/url_for_patch'
23
- require_dependency 'eac_rails_base0/x_engine'
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.68.6
4
+ version: 0.69.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: 2024-04-13 00:00:00.000000000 Z
11
+ date: 2024-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha-parsers
@@ -50,14 +50,20 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '0.10'
53
+ version: '0.11'
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: 0.11.1
54
57
  type: :runtime
55
58
  prerelease: false
56
59
  version_requirements: !ruby/object:Gem::Requirement
57
60
  requirements:
58
61
  - - "~>"
59
62
  - !ruby/object:Gem::Version
60
- version: '0.10'
63
+ version: '0.11'
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: 0.11.1
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: bootstrap-sass
63
69
  requirement: !ruby/object:Gem::Requirement
@@ -84,14 +90,14 @@ dependencies:
84
90
  requirements:
85
91
  - - "~>"
86
92
  - !ruby/object:Gem::Version
87
- version: '0.5'
93
+ version: '0.6'
88
94
  type: :runtime
89
95
  prerelease: false
90
96
  version_requirements: !ruby/object:Gem::Requirement
91
97
  requirements:
92
98
  - - "~>"
93
99
  - !ruby/object:Gem::Version
94
- version: '0.5'
100
+ version: '0.6'
95
101
  - !ruby/object:Gem::Dependency
96
102
  name: can_can_dry
97
103
  requirement: !ruby/object:Gem::Requirement
@@ -153,6 +159,9 @@ dependencies:
153
159
  - - "~>"
154
160
  - !ruby/object:Gem::Version
155
161
  version: '0.6'
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: 0.6.1
156
165
  type: :runtime
157
166
  prerelease: false
158
167
  version_requirements: !ruby/object:Gem::Requirement
@@ -160,26 +169,23 @@ dependencies:
160
169
  - - "~>"
161
170
  - !ruby/object:Gem::Version
162
171
  version: '0.6'
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: 0.6.1
163
175
  - !ruby/object:Gem::Dependency
164
176
  name: eac_cli
165
177
  requirement: !ruby/object:Gem::Requirement
166
178
  requirements:
167
179
  - - "~>"
168
180
  - !ruby/object:Gem::Version
169
- version: '0.40'
170
- - - ">="
171
- - !ruby/object:Gem::Version
172
- version: 0.40.1
181
+ version: '0.42'
173
182
  type: :runtime
174
183
  prerelease: false
175
184
  version_requirements: !ruby/object:Gem::Requirement
176
185
  requirements:
177
186
  - - "~>"
178
187
  - !ruby/object:Gem::Version
179
- version: '0.40'
180
- - - ">="
181
- - !ruby/object:Gem::Version
182
- version: 0.40.1
188
+ version: '0.42'
183
189
  - !ruby/object:Gem::Dependency
184
190
  name: eac_fs
185
191
  requirement: !ruby/object:Gem::Requirement
@@ -260,34 +266,28 @@ dependencies:
260
266
  requirements:
261
267
  - - "~>"
262
268
  - !ruby/object:Gem::Version
263
- version: '0.23'
264
- - - ">="
265
- - !ruby/object:Gem::Version
266
- version: 0.23.3
269
+ version: '0.24'
267
270
  type: :runtime
268
271
  prerelease: false
269
272
  version_requirements: !ruby/object:Gem::Requirement
270
273
  requirements:
271
274
  - - "~>"
272
275
  - !ruby/object:Gem::Version
273
- version: '0.23'
274
- - - ">="
275
- - !ruby/object:Gem::Version
276
- version: 0.23.3
276
+ version: '0.24'
277
277
  - !ruby/object:Gem::Dependency
278
278
  name: eac_ruby_utils
279
279
  requirement: !ruby/object:Gem::Requirement
280
280
  requirements:
281
281
  - - "~>"
282
282
  - !ruby/object:Gem::Version
283
- version: '0.121'
283
+ version: '0.122'
284
284
  type: :runtime
285
285
  prerelease: false
286
286
  version_requirements: !ruby/object:Gem::Requirement
287
287
  requirements:
288
288
  - - "~>"
289
289
  - !ruby/object:Gem::Version
290
- version: '0.121'
290
+ version: '0.122'
291
291
  - !ruby/object:Gem::Dependency
292
292
  name: eac_users_support
293
293
  requirement: !ruby/object:Gem::Requirement
@@ -314,34 +314,28 @@ dependencies:
314
314
  requirements:
315
315
  - - "~>"
316
316
  - !ruby/object:Gem::Version
317
- version: '3.22'
317
+ version: '3.23'
318
318
  type: :runtime
319
319
  prerelease: false
320
320
  version_requirements: !ruby/object:Gem::Requirement
321
321
  requirements:
322
322
  - - "~>"
323
323
  - !ruby/object:Gem::Version
324
- version: '3.22'
324
+ version: '3.23'
325
325
  - !ruby/object:Gem::Dependency
326
326
  name: jbuilder
327
327
  requirement: !ruby/object:Gem::Requirement
328
328
  requirements:
329
329
  - - "~>"
330
330
  - !ruby/object:Gem::Version
331
- version: '2.11'
332
- - - ">="
333
- - !ruby/object:Gem::Version
334
- version: 2.11.5
331
+ version: '2.12'
335
332
  type: :runtime
336
333
  prerelease: false
337
334
  version_requirements: !ruby/object:Gem::Requirement
338
335
  requirements:
339
336
  - - "~>"
340
337
  - !ruby/object:Gem::Version
341
- version: '2.11'
342
- - - ">="
343
- - !ruby/object:Gem::Version
344
- version: 2.11.5
338
+ version: '2.12'
345
339
  - !ruby/object:Gem::Dependency
346
340
  name: jquery-rails
347
341
  requirement: !ruby/object:Gem::Requirement
@@ -501,7 +495,7 @@ dependencies:
501
495
  version: '3.10'
502
496
  - - ">="
503
497
  - !ruby/object:Gem::Version
504
- version: 3.10.8
498
+ version: 3.10.9
505
499
  type: :runtime
506
500
  prerelease: false
507
501
  version_requirements: !ruby/object:Gem::Requirement
@@ -511,7 +505,7 @@ dependencies:
511
505
  version: '3.10'
512
506
  - - ">="
513
507
  - !ruby/object:Gem::Version
514
- version: 3.10.8
508
+ version: 3.10.9
515
509
  - !ruby/object:Gem::Dependency
516
510
  name: sass-rails
517
511
  requirement: !ruby/object:Gem::Requirement
@@ -533,6 +527,9 @@ dependencies:
533
527
  - - "~>"
534
528
  - !ruby/object:Gem::Version
535
529
  version: '4.2'
530
+ - - ">="
531
+ - !ruby/object:Gem::Version
532
+ version: 4.2.1
536
533
  type: :runtime
537
534
  prerelease: false
538
535
  version_requirements: !ruby/object:Gem::Requirement
@@ -540,6 +537,9 @@ dependencies:
540
537
  - - "~>"
541
538
  - !ruby/object:Gem::Version
542
539
  version: '4.2'
540
+ - - ">="
541
+ - !ruby/object:Gem::Version
542
+ version: 4.2.1
543
543
  - !ruby/object:Gem::Dependency
544
544
  name: tasks_scheduler
545
545
  requirement: !ruby/object:Gem::Requirement
@@ -547,6 +547,9 @@ dependencies:
547
547
  - - "~>"
548
548
  - !ruby/object:Gem::Version
549
549
  version: '0.9'
550
+ - - ">="
551
+ - !ruby/object:Gem::Version
552
+ version: 0.9.2
550
553
  type: :runtime
551
554
  prerelease: false
552
555
  version_requirements: !ruby/object:Gem::Requirement
@@ -554,6 +557,9 @@ dependencies:
554
557
  - - "~>"
555
558
  - !ruby/object:Gem::Version
556
559
  version: '0.9'
560
+ - - ">="
561
+ - !ruby/object:Gem::Version
562
+ version: 0.9.2
557
563
  - !ruby/object:Gem::Dependency
558
564
  name: turbolinks
559
565
  requirement: !ruby/object:Gem::Requirement