factory_bot_instrumentation 0.7.1 → 0.8.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: 591ceeab89063ef4a72423185561164932e60b2e7412a4bfa0faa6049988d616
4
- data.tar.gz: bdabce3cd1a9b292cae4a3d163511debe37379a3909daee6165e6ceba8a7c555
3
+ metadata.gz: 8794ba99bd73700545f3106b65facc07d8f90ae0701f5be87791a1e6ddcd070c
4
+ data.tar.gz: d9584ba5ebc51c7158d99b437f920a3cef8b34cc0f540efbe987a6946cfa3019
5
5
  SHA512:
6
- metadata.gz: 1ca3413bc194f5fd0036a93041e92b5f0e46aebf2f13cd4e6a938faa866b08d06d8cc20d62c8a6d5154035bd0233f654d9d96769bdda257c193b5a55caacb919
7
- data.tar.gz: 19eeee8a75a6b7b189ffc650f9e7b604f444eaeb91695122371bbc0995d5cbec5ac7641f845ff98d6b393ed48e0f76eb6e22cbcc76bc0e8939a247139b3c03c9
6
+ metadata.gz: 4fd871835d825fa92c6a6313b9b952f004ad776ca6a795166e828babedbd4f802a4f783127146f34966f2bd293a4856d0a0797604388f138a0ab4dd1b898fa22
7
+ data.tar.gz: d5af83c7a13d2d3a73ee5de68105c5a56132dbe48351d04fc9fe8e00bf8ff59cca1dfa700cd411625461111e8fbb0d6939456d8037b945585fd01d0b2532828a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.8.0
2
+
3
+ * Added `FactoryBot.reload` to the initializer code to ensure the factories
4
+ are in place.
5
+
1
6
  ### 0.7.1
2
7
 
3
8
  * Migrated to Github Actions
@@ -8,6 +8,11 @@ module FactoryBot
8
8
 
9
9
  # Fill in some dynamic settings (application related)
10
10
  initializer 'factory_bot_instrumentation.config' do
11
+ # Ensure the FactoryBot gem loads its factories to ensure they are
12
+ # also available in the rails console and other places in the app
13
+ # and not only via instrumentation frontend.
14
+ FactoryBot.reload
15
+
11
16
  FactoryBot::Instrumentation.configure do |conf|
12
17
  # Set the application name dynamically
13
18
  conf.application_name \
@@ -2,6 +2,6 @@
2
2
 
3
3
  module FactoryBot
4
4
  module Instrumentation
5
- VERSION = '0.7.1'
5
+ VERSION = '0.8.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_bot_instrumentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-15 00:00:00.000000000 Z
11
+ date: 2021-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: factory_bot