eac_rails_utils 0.12.3 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/eac_rails_utils/engine_helper.rb +21 -0
- data/lib/eac_rails_utils/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c9eadd22c3e5a9d6d7e1bd4fdb5fc77e0c729ce25484683dc070d677ab3ffdee
|
|
4
|
+
data.tar.gz: 310d3066b3750ae2a25ef8f7f60b98bac0bf7a9b809588886aad0d172fe91adf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
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.
|
|
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-
|
|
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.
|
|
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..
|