factory_sloth 1.0.0 → 1.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.md +6 -0
- data/README.md +1 -0
- data/lib/factory_sloth/code_mod.rb +1 -1
- data/lib/factory_sloth/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: 80d822847c787a87466a4e359de88dab4838cf0c22f60f93c8d04e236d6d7605
|
4
|
+
data.tar.gz: a76d0cc92c138b39d0042ca70c12a2ac44985d18100ceb42d5a9f21b780f50f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78a95512cbfe09fc763ba18b4304b8abbc35740af0654459bd9cd6724e3413ad3261f3c1c51aac38b7d31d42dc6c4798fa2dd1e0a8045e6dcc388a1863ecf147
|
7
|
+
data.tar.gz: a531d2ef5a770cb73f693d392c9890db5e707297f73c93497170d3b05af666449f810ba46696909673087ef0e103a2ed1434a6d11225825bd92af02cfdd5fa77
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
[](http://badge.fury.io/rb/factory_sloth)
|
4
4
|
[](https://github.com/jaynetics/factory_sloth/actions)
|
5
|
+
[](https://codecov.io/gh/jaynetics/factory_sloth)
|
5
6
|
|
6
7
|
`factory_sloth` is too lazy to write to the database.
|
7
8
|
|
@@ -55,7 +55,7 @@ class FactorySloth::CodeMod
|
|
55
55
|
tempfile.write(spec_code)
|
56
56
|
tempfile.close
|
57
57
|
path = [tempfile.path, line].compact.map(&:to_s).join(':')
|
58
|
-
result = !!system("bundle exec rspec #{path} --fail-fast
|
58
|
+
result = !!system("bundle exec rspec #{path} --fail-fast 1>/dev/null 2>&1")
|
59
59
|
tempfile.unlink
|
60
60
|
result
|
61
61
|
end
|