balboa_worldwide_app 2.1.0 → 2.1.1

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: 1cac0db450913aecd0a1027147202f01278e8828fce2b1fc86541940a37782f3
4
- data.tar.gz: 67e5d9a8f211bb61f7b4c3d783486d03e78eeecac1da6983d43116be0f87d545
3
+ metadata.gz: 34269811a73d4aeca5f876a55bf71bc1f746f902b0a6dcba3cc16be77c0165e7
4
+ data.tar.gz: b07b0bc9e215cf9826b7596b1455a5c3f67a39fbc7ed664edef89899ef905abc
5
5
  SHA512:
6
- metadata.gz: aed0becca04006dc4288ccd8bf5134d8387edfd51c47444753b57681184acc95d3244a1df506d5cbceb9997ff440550f09907c9f334b3050e1ffe7b31af02eee
7
- data.tar.gz: c2870fb8c3d23915c172db962483fb00928562aabc76ed503d9b4641e69f6cc100fe7a64d627cd86883fe76b0650a73c68a62473e4449d74782cc89247fc6f1f
6
+ metadata.gz: 6de18fffd922c20a5e0f5d4eb44306055e21652e7b0dc3fc01e1c7b03cc09b96d7e6daa2643c17204da8c950eac2736cd57293e298eabd6ca2fae708e91488b5
7
+ data.tar.gz: e2efa4b162ca612ca1f9044ce9e539055f0e1cf63bcd5c5d4bd691d182d5853948be09f8da4f061bbb493491a271a5354846fa1a4bbe2dd4612e68f7f806ec48
data/lib/bwa/client.rb CHANGED
@@ -172,9 +172,9 @@ module BWA
172
172
  desired = [desired, max_pump_speed].min
173
173
  current_pump_speed = [status.pumps[index], max_pump_speed].min
174
174
  times = (desired - current_pump_speed) % (max_pump_speed + 1)
175
- times.times do
175
+ times.times do |i|
176
176
  toggle_pump(index)
177
- sleep(0.1)
177
+ sleep(0.1) unless i == times - 1
178
178
  end
179
179
  end
180
180
 
@@ -204,9 +204,9 @@ module BWA
204
204
  desired = configuration.blower if desired == true
205
205
  desired = [desired, configuration.blower].min
206
206
  times = (desired - status.blower) % (configuration.blower + 1)
207
- times.times do
207
+ times.times do |i|
208
208
  toggle_blower
209
- sleep(0.1)
209
+ sleep(0.1) unless i == times - 1
210
210
  end
211
211
  end
212
212
 
@@ -272,7 +272,10 @@ module BWA
272
272
  else
273
273
  0
274
274
  end
275
- times.times { toggle_heating_mode }
275
+ times.times do |i|
276
+ toggle_heating_mode
277
+ sleep(0.1) unless i == times - 1
278
+ end
276
279
  end
277
280
  end
278
281
  end
data/lib/bwa/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BWA
4
- VERSION = "2.1.0"
4
+ VERSION = "2.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: balboa_worldwide_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-24 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ccutrer-serialport