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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/koi/engine.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e2befe08891b16c423b23ea4f29b182f99ac5d12e2b9fbc3946da0887040169
4
- data.tar.gz: 04cdd890ff76578700a11c0b090ebf7901e060abcfa1fbe41b53bf32f87418fc
3
+ metadata.gz: b25d60d6019b4a00a958a208a62b920ce2081a6fb709ed0f83e27735877dc179
4
+ data.tar.gz: f4792cb4b3e4bdb2aaa69c5807866ab6b9e03aacb7cbdf1bc4590eb5f3b969a2
5
5
  SHA512:
6
- metadata.gz: 6f1db1913499c4d948b7bc281a5586a042d81a14787171e9d841cb857603e33546e40d7923d3d748ee7a9614e4a807a78f72aff277327d3a364603a83bb76922
7
- data.tar.gz: 33a2541b9f14a295e2b2b3bbf42cc40c74b48248d7496af1a82648540dab4b53dc3f3a72fff716c5cb54dd7eee40586570cf07ec6b288040e29002dac891f16c
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", after: "factory_bot.set_factory_paths" do
43
+ initializer "koi.forms" do
44
44
  GOVUKDesignSystemFormBuilder::Builder.include(Koi::Form::GOVUKExtensions)
45
45
  end
46
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katalyst-koi
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.11.1
4
+ version: 4.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katalyst Interactive