test_diff 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/exe/test_diff +2 -2
- data/lib/test_diff/run_diff.rb +2 -2
- data/lib/test_diff/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDViODIxNjRmYWI0NmYzZjVhYTdhNzA5MzBkYzQ0YjJjMzg0NDAyYw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YjI4MmM3YzBhMzdmZTU5MjgxMDdjYjFiMWNkM2Q4N2MyMWE5MWE5MQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Mzc3ZWVjYzZkN2JkZmVjYjllMTkxNjcwNGIyZGZmYWJkZTE4MDQ3ZjRiNGQw
|
10
|
+
NjlmYTIwODdiZGI0NTVlMGM4ZThjODBjOTQzNWZiZGVmODk3OWY4YmZhYjJi
|
11
|
+
ZGViMDQwNDU3N2IyZjZmMTQxMGNlNDI1NjNkODhjN2UzMjlmMjI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTk5MTA1MjUzNGVmN2RkMGEyYTI0OGFmYjMwMWQ4NzBkMzM0ZGNiYWFlNTZk
|
14
|
+
ZTVjYTE0YzA1NjQ0NzY4NzMwMWQxODk3NTA2ZjdlMjdlZDQxNjk3YTdmYTQy
|
15
|
+
OTFjNzZlMjczMTcxMWQ4MTBlN2I5NjNiNTYxM2MwMDI1ZjVmMGI=
|
data/exe/test_diff
CHANGED
@@ -17,8 +17,8 @@ class TestDiffBuilder < Thor
|
|
17
17
|
end
|
18
18
|
|
19
19
|
desc 'run_spec_diff spec master', 'runs the specs difference between the branches'
|
20
|
-
def run_spec_diff(spec_folder = 'spec',
|
21
|
-
TestDiff::RunDiff.new(spec_folder,
|
20
|
+
def run_spec_diff(spec_folder = 'spec', groups_of = nil, group = '0')
|
21
|
+
TestDiff::RunDiff.new(spec_folder, groups_of, group).run
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/lib/test_diff/run_diff.rb
CHANGED
@@ -4,9 +4,9 @@ module TestDiff
|
|
4
4
|
class RunDiff
|
5
5
|
attr_reader :spec_folder, :sha1, :groups_of, :group
|
6
6
|
|
7
|
-
def initialize(spec_folder,
|
7
|
+
def initialize(spec_folder, groups_of, group)
|
8
8
|
@spec_folder = spec_folder
|
9
|
-
@sha1 =
|
9
|
+
@sha1 = File.read('test_diff_coverage/sha')
|
10
10
|
@specs_to_run = []
|
11
11
|
@storage = Storage.new
|
12
12
|
@groups_of = groups_of
|
data/lib/test_diff/version.rb
CHANGED