eac_rails_utils 0.16.0 → 0.17.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 +5 -0
- data/lib/eac_rails_utils/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 19a8c90c3c75ded82d146d46936499b9faf8f88b4573ea7cc2e3887060b26736
|
|
4
|
+
data.tar.gz: b6989a70a22cd394da1a4e4664af735f42a1b147c12ce942534eca07d84fe669
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84cbd78c578472ef2d103818c3fdf6279ab3d77076868567e523c96d5da04c2b4cd56845d80b38c514751b01b4987807f3b811ef0c1192ec92044c9efc5ab297
|
|
7
|
+
data.tar.gz: 712f15488d263f71cc152469a9cbf4c4f2581954502b5b9aa328e7d50a49138f76714ae1770e8b00f01e8dbbd5183151d485f92bd0bb8304c4667071152be346
|
|
@@ -5,10 +5,15 @@ require 'eac_ruby_utils/core_ext'
|
|
|
5
5
|
module EacRailsUtils
|
|
6
6
|
module EngineHelper
|
|
7
7
|
common_concern do
|
|
8
|
+
append_autoload_paths
|
|
8
9
|
append_self_migrations
|
|
9
10
|
end
|
|
10
11
|
|
|
11
12
|
module ClassMethods
|
|
13
|
+
def append_autoload_paths
|
|
14
|
+
config.autoload_paths += Dir["#{config.root}/lib/**/"]
|
|
15
|
+
end
|
|
16
|
+
|
|
12
17
|
def append_self_migrations
|
|
13
18
|
initializer :append_migrations do |app|
|
|
14
19
|
config.paths['db/migrate'].expanded.each do |expanded_path|
|
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.17.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: 2022-
|
|
11
|
+
date: 2022-09-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel-associations
|