ImpUnit 0.2.5 → 0.2.9

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: a20204a7f15dd5184c0d059d304b56385f49f7e05611fd8f8614261f81418638
4
- data.tar.gz: d703d29db68f109cf6be3bea41af3564ca6c26d45e85618061a12f1d7787d4f0
3
+ metadata.gz: a06af369172d2087a48d9538229b548c15ee5f77b184b4452d0727ae22b1d1a2
4
+ data.tar.gz: e6c2c08a736ad5d3d6a07a3b546ac9af7e764d1fdcd716939ac8772da87ef0c4
5
5
  SHA512:
6
- metadata.gz: 46f3f0e72307a6338c282587ea5c38c8b6a3973d08632eda5c83be78ab594c45929a8bc8b0514cd165e4ddfda827a7a6f854e5a2de2c1eaf312ae1c6ae178169
7
- data.tar.gz: b26cd202cdd435740ae9cedc2e2d4e11d178ce9f6dde476eaff09613302c48d86be523f87ccdc41cba85c08e2ba9e2089e9581138f17f6aabdc658c62b4183f7
6
+ metadata.gz: 0056741617f311c861abdefd3a5a77fd27561564a22fb381525d6673dd1054de9c21b5e663da0a7fc18da16d7298054ec5f45e35040c4c13eaaf932f807aec7b
7
+ data.tar.gz: 935338d1b9ed5a902128107c80acdeecad442949665231045eba8c28d8867b0215c7a89246a03d5a28599484dfc5ce1dde880bd60b825769547a37fc51f2a73d
@@ -1,3 +1,3 @@
1
1
  module ImpUnit
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.9"
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/number/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,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
- # system("tts 'Form status: Changing form...', 'en'")
546
+ if bot_choice > 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_wings + 1
556
553
 
557
- open("data/bot_wings/input.txt", "w") { |f|
554
+ open("data/bot_input/input.txt", "w") { |f|
558
555
  f.puts new_value
559
556
  }
560
557
 
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.5
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - LWFlouisa