ImpUnit 0.2.4 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ImpUnit/version.rb +1 -1
- data/lib/ImpUnit.rb +7 -10
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cba2578fb9323f0777f970109e8ea1f45c45f4dda1647359f3b122db8e91c6b7
|
4
|
+
data.tar.gz: 276e9fcc69a83cf88101dd9198e733ffb7d1348717b9360a75d85f8f3febbf41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ab2f5a108d51c2c163af5c0fe4b86b566ff05cf282397a6a87355f08de9eee1eff8d3b2cc1b7023e62c8d8d3e40ebb63e732802978d6c9a067a5448f2e1f5a1
|
7
|
+
data.tar.gz: ab424e814dfa4c09b7ae673ed017e20e664192025dc98e13c8d130aaf32f2d1c37a77ebdf8970130ad03d2d2356d47ff0e705cf46a9ab2d2d6bbc0d9e10b2144
|
data/lib/ImpUnit/version.rb
CHANGED
data/lib/ImpUnit.rb
CHANGED
@@ -498,10 +498,10 @@ end"
|
|
498
498
|
|
499
499
|
class BotWings
|
500
500
|
def self.reset_evo
|
501
|
-
|
501
|
+
reset_bot_input = 0
|
502
502
|
|
503
|
-
open("data/
|
504
|
-
f.puts
|
503
|
+
open("data/bot_input/input.txt", "w") { |f|
|
504
|
+
f.puts reset_bot_input
|
505
505
|
}
|
506
506
|
end
|
507
507
|
|
@@ -542,19 +542,16 @@ end"
|
|
542
542
|
|
543
543
|
if current_wingset == current_botwings
|
544
544
|
ImpUnit::BotWings.use_form
|
545
|
-
|
546
|
-
sleep(3)
|
547
|
-
# ImpUnit::BotWings.reset_evo
|
548
545
|
else
|
549
|
-
|
546
|
+
if number > 2
|
547
|
+
number = 0
|
548
|
+
end
|
550
549
|
|
551
550
|
puts "Form status: Changing form..."
|
552
551
|
|
553
|
-
sleep(3)
|
554
|
-
|
555
552
|
new_value = number + 1
|
556
553
|
|
557
|
-
open("data/
|
554
|
+
open("data/bot_input/input.txt", "w") { |f|
|
558
555
|
f.puts new_value
|
559
556
|
}
|
560
557
|
|