katalyst-koi 4.11.1 → 4.11.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/koi/engine.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b25d60d6019b4a00a958a208a62b920ce2081a6fb709ed0f83e27735877dc179
|
4
|
+
data.tar.gz: f4792cb4b3e4bdb2aaa69c5807866ab6b9e03aacb7cbdf1bc4590eb5f3b969a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 056ddf6c9ceaca6bfe758cb43a54a1242c96d0a73909b20bed0f6b888635047c886377bfe87128bf691dd8cc7062fac48c65f44c826517c11f0c5f7153cc02b0
|
7
|
+
data.tar.gz: 33c4abee2f9e96363f36667ad8bbb87f184ed099947505fed39f6002fcf63ca867a0e0866847b2be412308c3b7ccb06384db4cde77c5efb58a3ad95ce5582244
|
data/lib/koi/engine.rb
CHANGED
@@ -37,10 +37,10 @@ module Koi
|
|
37
37
|
end
|
38
38
|
|
39
39
|
initializer "koi.factories", after: "factory_bot.set_factory_paths" do
|
40
|
-
FactoryBot.definition_file_paths << root.join("spec/factories")
|
40
|
+
FactoryBot.definition_file_paths << root.join("spec/factories") if defined?(FactoryBot)
|
41
41
|
end
|
42
42
|
|
43
|
-
initializer "koi.forms"
|
43
|
+
initializer "koi.forms" do
|
44
44
|
GOVUKDesignSystemFormBuilder::Builder.include(Koi::Form::GOVUKExtensions)
|
45
45
|
end
|
46
46
|
|