ImpUnit 0.2.6 → 0.3.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
  SHA256:
3
- metadata.gz: d83d686f916281675fb6df263ea9dc02025ef1df581d9c53b75e188665a158a9
4
- data.tar.gz: f6a7989e12d7782337596ef3470d1234fa043f440b57f864a3aeecd2e2329b78
3
+ metadata.gz: a5c34b71fdf6b568017ef6f347318a87d30c35226c5c2707c22fe6445ea8156c
4
+ data.tar.gz: 114c89c916474366ad986f770e6667c18fade0bb1753d58f455778ec39ee4345
5
5
  SHA512:
6
- metadata.gz: 901fed06e26949cd2eb0dca8a2b7fe90e90432efcf2b56f5e926826efbe8a6c91c74d478d7117fbbcab152c585fefb86472c1fae85adc874529afcfb09ef22ec
7
- data.tar.gz: 643d8636d280c968a591269158ab84e56587458f54e37550a50d62e6baa3327284607e1555a93b86845bcbde7ea8eb8681aa6d85177b5c9fd88507d29e9f7981
6
+ metadata.gz: a0c8f52c2092b84aba17f65310bbdb84663a5d4201fc355740861237bd38135df0fd9af73799a59d6d96586027815a5b42d2edc9a466dc5ebe220b76f7f93001
7
+ data.tar.gz: b4aab126467240f9093d8f2939cfa96fcec4c7c385d04a15eb0bf17b73ff10b94fbff205fff012ed96491c5dc9986c2d0feb57f04f8e7369d0a72d27c7c3a985
@@ -1,3 +1,3 @@
1
1
  module ImpUnit
2
- VERSION = "0.2.6"
2
+ VERSION = "0.3.0"
3
3
  end
data/lib/ImpUnit.rb CHANGED
@@ -498,10 +498,10 @@ end"
498
498
 
499
499
  class BotWings
500
500
  def self.reset_evo
501
- reset_usr_input = 0
501
+ reset_bot_input = 0
502
502
 
503
- open("data/bot_shape/input.txt", "w") { |f|
504
- f.puts reset_usr_input
503
+ open("data/bot_input/input.txt", "w") { |f|
504
+ f.puts reset_bot_input
505
505
  }
506
506
  end
507
507
 
@@ -542,17 +542,14 @@ 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
- # system("tts 'Form status: Changing form...', 'en'")
546
+ if bot_input > 2
547
+ ImpUnit::BotWings.reset_evo
548
+ end
550
549
 
551
550
  puts "Form status: Changing form..."
552
551
 
553
- sleep(3)
554
-
555
- new_value = number + 1
552
+ new_value = bot_input + 1
556
553
 
557
554
  open("data/bot_input/input.txt", "w") { |f|
558
555
  f.puts new_value
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ImpUnit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - LWFlouisa