modsvaskr 0.1.0 → 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/modsvaskr/tests_runner.rb +12 -9
- data/lib/modsvaskr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28b576d46d408e4fe202990e9cad4f2ed3cf5fc314a9784ce03989110052f1ff
|
4
|
+
data.tar.gz: d91f3542270e772fa527a443af63b36e4ef15202977b6da1a95cfbe21c205aff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb5af17b950cadbc37977542b4c90c450a53be908ee8bd86ff627e2dedf79e600de34df2fe36491f09bb11104035da62f74b161c67ef09a23b92aa72ef8c37f
|
7
|
+
data.tar.gz: beab3bf9208b2c9c39502f3f9ab000ca669ad25fa3155b286ab49ddae35799e88eb5bd4d48207b11afcc72878d07a34d7f0f0e8e60a31f5e37f6819b9af25972
|
@@ -146,15 +146,18 @@ module Modsvaskr
|
|
146
146
|
# This is a callback called for each in-game test status change.
|
147
147
|
# Update the tests results based on what has been run in-game.
|
148
148
|
# Find all tests suites that are subscribed to those in-game tests.
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
tests_suite
|
155
|
-
|
156
|
-
|
157
|
-
|
149
|
+
# Be careful that updates can be given for in-game tests suites we were not expecting
|
150
|
+
if in_game_tests_subscriptions.key?(in_game_tests_suite)
|
151
|
+
in_game_tests_subscriptions[in_game_tests_suite].each do |tests_suite_subscription|
|
152
|
+
selected_in_game_tests_statuses = in_game_tests_statuses.slice(*tests_suite_subscription[:in_game_tests])
|
153
|
+
unless selected_in_game_tests_statuses.empty?
|
154
|
+
tests_suite = @tests_suites[tests_suite_subscription[:tests_suite]]
|
155
|
+
tests_suite.set_statuses(
|
156
|
+
tests_suite.
|
157
|
+
parse_auto_tests_statuses_for(tests_suite_subscription[:selected_tests], { in_game_tests_suite => selected_in_game_tests_statuses }).
|
158
|
+
select { |(test_name, _test_status)| tests_suite_subscription[:selected_tests].include?(test_name) }
|
159
|
+
)
|
160
|
+
end
|
158
161
|
end
|
159
162
|
end
|
160
163
|
end
|
data/lib/modsvaskr/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: modsvaskr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Muriel Salvan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: curses_menu
|