balboa_worldwide_app 2.1.2 → 2.1.3

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: a9b3fdfbe671f421950413e8d6d2372b4b2c1c5f2c0cf547bdb1cf581d9e2692
4
- data.tar.gz: 0eac860bd7b7e7deec183ca7570faaff4bc7c5c604c69f71cc88851fb15e8c2c
3
+ metadata.gz: b1b565e8ea9c2ff56e086777b75f0678440c67a045cec5a5677458dc5686545b
4
+ data.tar.gz: 8003b1fe9a607b5b03cbdf22b69591e78fbfb86c29c826744b19a3a09dea5d25
5
5
  SHA512:
6
- metadata.gz: f149d04ea30080c44d68b672fbda301056a4591992558cac9f459227825fc4faa86528011d06bb39acab5e0bd55d17b66f29cb9bf8c1b02a611f03b5d22a3943
7
- data.tar.gz: c2bb4668491f0a67ec6021001f960051565dfa7b45b9a540903e4ae7707b91891fb5bfc2f3a6f69d2d004310647956f1da0f3aed90e773468b145c40a8369dae
6
+ metadata.gz: fb74d4743d735f663e945f8070bda4b71ac49311b2462c273d933d91ca2a186ad2f0a0ff735c26ba548ac438427eb08a531ed67fddd0c9cc48ae530e81fda199
7
+ data.tar.gz: 5c84e5f528eaf1c248dc007bee5c44baafe6a659f270040a3aed9b3f6514ece48c9f252c28723187c2a09e96dd092121e3796e926da5a5fe154d26050ccc10b1
data/lib/bwa/client.rb CHANGED
@@ -170,9 +170,7 @@ module BWA
170
170
  max_pump_speed = configuration.pumps[index]
171
171
 
172
172
  # turn all pumps off with a single command
173
- if desired == 0 && configuration.pumps.length == 1 && max_pump_speed != 1
174
- return toggle_item(:soak)
175
- end
173
+ return toggle_item(:soak) if desired.zero? && configuration.pumps.length == 1 && max_pump_speed != 1
176
174
 
177
175
  desired = max_pump_speed if desired == true
178
176
  desired = [desired, max_pump_speed].min
@@ -18,7 +18,7 @@ module BWA
18
18
  end
19
19
 
20
20
  def serialize
21
- data = "\x01\x00"
21
+ data = +"\x01\x00"
22
22
  data[1] = (scale == :fahrenheit ? 0x00 : 0x01).chr
23
23
  super(data)
24
24
  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.2"
4
+ VERSION = "2.1.3"
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.2
4
+ version: 2.1.3
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-06-13 00:00:00.000000000 Z
11
+ date: 2022-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ccutrer-serialport