balboa_worldwide_app 2.0.1 → 2.0.2

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: 47afdf6df3f48a858ac6b8f286c4c0c6b482e6a503d7c4226704a30a8e24ea08
4
- data.tar.gz: b52351b9a2dd1843d807bece8192930afb3746899476304b96737f364590535c
3
+ metadata.gz: '0291c14ad60589f11fdeffee50a92741cad4b43bf0f8ea84f7fe08f23d7e0182'
4
+ data.tar.gz: b9ece98fd0e7b52130e67e633bbd06cc8cb9638fac0a4b9d19b213312c20a351
5
5
  SHA512:
6
- metadata.gz: bf165a8480e3da1cccfb292a2fcd233c35f773629272e3db987273788fd03b1c016d58a9b3c531568f768cde1d813fbcc9e60a8f8a398a05a0f67b8e4682f110
7
- data.tar.gz: cdcb39f8a31a3fcf80cf52603fecbaf67f3cdda014a198f8ce78944de4737467a094c1937350a0c2daa2d44854a62772cecf64e7fe5d95f85b319aa537d54f3c
6
+ metadata.gz: 2f8342fe70025de40baa56a8a9b030cbec20a891ec7a4aaadb3ea3107b8d7b40441b840ad85333db043ccee752e4994f4dc8bdc2c4874e8ae31e1a05ca2cda5e
7
+ data.tar.gz: '057971154699cd8a293928119368c5a54862720315cc99e2c5f621f515caa6da6c58ff9627a3e4f22b33ca06cb28a8b8af85799dc72e8087762ac85de04854f4'
data/lib/bwa/client.rb CHANGED
@@ -190,6 +190,8 @@ module BWA
190
190
  def blower=(desired)
191
191
  return unless status && configuration
192
192
 
193
+ desired = 0 if desired == false
194
+ desired = 1 if desired == true
193
195
  times = (desired - status.blower) % (configuration.blower + 1)
194
196
  times.times do
195
197
  toggle_blower
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.0.1"
4
+ VERSION = "2.0.2"
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.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-11 00:00:00.000000000 Z
11
+ date: 2021-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ccutrer-serialport
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.1.6
213
+ rubygems_version: 3.1.2
214
214
  signing_key:
215
215
  specification_version: 4
216
216
  summary: Library for communication with Balboa Water Group's WiFi module or RS-485