minitest-repeat 0.1 → 0.1.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/lib/minitest/repeat_plugin.rb +5 -1
- data/minitest-repeat.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd7a015c7b50cd4e03da9b3af3054e331f31139e
|
4
|
+
data.tar.gz: 9025814b40091bdd3ec8d0764aac7cffa533b7b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0528ca57825ec67efa38b5a5978861d3c4834d9490d13aa2d7226c48191f587f5ee2639205375077e70cf19717f8859c070cdde445c0c6faf61b60f47896e89d
|
7
|
+
data.tar.gz: 3f2d0a3bb782a062857b8c43104c3ce3c244ea14830b460c7ab380d78171a5c7b25d3a278a596e7c78f624ce16c534c3f168877063e5fe0bd6202b10bf6d879e
|
@@ -1,10 +1,14 @@
|
|
1
1
|
module Minitest
|
2
2
|
def self.plugin_repeat_init(*)
|
3
|
+
@count = 1
|
4
|
+
|
5
|
+
return if respond_to?(:__orig_run)
|
6
|
+
|
3
7
|
instance_eval do
|
4
8
|
alias :__orig_run :__run
|
5
9
|
|
6
10
|
def __run(*args)
|
7
|
-
@count.
|
11
|
+
@count.times { __orig_run(*args) }
|
8
12
|
end
|
9
13
|
end
|
10
14
|
end
|
data/minitest-repeat.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = 'minitest-repeat'
|
5
|
-
spec.version = '0.1'
|
5
|
+
spec.version = '0.1.1'
|
6
6
|
spec.authors = ['Michael Lutsiuk']
|
7
7
|
spec.email = ['michael.lutsiuk@gmail.com']
|
8
8
|
spec.summary = 'Allows to run your minitest suites more than one time'
|