fixtures_from_factories 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71e768e6b219f669c71efecbe203f358e3ab3db484045d49e297c3b6b3845f47
4
- data.tar.gz: 3a18e1072c46a3d585b954e2b259ebf2ca1fbc9710f7c9e3a7ad39cdb59d912c
3
+ metadata.gz: 1f82fbe0bfe97b71cd477a055029226fd37e5ad642aeb940dea77f0af994834d
4
+ data.tar.gz: 335148caa6f85ce7412d3675d4d4a0354fdf48d2c9836491b93c1fa135aa6f23
5
5
  SHA512:
6
- metadata.gz: b607d62ff84ecf91222176ec430289057dc9075d4c5a102b69aa4a404687c4b1b768a32546dcb43d142c8667bff61bea86503bdd8cf9409581ac1ba825252299
7
- data.tar.gz: 2b5fa3d3e23f2f3b1f7f67807ba52904476b66fb4f1ebcfefa50b55abf68238e43c204ed27b7b3009efe663b11dfa6934c27c5c11563c24236640f23cb6cb776
6
+ metadata.gz: eca972b7a147c22c574e44c495ba6f08a54154f1633a81d78cd0e986f8b39aec816a3b29b1594c7a14ffeb4c338e64d4f7e93e1d89fcf149235f302b5442ea01
7
+ data.tar.gz: e831b73900da15bea023e35b631fc4e0da544de624218249a6bedac58747e2b34ff004f3cf73fc04e1c98fe18391ea0503d945c1abef00aed41fe2f8359bee75
@@ -36,7 +36,7 @@ module FixturesFromFactories
36
36
  if FixturesFromFactories.configuration.factory_bot_definition_file_paths
37
37
  FactoryBot.definition_file_paths = FixturesFromFactories.configuration.factory_bot_definition_file_paths
38
38
  end
39
- FactoryBot.find_definitions
39
+ FactoryBot.reload
40
40
 
41
41
  # Prepare the fixture files
42
42
  FixtureGenerator.new(output_path).generate do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FixturesFromFactories
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fixtures_from_factories
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Ierodiaconou
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-23 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -91,7 +91,6 @@ files:
91
91
  - ".standard.yml"
92
92
  - CHANGELOG.md
93
93
  - Gemfile
94
- - Gemfile.lock
95
94
  - LICENSE.txt
96
95
  - README.md
97
96
  - Rakefile
@@ -123,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
122
  - !ruby/object:Gem::Version
124
123
  version: '0'
125
124
  requirements: []
126
- rubygems_version: 3.3.7
125
+ rubygems_version: 3.3.26
127
126
  signing_key:
128
127
  specification_version: 4
129
128
  summary: Build a set of Fixtures for your Rails app, using your test suite's FactoryBot
data/Gemfile.lock DELETED
@@ -1,208 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- fixtures_from_factories (0.1.0)
5
- devise
6
- factory_bot
7
- faker
8
- rails (>= 6)
9
- timecop
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- actioncable (7.0.4)
15
- actionpack (= 7.0.4)
16
- activesupport (= 7.0.4)
17
- nio4r (~> 2.0)
18
- websocket-driver (>= 0.6.1)
19
- actionmailbox (7.0.4)
20
- actionpack (= 7.0.4)
21
- activejob (= 7.0.4)
22
- activerecord (= 7.0.4)
23
- activestorage (= 7.0.4)
24
- activesupport (= 7.0.4)
25
- mail (>= 2.7.1)
26
- net-imap
27
- net-pop
28
- net-smtp
29
- actionmailer (7.0.4)
30
- actionpack (= 7.0.4)
31
- actionview (= 7.0.4)
32
- activejob (= 7.0.4)
33
- activesupport (= 7.0.4)
34
- mail (~> 2.5, >= 2.5.4)
35
- net-imap
36
- net-pop
37
- net-smtp
38
- rails-dom-testing (~> 2.0)
39
- actionpack (7.0.4)
40
- actionview (= 7.0.4)
41
- activesupport (= 7.0.4)
42
- rack (~> 2.0, >= 2.2.0)
43
- rack-test (>= 0.6.3)
44
- rails-dom-testing (~> 2.0)
45
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
46
- actiontext (7.0.4)
47
- actionpack (= 7.0.4)
48
- activerecord (= 7.0.4)
49
- activestorage (= 7.0.4)
50
- activesupport (= 7.0.4)
51
- globalid (>= 0.6.0)
52
- nokogiri (>= 1.8.5)
53
- actionview (7.0.4)
54
- activesupport (= 7.0.4)
55
- builder (~> 3.1)
56
- erubi (~> 1.4)
57
- rails-dom-testing (~> 2.0)
58
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
59
- activejob (7.0.4)
60
- activesupport (= 7.0.4)
61
- globalid (>= 0.3.6)
62
- activemodel (7.0.4)
63
- activesupport (= 7.0.4)
64
- activerecord (7.0.4)
65
- activemodel (= 7.0.4)
66
- activesupport (= 7.0.4)
67
- activestorage (7.0.4)
68
- actionpack (= 7.0.4)
69
- activejob (= 7.0.4)
70
- activerecord (= 7.0.4)
71
- activesupport (= 7.0.4)
72
- marcel (~> 1.0)
73
- mini_mime (>= 1.1.0)
74
- activesupport (7.0.4)
75
- concurrent-ruby (~> 1.0, >= 1.0.2)
76
- i18n (>= 1.6, < 2)
77
- minitest (>= 5.1)
78
- tzinfo (~> 2.0)
79
- ast (2.4.2)
80
- bcrypt (3.1.18)
81
- builder (3.2.4)
82
- concurrent-ruby (1.1.10)
83
- crass (1.0.6)
84
- devise (4.8.1)
85
- bcrypt (~> 3.0)
86
- orm_adapter (~> 0.1)
87
- railties (>= 4.1.0)
88
- responders
89
- warden (~> 1.2.3)
90
- erubi (1.11.0)
91
- factory_bot (6.2.1)
92
- activesupport (>= 5.0.0)
93
- faker (2.21.0)
94
- i18n (>= 1.8.11, < 2)
95
- globalid (1.0.0)
96
- activesupport (>= 5.0)
97
- i18n (1.12.0)
98
- concurrent-ruby (~> 1.0)
99
- json (2.6.2)
100
- loofah (2.19.0)
101
- crass (~> 1.0.2)
102
- nokogiri (>= 1.5.9)
103
- mail (2.7.1)
104
- mini_mime (>= 0.1.1)
105
- marcel (1.0.2)
106
- method_source (1.0.0)
107
- mini_mime (1.1.2)
108
- minitest (5.16.3)
109
- net-imap (0.3.1)
110
- net-protocol
111
- net-pop (0.1.2)
112
- net-protocol
113
- net-protocol (0.1.3)
114
- timeout
115
- net-smtp (0.3.3)
116
- net-protocol
117
- nio4r (2.5.8)
118
- nokogiri (1.13.9-x86_64-darwin)
119
- racc (~> 1.4)
120
- orm_adapter (0.5.0)
121
- parallel (1.22.1)
122
- parser (3.1.2.1)
123
- ast (~> 2.4.1)
124
- puma (6.0.0)
125
- nio4r (~> 2.0)
126
- racc (1.6.0)
127
- rack (2.2.4)
128
- rack-test (2.0.2)
129
- rack (>= 1.3)
130
- rails (7.0.4)
131
- actioncable (= 7.0.4)
132
- actionmailbox (= 7.0.4)
133
- actionmailer (= 7.0.4)
134
- actionpack (= 7.0.4)
135
- actiontext (= 7.0.4)
136
- actionview (= 7.0.4)
137
- activejob (= 7.0.4)
138
- activemodel (= 7.0.4)
139
- activerecord (= 7.0.4)
140
- activestorage (= 7.0.4)
141
- activesupport (= 7.0.4)
142
- bundler (>= 1.15.0)
143
- railties (= 7.0.4)
144
- rails-dom-testing (2.0.3)
145
- activesupport (>= 4.2.0)
146
- nokogiri (>= 1.6)
147
- rails-html-sanitizer (1.4.3)
148
- loofah (~> 2.3)
149
- railties (7.0.4)
150
- actionpack (= 7.0.4)
151
- activesupport (= 7.0.4)
152
- method_source
153
- rake (>= 12.2)
154
- thor (~> 1.0)
155
- zeitwerk (~> 2.5)
156
- rainbow (3.1.1)
157
- rake (13.0.6)
158
- regexp_parser (2.6.0)
159
- responders (3.0.1)
160
- actionpack (>= 5.0)
161
- railties (>= 5.0)
162
- rexml (3.2.5)
163
- rubocop (1.39.0)
164
- json (~> 2.3)
165
- parallel (~> 1.10)
166
- parser (>= 3.1.2.1)
167
- rainbow (>= 2.2.2, < 4.0)
168
- regexp_parser (>= 1.8, < 3.0)
169
- rexml (>= 3.2.5, < 4.0)
170
- rubocop-ast (>= 1.23.0, < 2.0)
171
- ruby-progressbar (~> 1.7)
172
- unicode-display_width (>= 1.4.0, < 3.0)
173
- rubocop-ast (1.23.0)
174
- parser (>= 3.1.1.0)
175
- rubocop-performance (1.15.0)
176
- rubocop (>= 1.7.0, < 2.0)
177
- rubocop-ast (>= 0.4.0)
178
- ruby-progressbar (1.11.0)
179
- sqlite3 (1.5.4-x86_64-darwin)
180
- standard (1.18.0)
181
- rubocop (= 1.39.0)
182
- rubocop-performance (= 1.15.0)
183
- thor (1.2.1)
184
- timecop (0.9.5)
185
- timeout (0.3.0)
186
- tzinfo (2.0.5)
187
- concurrent-ruby (~> 1.0)
188
- unicode-display_width (2.3.0)
189
- warden (1.2.9)
190
- rack (>= 2.0.9)
191
- websocket-driver (0.7.5)
192
- websocket-extensions (>= 0.1.0)
193
- websocket-extensions (0.1.5)
194
- zeitwerk (2.6.6)
195
-
196
- PLATFORMS
197
- x86_64-darwin-21
198
-
199
- DEPENDENCIES
200
- fixtures_from_factories!
201
- minitest (~> 5.0)
202
- puma
203
- rake (~> 13.0)
204
- sqlite3
205
- standard (~> 1.3)
206
-
207
- BUNDLED WITH
208
- 2.3.19