fixture_dependencies 1.10.0 → 1.11.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/CHANGELOG +119 -0
- data/MIT-LICENSE +1 -1
- data/README.md +65 -42
- data/lib/fixture_dependencies/active_record.rb +1 -1
- data/lib/fixture_dependencies/helper_methods.rb +1 -1
- data/lib/fixture_dependencies/minitest_spec/sequel.rb +1 -1
- data/lib/fixture_dependencies/minitest_spec.rb +2 -4
- data/lib/fixture_dependencies/rspec/sequel.rb +2 -4
- data/lib/fixture_dependencies/test_unit/rails.rb +1 -1
- data/lib/fixture_dependencies/test_unit/sequel.rb +1 -1
- data/lib/fixture_dependencies/test_unit.rb +2 -4
- data/lib/fixture_dependencies.rb +5 -15
- data/lib/fixture_dependencies_test_help.rb +1 -1
- metadata +24 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 844710257301d985c8f60539a30ff1bd9b1819d779da5891ed13ad5753b7966d
|
4
|
+
data.tar.gz: aba7f742f37df3939a391d43bf9ecc462058ba3d54af0ab25e3624d4b14b84e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 381d8c7eac5902496a24f294d2b2e0d7367c8502adc98f0697d34aed92be4e22231bdd9ec332dcb393628dac092b579b21f55a8b2191f64364972091f5320763
|
7
|
+
data.tar.gz: d6b7b5d3bac8327c21caeeb68c1559127f351988b5f88e3f15eaf993586e2eb8e8163fbf15c786eed29d6e5eef8999df0eda467588ecd92fd7745598ed4e0419
|
data/CHANGELOG
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
# 1.11.0 (2022-06-30)
|
2
|
+
|
3
|
+
* Drop Ruby 1.8 support (jeremyevans)
|
4
|
+
|
5
|
+
* Do not skip fixtures where attributes are an array instead of a hash (jeremyevans)
|
6
|
+
|
7
|
+
* Drop support for table inheritance when using Sequel <4.24 (jeremyevans)
|
8
|
+
|
9
|
+
* Raise ActiveRecord::RecordInvalid when unable to save an ActiveRecord object (AlecksJohannes) (#33)
|
10
|
+
|
11
|
+
* Handle polymorphic associations in newer versions of ActiveRecord (AlecksJohannes) (#32)
|
12
|
+
|
13
|
+
* Handle recursive relationships correctly when using the class_map feature (rintaun) (#28)
|
14
|
+
|
15
|
+
# 1.10.0 (2018-05-18)
|
16
|
+
|
17
|
+
* Add fixture_dependencies/helper_methods for FixtureDependencies::HelperMethods for the load/load_attributes/build methods (adam12) (#25)
|
18
|
+
|
19
|
+
# 1.9.0 (2017-04-17)
|
20
|
+
|
21
|
+
* Support a custom fixture filename per model via fixture_filename model method (roupen) (#24)
|
22
|
+
|
23
|
+
* Fix polymorphic dependency load for multiple polymorphic fixtures (manuwell) (#18)
|
24
|
+
|
25
|
+
# 1.8.0 (2016-04-25)
|
26
|
+
|
27
|
+
* Support fixture_dependencies/minitest_spec and fixture_dependencies/minitest_spec/sequel helper integration (halostatue, badosu) (#17, #16)
|
28
|
+
|
29
|
+
# 1.7.0 (2016-02-26)
|
30
|
+
|
31
|
+
* Add load_attributes and build methods for instantating objects without persisting them (badosu) (#15)
|
32
|
+
|
33
|
+
# 1.6.0 (2015-08-31)
|
34
|
+
|
35
|
+
* Suport polymorphic associations (rpanachi) (#12)
|
36
|
+
|
37
|
+
# 1.5.0 (2015-07-28)
|
38
|
+
|
39
|
+
* Support Sequel <4.24.0 class table inheritance (brianphillips) (#11)
|
40
|
+
|
41
|
+
# 1.4.0 (2014-09-03)
|
42
|
+
|
43
|
+
* Add support for class_map for custom class mapping (mpalmer, jeremyevans) (#8)
|
44
|
+
|
45
|
+
# 1.3.3 (2014-05-27)
|
46
|
+
|
47
|
+
* Add support for RSpec 2+ to the rspec/sequel integration (jeremyevans)
|
48
|
+
|
49
|
+
* Remove Merb/Webrat integration (jeremyevans)
|
50
|
+
|
51
|
+
# 1.3.2 (2013-08-21)
|
52
|
+
|
53
|
+
* Support for Sequel single table inheritance model_map functionality (brianphillips) (#6)
|
54
|
+
|
55
|
+
# 1.3.1 (2012-06-04)
|
56
|
+
|
57
|
+
* Fix issues on Ruby 1.9 due to lack of String#each (jeremyevans)
|
58
|
+
|
59
|
+
* Require yaml instead of depending on it already being required (jeremyevans)
|
60
|
+
|
61
|
+
# 1.3.0 (2011-04-13)
|
62
|
+
|
63
|
+
* Add composite key support when using Sequel (gditrick, jeremyevans) (#4)
|
64
|
+
|
65
|
+
* Raise errors when unable to save (jeremyevans)
|
66
|
+
|
67
|
+
# 1.2.6 (2011-01-03)
|
68
|
+
|
69
|
+
* Add support for Sequel single_table_inheritance plugin (derdewey) (#3)
|
70
|
+
|
71
|
+
* Add Merb/Webrat integration (derdewey) (#3)
|
72
|
+
|
73
|
+
# 1.2.5 (2010-10-18)
|
74
|
+
|
75
|
+
* Work with Sequel 3.10+ one_to_one associations (jeremyevans)
|
76
|
+
|
77
|
+
# 1.2.4 (2010-10-15)
|
78
|
+
|
79
|
+
* Support preprocessing fixtures with ERB (patcoll) (#1)
|
80
|
+
|
81
|
+
# 1.2.3 (2010-06-29)
|
82
|
+
|
83
|
+
* Fix bogus spec suite failures when using the RSpec/Sequel helper (jeremyevans)
|
84
|
+
|
85
|
+
# 1.2.2 (2009-10-12)
|
86
|
+
|
87
|
+
* Fix false positive when detecting association cycles (jeremyevans)
|
88
|
+
|
89
|
+
# 1.2.1 (2009-05-07)
|
90
|
+
|
91
|
+
* Work with Sequel 3.0.0 (jeremyevans)
|
92
|
+
|
93
|
+
# 1.2.0 (2009-02-09)
|
94
|
+
|
95
|
+
* Support hashes for loading specific fixtures, without double underscore notation (jeremyevans)
|
96
|
+
|
97
|
+
* Add RSpec/Sequel helper (jeremyevans)
|
98
|
+
|
99
|
+
# 1.1.2 (2008-11-17)
|
100
|
+
|
101
|
+
* Better handle fixtures without primary keys by setting saved value in fixture (Matthew Willson)
|
102
|
+
|
103
|
+
# 1.1.1 (2008-10-14)
|
104
|
+
|
105
|
+
* Fix bug when adding associated objects using Sequel (jeremyevans)
|
106
|
+
|
107
|
+
# 1.1.0 (2008-08-25)
|
108
|
+
|
109
|
+
* Allow use of Sequel in addition to ActiveRecord (jeremyevans)
|
110
|
+
|
111
|
+
* Allow customizing fixture path (jeremyevans)
|
112
|
+
|
113
|
+
* Fix singularizing already singular names when dealing with individual fixtures (jeremyevans)
|
114
|
+
|
115
|
+
* Make most FixtureDependencies class methods private (jeremyevans)
|
116
|
+
|
117
|
+
# 1.0.0 (2007-12-06)
|
118
|
+
|
119
|
+
* Initial Release (jeremyevans)
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
# fixture_dependencies
|
2
2
|
|
3
|
-
fixture_dependencies is
|
4
|
-
|
3
|
+
fixture_dependencies is a fixture loader, allowing the loading of models
|
4
|
+
from YAML fixtures, along with their entire dependency graph. It has
|
5
5
|
the following features:
|
6
6
|
|
7
7
|
- Fixtures specify association names instead of foreign keys
|
8
|
-
-
|
8
|
+
- Supports both Sequel and ActiveRecord
|
9
9
|
- Supports many_to_one/belongs_to, one_to_many/has_many,
|
10
10
|
many_to_many/has_and_belongs_to_many, and has_one/one_to_one associations
|
11
11
|
- Loads a fixture's dependency graph in such a manner that foreign key
|
12
12
|
constraints aren't violated
|
13
|
-
- Has a
|
13
|
+
- Has a simple API (`FixtureDependencies.load(:model__fixture)`)
|
14
14
|
- Handles almost all cyclic dependencies
|
15
15
|
- Includes Rails and Sequel test helpers for Test::Unit (and a Sequel test
|
16
16
|
helper for RSpec) that load fixtures for every test inside a transaction,
|
@@ -18,29 +18,21 @@ the following features:
|
|
18
18
|
|
19
19
|
## Installation
|
20
20
|
|
21
|
-
|
22
|
-
gem install fixture_dependencies
|
23
|
-
```
|
21
|
+
`gem install fixture_dependencies`
|
24
22
|
|
25
23
|
## Source
|
26
24
|
|
27
25
|
Source is available via github:
|
26
|
+
http://github.com/jeremyevans/fixture_dependencies
|
28
27
|
|
29
28
|
```
|
30
|
-
http://github.com/jeremyevans/fixture_dependencies
|
31
|
-
```
|
32
|
-
|
33
|
-
You can check it out with git:
|
34
|
-
|
35
|
-
```
|
36
|
-
git clone git://github.com/jeremyevans/fixture_dependencies.git
|
37
29
|
```
|
38
30
|
|
39
31
|
## Usage
|
40
32
|
|
41
33
|
### With Rails/ActiveRecord/Test::Unit:
|
42
34
|
|
43
|
-
Add the following to test/test_helper.rb after "require 'test_help'":
|
35
|
+
Add the following to `test/test_helper.rb` after "require 'test_help'":
|
44
36
|
|
45
37
|
```
|
46
38
|
require 'fixture_dependencies/test_unit/rails'
|
@@ -85,6 +77,32 @@ Somewhere before the test code is loaded:
|
|
85
77
|
|
86
78
|
This runs each spec inside a separate Sequel transaction.
|
87
79
|
|
80
|
+
### With Rails and Minitest:
|
81
|
+
|
82
|
+
You can add the following in your `test_helper.rb` file.
|
83
|
+
|
84
|
+
```ruby
|
85
|
+
ENV['RAILS_ENV'] ||= 'test'
|
86
|
+
require_relative '../config/environment'
|
87
|
+
require 'rails/test_help'
|
88
|
+
|
89
|
+
require 'fixture_dependencies/helper_methods'
|
90
|
+
|
91
|
+
class ActiveSupport::TestCase # we are monkey-patching.
|
92
|
+
# Run tests in parallel with specified workers
|
93
|
+
parallelize(workers: :number_of_processors)
|
94
|
+
|
95
|
+
# Add more helper methods to be used by all tests here...
|
96
|
+
include FixtureDependencies::HelperMethods
|
97
|
+
|
98
|
+
FixtureDependencies.fixture_path = './test/fixtures' # set the path of your fixtures
|
99
|
+
|
100
|
+
def run(*args, &block)
|
101
|
+
Sequel::Model.db.transaction(:rollback=>:always){super}
|
102
|
+
end
|
103
|
+
end
|
104
|
+
```
|
105
|
+
|
88
106
|
### With other testing libraries:
|
89
107
|
|
90
108
|
You can just use FixtureDependencies.load to handle the loading of fixtures.
|
@@ -115,11 +133,11 @@ For example, see the following changes:
|
|
115
133
|
```
|
116
134
|
OLD NEW
|
117
135
|
asset1: asset1:
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
136
|
+
id: 1 id: 1
|
137
|
+
employee_id: 2 employee: jeremy
|
138
|
+
product_id: 3 product: nx7010
|
139
|
+
vendor_id: 2 vendor: lxg_computers
|
140
|
+
note: in working order note: in working order
|
123
141
|
```
|
124
142
|
|
125
143
|
As you can see, you just replace the foreign key attribute and value with the
|
@@ -127,8 +145,8 @@ name of the association and the associations name. This assumes you have an
|
|
127
145
|
employee fixture with a name of jeremy, and products fixture with the name of
|
128
146
|
nx7010, and a vendors fixture with the name lxg_computers.
|
129
147
|
|
130
|
-
Fixture files still use the table_name of the model. Note that you
|
131
|
-
|
148
|
+
Fixture files still use the table_name of the model. Note that you should
|
149
|
+
hard code primary key values for each fixture, as shown in the example
|
132
150
|
above.
|
133
151
|
|
134
152
|
## ERB Fixtures
|
@@ -136,8 +154,8 @@ above.
|
|
136
154
|
Fixtures can also use ERB to preprocess the fixture file, useful if you need
|
137
155
|
to do any programming inside the fixture file, such as looping to create
|
138
156
|
multiple records. For the ERB support to be invoked, your fixture file
|
139
|
-
should be named
|
140
|
-
mix ERB fixture files and regular fixture files, but you
|
157
|
+
should be named `#{table_name}.yml.erb` instead of `#{table_name}.yml`. You can
|
158
|
+
mix ERB fixture files and regular fixture files, but you cannot have an
|
141
159
|
ERB fixture file and a regular fixture file for the same table (the regular
|
142
160
|
fixture file will be used in that case).
|
143
161
|
|
@@ -156,7 +174,7 @@ fixture_dependencies changes this to underscored model names. If you are using
|
|
156
174
|
Rails' recommended table practices, this shouldn't make a difference.
|
157
175
|
|
158
176
|
It is recommended that you do not use the fixtures method, and instead load
|
159
|
-
individual fixtures as needed (see below). This makes your tests
|
177
|
+
individual fixtures as needed (see below). This makes your tests more
|
160
178
|
robust, in case you want to add or remove individual fixtures at a later date.
|
161
179
|
|
162
180
|
## Loading individual fixtures with fixtures class method
|
@@ -170,16 +188,15 @@ using the following syntax:
|
|
170
188
|
end
|
171
189
|
```
|
172
190
|
|
173
|
-
This would load just the jeremy fixture and its dependencies.
|
174
|
-
|
191
|
+
This would load just the jeremy fixture and its dependencies. This is
|
192
|
+
better than loading all fixtures for the model. Even better
|
175
193
|
is loading just the fixtures you want inside every test method (see below).
|
176
|
-
This leads to the most robust testing.
|
177
194
|
|
178
195
|
## Loading fixtures inside test methods
|
179
196
|
|
180
|
-
|
181
|
-
|
182
|
-
|
197
|
+
It is better to skip the use of the fixtures method entirely, and load
|
198
|
+
specific fixtures manually in each test method. This reduces coupling
|
199
|
+
and makes tests less brittle. Here's an example:
|
183
200
|
|
184
201
|
```
|
185
202
|
class EmployeeTest < Test::Unit::TestCase
|
@@ -207,6 +224,9 @@ the loosest coupling possible. Here's an example:
|
|
207
224
|
Don't worry about loading the same fixture twice, if a fixture is already
|
208
225
|
loaded, it won't attempt to load it again.
|
209
226
|
|
227
|
+
One downside of this approach is it can be slower that loading all
|
228
|
+
fixtures before the test suite.
|
229
|
+
|
210
230
|
## Loading attributes only
|
211
231
|
|
212
232
|
You can load only the attributes of fixtures, without saving them with
|
@@ -240,7 +260,7 @@ Here's an example of using has_one (logon_information), has_many (assets), and
|
|
240
260
|
has_and_belongs_to_many (groups) associations.
|
241
261
|
|
242
262
|
```
|
243
|
-
|
263
|
+
jeremy:
|
244
264
|
id: 2
|
245
265
|
name: Jeremy Evans
|
246
266
|
logon_information: jeremy
|
@@ -354,8 +374,7 @@ possible.
|
|
354
374
|
## Known issues
|
355
375
|
|
356
376
|
Currently, the plugin only supports YAML fixtures, but other types of fixtures
|
357
|
-
would be fairly easy to add
|
358
|
-
fixture type).
|
377
|
+
would be fairly easy to add.
|
359
378
|
|
360
379
|
The plugin is significantly slower than the default testing method, because it
|
361
380
|
loads all fixtures inside of a transaction (one per test method), where Rails
|
@@ -369,17 +388,17 @@ use load(:model__fixture_name).
|
|
369
388
|
## Namespace Issues
|
370
389
|
|
371
390
|
By default, fixture dependencies is going to load the model with the camelized
|
372
|
-
name in the symbol used. So for
|
373
|
-
the fixture with name baz for the model FooBar
|
374
|
-
such as Foo::Bar
|
391
|
+
name in the symbol used. So for `:foo_bar__baz`, it's going to look for
|
392
|
+
the fixture with name `baz` for the model `FooBar`. If your model is namespaced,
|
393
|
+
such as `Foo::Bar`, this isn't going to work well. In that case, you can
|
375
394
|
override the default mapping:
|
376
395
|
|
377
396
|
```
|
378
397
|
FixtureDependencies.class_map[:bar] = Foo::Bar
|
379
398
|
```
|
380
399
|
|
381
|
-
and then use
|
382
|
-
Foo::Bar
|
400
|
+
and then use `:bar__baz` to load the fixture with name `baz` for the model
|
401
|
+
`Foo::Bar`.
|
383
402
|
|
384
403
|
## Custom Fixture Filenames
|
385
404
|
|
@@ -398,8 +417,8 @@ class method in the model:
|
|
398
417
|
## Troubleshooting
|
399
418
|
|
400
419
|
If you run into problems with loading your fixtures, it can be difficult to see
|
401
|
-
where the problems are. To aid in debugging an error, add the following
|
402
|
-
|
420
|
+
where the problems are. To aid in debugging an error, add the following code
|
421
|
+
after requiring the library:
|
403
422
|
|
404
423
|
```
|
405
424
|
FixtureDependencies.verbose = 3
|
@@ -410,7 +429,7 @@ every test, including the recursive loading of the dependency graph.
|
|
410
429
|
|
411
430
|
## Specs
|
412
431
|
|
413
|
-
The specs for fixture dependencies
|
432
|
+
The specs for fixture dependencies are run with Rake. They require
|
414
433
|
the sequel, activerecord, and sqlite3 gems installed. The default rake task
|
415
434
|
runs the specs. You should run the spec_migrate task first to create the
|
416
435
|
spec database.
|
@@ -424,6 +443,10 @@ fixture_references is a similar plugin. It uses erb inside yaml, and uses the
|
|
424
443
|
foreign key numbers inside of the association names, which leads me to believe
|
425
444
|
it doesn't support has_* associations.
|
426
445
|
|
446
|
+
## Sample Rails App with Fixtures Working
|
447
|
+
|
448
|
+
Check out [this app which features Fixtures and Minitest and steps to enable you to replicate it](https://github.com/BKSpurgeon/testing_in_sequel).
|
449
|
+
|
427
450
|
## License
|
428
451
|
|
429
452
|
fixture_dependencies is released under the MIT License. See the MIT-LICENSE
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
require_relative '../helper_methods'
|
2
2
|
|
3
3
|
if defined?(RSpec)
|
4
4
|
example_group = RSpec::Core::ExampleGroup
|
@@ -28,6 +28,4 @@ else
|
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
31
|
-
example_group.
|
32
|
-
include FixtureDependencies::HelperMethods
|
33
|
-
end
|
31
|
+
example_group.send(:include, FixtureDependencies::HelperMethods)
|
data/lib/fixture_dependencies.rb
CHANGED
@@ -62,6 +62,9 @@ class FixtureDependencies
|
|
62
62
|
end
|
63
63
|
end.flatten.compact.map do |record|
|
64
64
|
model_name, name = split_name(record)
|
65
|
+
unless class_map[model_name.to_sym].nil?
|
66
|
+
record = "#{class_map[model_name.to_sym].to_s.underscore}__#{name}"
|
67
|
+
end
|
65
68
|
if name
|
66
69
|
use(record.to_sym, opts)
|
67
70
|
else
|
@@ -77,9 +80,8 @@ class FixtureDependencies
|
|
77
80
|
end
|
78
81
|
end
|
79
82
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
+
require_relative 'fixture_dependencies/active_record' if defined?(ActiveRecord::Base)
|
84
|
+
require_relative 'fixture_dependencies/sequel' if defined?(Sequel::Model)
|
83
85
|
|
84
86
|
class << FixtureDependencies
|
85
87
|
attr_reader :fixtures, :loaded
|
@@ -188,29 +190,17 @@ class << FixtureDependencies
|
|
188
190
|
obj = model.sti_load(model.sti_key => attributes[model.sti_key])
|
189
191
|
obj.send(:initialize)
|
190
192
|
model = obj.model
|
191
|
-
elsif model.respond_to?(:sti_key)
|
192
|
-
obj = attributes[model.sti_key].to_s.camelize.constantize.new
|
193
|
-
elsif model.respond_to?(:cti_key) # support for Sequel's pre-4.24.0 hybrid CTI support
|
194
|
-
mv = attributes[model.cti_key]
|
195
|
-
if (mm = model.cti_model_map)
|
196
|
-
model = mm[mv].to_s.constantize
|
197
|
-
elsif !mv.nil?
|
198
|
-
model = mv.constantize
|
199
|
-
end
|
200
|
-
obj = model.new
|
201
193
|
else
|
202
194
|
obj = model.new
|
203
195
|
end
|
204
196
|
puts "#{spaces}#{model} STI plugin detected, initializing instance of #{obj}" if (verbose > 1 && model.respond_to?(:sti_dataset))
|
205
197
|
many_associations = []
|
206
198
|
attributes.each do |attr, value|
|
207
|
-
next if attr.is_a?(Array)
|
208
199
|
if reflection = model_method(:reflection, mtype, model, attr.to_sym)
|
209
200
|
if [:belongs_to, :many_to_one].include?(model_method(:reflection_type, mtype, reflection))
|
210
201
|
|
211
202
|
if polymorphic_association?(value)
|
212
203
|
value, polymorphic_class = polymorphic_association(value)
|
213
|
-
reflection[:class_name] = polymorphic_class
|
214
204
|
dep_name = "#{polymorphic_class.to_s.underscore}__#{value}".to_sym
|
215
205
|
else
|
216
206
|
dep_name = "#{model_method(:reflection_class, mtype, reflection).name.underscore}__#{value}".to_sym
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
require_relative 'fixture_dependencies/test_unit/rails'
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fixture_dependencies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Evans
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
11
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: minitest-global_expectations
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
description:
|
14
28
|
email: code@jeremyevans.net
|
15
29
|
executables: []
|
@@ -17,6 +31,7 @@ extensions: []
|
|
17
31
|
extra_rdoc_files:
|
18
32
|
- MIT-LICENSE
|
19
33
|
files:
|
34
|
+
- CHANGELOG
|
20
35
|
- MIT-LICENSE
|
21
36
|
- README.md
|
22
37
|
- lib/fixture_dependencies.rb
|
@@ -33,7 +48,10 @@ files:
|
|
33
48
|
homepage: https://github.com/jeremyevans/fixture_dependencies
|
34
49
|
licenses:
|
35
50
|
- MIT
|
36
|
-
metadata:
|
51
|
+
metadata:
|
52
|
+
bug_tracker_uri: https://github.com/jeremyevans/fixture_dependencies/issues
|
53
|
+
mailing_list_uri: https://github.com/jeremyevans/fixture_dependencies/discussions
|
54
|
+
source_code_uri: https://github.com/jeremyevans/fixture_dependencies
|
37
55
|
post_install_message:
|
38
56
|
rdoc_options:
|
39
57
|
- "--inline-source"
|
@@ -46,15 +64,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
46
64
|
requirements:
|
47
65
|
- - ">="
|
48
66
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
67
|
+
version: 1.9.2
|
50
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
69
|
requirements:
|
52
70
|
- - ">="
|
53
71
|
- !ruby/object:Gem::Version
|
54
72
|
version: '0'
|
55
73
|
requirements: []
|
56
|
-
|
57
|
-
rubygems_version: 2.7.6
|
74
|
+
rubygems_version: 3.3.7
|
58
75
|
signing_key:
|
59
76
|
specification_version: 4
|
60
77
|
summary: Sequel/ActiveRecord fixture loader that handles dependency graphs
|