semaphore_test_boosters 0.5.0 → 0.6.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e42ae041993aec5b7e7fb8b9294cc4939abdcd0c
4
- data.tar.gz: 7a023369697554739e422f40bc59960f21a9b1fd
3
+ metadata.gz: 1f6e45fb758f8d91cd222dfb51f795275107cc1c
4
+ data.tar.gz: 293a6ee761eab63e3cbb59f5a4bdeead7f58d585
5
5
  SHA512:
6
- metadata.gz: b5483af1082ad2b2bfb7e5729c1579a9f449461fbfdd66b8e4430bf07df909e3275b7b01d7c6a707106ebf19d75f0103d289e7b699a87ccc6ec567c20f385a73
7
- data.tar.gz: af8d0bec5377d495c40598aa98cc83e6ad54ee97f97735d8be30c3b44a177f683562051908fadf04fd9b899aa7b40e196746e5dfee77eb653e9dd5c4bea9adf4
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 specs:", thread_features)
47
- Semaphore::display_files("This thread leftover specs:", thread_leftover_features)
48
- Semaphore::display_files("All leftover specs:", all_leftover_features)
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
- puts "#{title} #{files.count}\n"
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
@@ -1,3 +1,3 @@
1
1
  module TestBoosters
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semaphore_test_boosters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MAINTAINER Rendered Text