balboa_worldwide_app 2.1.7 → 2.1.8

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: ffa5516ead74372e863498ad8bff81530dee9d85b8a8335bb2f780a4a99aae4b
4
- data.tar.gz: d429bbd063051c7a418c904d95a49a80940de5f3c3dafbb2b898c965e3b02cb8
3
+ metadata.gz: 7a8bdb58b8e445cb2de9839b0736204a587b125469534436654c4742b35fd8ac
4
+ data.tar.gz: cd20988f1b7cbe4be798345ac6fdd228a88ab5b2049f4dd808f85796cdeee8a6
5
5
  SHA512:
6
- metadata.gz: 6b8c33a207be0ecce2b6149d9c20e72afc2bee28ab7ed7e79984478151db4fba0fd9831683f3920f86ab14b755128f2cef4762dc8b0fa073a9b4dca13136405b
7
- data.tar.gz: ec60d8840b4b29716db306ad2ecc05310e74920f9c82e8745d04b09bea78252c8f25a133ddc297e90ad806bb433b2be7b3d7804c4470f3e15154b26bf30629a7
6
+ metadata.gz: f18439aca093e2aceb8ca9899e1ec27820e39bafeaaae2b959149d61ca18f111251f6e08d8eb06186976944f46e1f5b05f0e0e8283b2b07c2ff255913a68d0a8
7
+ data.tar.gz: b86b284297cac9328b0c2d4e1e1aa8d423e6d9a7a249ce24f9dcc4b516bd27d82f173604d9c2c67dd806aee938c6b2713f60bcc61bcead50b1a66da8c210d31d
data/lib/bwa/message.rb CHANGED
@@ -67,8 +67,8 @@ module BWA
67
67
  klass = @messages.find { |k| message_type == k::MESSAGE_TYPE }
68
68
 
69
69
  if klass
70
- valid_length = if klass::MESSAGE_LENGTH.respond_to?(:include?)
71
- klass::MESSAGE_LENGTH.include?(length - 5)
70
+ valid_length = if klass::MESSAGE_LENGTH.respond_to?(:cover?)
71
+ klass::MESSAGE_LENGTH.cover?(length - 5)
72
72
  else
73
73
  length - 5 == klass::MESSAGE_LENGTH
74
74
  end
@@ -29,7 +29,7 @@ module BWA
29
29
 
30
30
  MESSAGE_TYPE = "\xaf\x13".b
31
31
  # additional features have been added in later versions
32
- MESSAGE_LENGTH = (24..32).freeze
32
+ MESSAGE_LENGTH = (23..32).freeze
33
33
 
34
34
  NOTIFICATIONS = {
35
35
  0x00 => nil,
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.7"
4
+ VERSION = "2.1.8"
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.7
4
+ version: 2.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-26 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ccutrer-serialport
@@ -142,7 +142,7 @@ dependencies:
142
142
  - - "~>"
143
143
  - !ruby/object:Gem::Version
144
144
  version: '0.6'
145
- description:
145
+ description:
146
146
  email: cody@cutrer.com'
147
147
  executables:
148
148
  - bwa_client
@@ -184,7 +184,7 @@ licenses:
184
184
  - MIT
185
185
  metadata:
186
186
  rubygems_mfa_required: 'true'
187
- post_install_message:
187
+ post_install_message:
188
188
  rdoc_options: []
189
189
  require_paths:
190
190
  - lib
@@ -199,8 +199,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  - !ruby/object:Gem::Version
200
200
  version: '0'
201
201
  requirements: []
202
- rubygems_version: 3.5.13
203
- signing_key:
202
+ rubygems_version: 3.5.11
203
+ signing_key:
204
204
  specification_version: 4
205
205
  summary: Library for communication with Balboa Water Group's WiFi module or RS-485
206
206
  test_files: []