eac_rails_utils 0.12.3 → 0.13.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: 5079ee2e8f4f12a6616ee157f4face6077b87f695af719fa268897e66ab66598
4
- data.tar.gz: 5a25a0ff7d3b44cdbb40bb738fed65f1b4c3e1cc15f72dba1962bd56db3e1e63
3
+ metadata.gz: c9eadd22c3e5a9d6d7e1bd4fdb5fc77e0c729ce25484683dc070d677ab3ffdee
4
+ data.tar.gz: 310d3066b3750ae2a25ef8f7f60b98bac0bf7a9b809588886aad0d172fe91adf
5
5
  SHA512:
6
- metadata.gz: a20e62ffdcd580bbba0de2b4cd3b26519c0e50d57c6d266b824930837114ee2d1e914c5c13cb47f6d28853df4372d1de88798da0b5510cb910700fee6152a728
7
- data.tar.gz: b9d71d8a26a100f8e189928d2c3e2c4363ab896d40b4783762a52aab6657acdfb50ffd6e56bea7d02c03361edd463eda6d20081b002854a3c712c7ceed6047d4
6
+ metadata.gz: 2b1dca5f52b9585f580be4718eed69b045c5ae568d2344ab5203495fc8868a77995cf94a1f38a01633bfe7fadc03c46e67bf76b70edf9b8a37afb6c96e2f9d48
7
+ data.tar.gz: 6dcda77888826611b99e612f00a0cda9bb152485d584dc4dbfa24c922f0d1da057802a455de91cbe69f4cc7df526d81c2d33344a72e089c5c61b72b74e62a710
@@ -0,0 +1,21 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module EacRailsUtils
6
+ module EngineHelper
7
+ common_concern do
8
+ append_self_migrations
9
+ end
10
+
11
+ module ClassMethods
12
+ def append_self_migrations
13
+ initializer :append_migrations do |app|
14
+ config.paths['db/migrate'].expanded.each do |expanded_path|
15
+ app.config.paths['db/migrate'] << expanded_path
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
21
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsUtils
4
- VERSION = '0.12.3'
4
+ VERSION = '0.13.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_rails_utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - E.A.C.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-28 00:00:00.000000000 Z
11
+ date: 2021-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel-associations
@@ -212,6 +212,7 @@ files:
212
212
  - lib/assets/stylesheets/jmenu.scss
213
213
  - lib/eac_rails_utils.rb
214
214
  - lib/eac_rails_utils/engine.rb
215
+ - lib/eac_rails_utils/engine_helper.rb
215
216
  - lib/eac_rails_utils/htmlbeautifier.rb
216
217
  - lib/eac_rails_utils/models.rb
217
218
  - lib/eac_rails_utils/models/fetch_errors.rb
@@ -264,7 +265,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
265
  - !ruby/object:Gem::Version
265
266
  version: '0'
266
267
  requirements: []
267
- rubygems_version: 3.0.9
268
+ rubygems_version: 3.1.6
268
269
  signing_key:
269
270
  specification_version: 4
270
271
  summary: Código reutilizável para as aplicações Rails da E.A.C..