fixture_replacement 4.0.0 → 4.0.1
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.rdoc +6 -2
- data/README.rdoc +12 -6
- data/VERSION +1 -1
- data/lib/fixture_replacement/version.rb +1 -1
- 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: cae1408da614335f95fd86039eaf92ac8eb04b549faced2c92ebb217de83242b
|
4
|
+
data.tar.gz: feccbd506f6b771219512711eca9d141f6eb021ff2ec073b5170d19f0efefe55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a5703bcc55fe6935115785ae62582b6bafd2e099508af734df96055e7d07d1729fe6aebea628e7062de0157d77e351c9ac3675864a0af737e10e299e04cccae
|
7
|
+
data.tar.gz: 9953fbf276caeb951bb6e8d573126b3bd2ff396ef91eeceb20053f6a0679b3c05042a0750d65e9d67c628f4cb31840ed2d431685a5c8f6a70d063ebe410153e8
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,7 +1,11 @@
|
|
1
|
+
== 4.0.1
|
2
|
+
|
3
|
+
- Minor release fixes
|
4
|
+
|
1
5
|
== 4.0.0
|
2
6
|
|
3
|
-
|
4
|
-
|
7
|
+
- Update for most recent rails / rspec (rails 7+).
|
8
|
+
- This gem hasn't been updated for over 10+ years. So this is a needed change!
|
5
9
|
|
6
10
|
== 3.0.1
|
7
11
|
|
data/README.rdoc
CHANGED
@@ -1,12 +1,16 @@
|
|
1
|
-
= FixtureReplacement
|
1
|
+
= FixtureReplacement
|
2
2
|
|
3
|
-
== What is FixtureReplacement
|
3
|
+
== What is FixtureReplacement?
|
4
4
|
|
5
|
-
FixtureReplacement is a Rails
|
5
|
+
FixtureReplacement is a Rails gem that provides a simple way to
|
6
6
|
quickly populate your test database with model objects without having to manage multiple,
|
7
7
|
brittle fixture files. You can easily set up complex object graphs (with models which
|
8
8
|
reference other models) and add new objects on the fly.
|
9
9
|
|
10
|
+
(If you've ever used FactoryGirl / FactoryBot, you're probably already quite familiar with
|
11
|
+
fixture_replacement, as it proceeded FactoryGirl. Also, FR is much more opinionated, and
|
12
|
+
much less PC!)
|
13
|
+
|
10
14
|
Not only can FixtureReplacement make your test data easier to maintain, it can also help
|
11
15
|
to make your tests and specs much more readable and intention-revealing by allowing you
|
12
16
|
to omit extraneous details and focus only on the attributes that are important for a
|
@@ -22,9 +26,11 @@ See CHANGELOG.rdoc + test suite for further changes.
|
|
22
26
|
|
23
27
|
== Installation
|
24
28
|
|
25
|
-
|
29
|
+
Add it to your Gemfile:
|
26
30
|
|
27
|
-
|
31
|
+
group :development, :test do
|
32
|
+
gem "fixture_replacement", "~> 4.0"
|
33
|
+
end
|
28
34
|
|
29
35
|
=== Using it with RSpec
|
30
36
|
|
@@ -139,4 +145,4 @@ See contributions.rdoc
|
|
139
145
|
|
140
146
|
This software is dual licensed under the MIT and the GPLv3 Licenses (it's your pick).
|
141
147
|
|
142
|
-
Copyright 2007-
|
148
|
+
Copyright 2007-2022 Scott Taylor / smtlaissezfaire[http://github.com/smtlaissezfaire] (scott@railsnewbie.com)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.0.
|
1
|
+
4.0.1
|