semaphore_test_boosters 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f6e45fb758f8d91cd222dfb51f795275107cc1c
|
4
|
+
data.tar.gz: 293a6ee761eab63e3cbb59f5a4bdeead7f58d585
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a60f432b4ea5b26840d95376eab825d77f92c6ffc7e31e60ce5b3ce210e911527ce963934e9d6f9f42aaefbfa92d6042412ad20d72863d246d1feb7b207fcb6
|
7
|
+
data.tar.gz: 351a94c54e7c91a2c76d2df49f2cc26dbde7878d2601aad83615f4b9da429d527a674e2b8439636567c0db616a967152c451c8754e6ab224c93c747d1fd2421b
|
@@ -43,9 +43,9 @@ module Semaphore
|
|
43
43
|
thread_features = all_features & thread["files"].sort
|
44
44
|
features_to_run = thread_features + thread_leftover_features
|
45
45
|
|
46
|
-
Semaphore::display_files("This thread
|
47
|
-
Semaphore::
|
48
|
-
Semaphore::display_files("
|
46
|
+
Semaphore::display_files("This thread features:", thread_features)
|
47
|
+
Semaphore::display_title_and_count("All leftover features:", all_leftover_features)
|
48
|
+
Semaphore::display_files("This thread leftover features:", thread_leftover_features)
|
49
49
|
|
50
50
|
features_to_run
|
51
51
|
end
|
@@ -2,10 +2,14 @@ module Semaphore
|
|
2
2
|
module_function
|
3
3
|
|
4
4
|
def display_files(title, files)
|
5
|
-
|
5
|
+
display_title_and_count(title, files)
|
6
6
|
|
7
7
|
files.each { |file| puts "- #{file}" }
|
8
8
|
|
9
9
|
puts "\n"
|
10
10
|
end
|
11
|
+
|
12
|
+
def display_title_and_count(title, files)
|
13
|
+
puts "#{title} #{files.count}\n"
|
14
|
+
end
|
11
15
|
end
|
@@ -44,8 +44,8 @@ module Semaphore
|
|
44
44
|
specs_to_run = thread_specs + thread_leftover_specs
|
45
45
|
|
46
46
|
Semaphore::display_files("This thread specs:", thread_specs)
|
47
|
+
Semaphore::display_title_and_count("All leftover specs:", all_leftover_specs)
|
47
48
|
Semaphore::display_files("This thread leftover specs:", thread_leftover_specs)
|
48
|
-
Semaphore::display_files("All leftover specs:", all_leftover_specs)
|
49
49
|
|
50
50
|
specs_to_run
|
51
51
|
end
|