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 +4 -4
- data/lib/bwa/client.rb +8 -5
- data/lib/bwa/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: 34269811a73d4aeca5f876a55bf71bc1f746f902b0a6dcba3cc16be77c0165e7
|
4
|
+
data.tar.gz: b07b0bc9e215cf9826b7596b1455a5c3f67a39fbc7ed664edef89899ef905abc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
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.
|
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-
|
11
|
+
date: 2022-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ccutrer-serialport
|