robot_lab-discovery 0.2.7.1 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daac9d397d8aba6b2a94ebebd4649f7b74037e9f9816fdff05e7054f39f5c068
4
- data.tar.gz: f45ff2f9ac26b8f7971bf718d321c06073bb7c23bf383a3d7d95c24c4fbbe3b5
3
+ metadata.gz: 36867565630e4329b4c80e1dd34aa4dbecd5b87a82f4b85096c44bafe4e0013b
4
+ data.tar.gz: 47d6e6668042869fc93ae25690e1f76c1c339b3278f2db63333193138ae2a4a9
5
5
  SHA512:
6
- metadata.gz: b6c8494f355b37781ee623a125a4bbdc32518f93b065a0572289686eabe815433f177fb62cb1fe315163bb1d7f001a78a1ac4c393ef215abf009d26aa8f8ac19
7
- data.tar.gz: c99a120f0784e4c07729fb39c9aa8cc71a50130c4f506849e126d64d67071ad60a0718af3cad404afb728eedbfb0b41d419d54a1ba695648a85aefe5c079dbb2
6
+ metadata.gz: 2eaa40ebf8ba40d963c62693205de6eb42a124e3f088d7c526781398ab13c6c10e95ceb0209c45a176d22b89cf37199b6c030c473d4ebd3b35e39eecd5cf48c6
7
+ data.tar.gz: 83e3822b202e223b7b54feb25bef48981ba83adb6542064fb0445046593882dd8e96a03be284ef5b61114311789adbeb023a490a6991b88ab7b468f9dc1bdf16
data/.envrc CHANGED
@@ -1 +1,7 @@
1
+ # robot_lab_project/robot_lab-discovery/.envrc
2
+
3
+ source_up
4
+
1
5
  export RR=`pwd`
6
+
7
+ export BUNDLE_GEMFILE=Gemfile
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.2.8] - 2026-09-09
4
+
5
+ Released in lockstep with `robot_lab` core v0.2.8: this gem now resolves the released core gem from RubyGems instead of the local sibling checkout (local-path development remains available via `BUNDLE_GEMFILE=Gemfile.local`). Version moves from 0.2.7.1 to 0.2.8 to rejoin the core lockstep. Also in this release: reek warnings triaged to zero, reek added to the development bundle, and gem lifecycle tasks moved to asgard.
6
+
3
7
  ## [0.1.0] - 2026-05-28
4
8
 
5
9
  ### Added
data/Rakefile CHANGED
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/gem_tasks'
4
3
  require 'rake/testtask'
5
4
 
6
5
  Rake::TestTask.new(:test) do |t|
@@ -37,6 +37,7 @@ module RobotLab
37
37
  .sort
38
38
  end
39
39
 
40
+ # :reek:TooManyStatements -- one scan over the DNS answers accumulating SRV/TXT fields; splitting would scatter the parse state.
40
41
  def self.parse_response(response)
41
42
  instance_name = nil
42
43
  hostname = nil
@@ -49,10 +49,11 @@ module RobotLab
49
49
 
50
50
  def self.validate!(strings)
51
51
  strings.each do |s|
52
- next unless s.bytesize > MAX_STRING_BYTES
52
+ size = s.bytesize
53
+ next unless size > MAX_STRING_BYTES
53
54
  raise Error,
54
55
  "TXT record string exceeds #{MAX_STRING_BYTES} bytes " \
55
- "(#{s.bytesize} bytes): #{s[0, 40].inspect}#{"..." if s.length > 40}"
56
+ "(#{size} bytes): #{s[0, 40].inspect}#{"..." if s.length > 40}"
56
57
  end
57
58
 
58
59
  # Wire size: each string occupies 1 length-prefix byte + its content.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RobotLab
4
4
  module Discovery
5
- VERSION = "0.2.7.1"
5
+ VERSION = "0.2.8"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: robot_lab-discovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7.1
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dewayne VanHoozer
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 4.0.19
95
+ rubygems_version: 4.0.20
96
96
  specification_version: 4
97
97
  summary: Zero-configuration mDNS/DNS-SD robot discovery for RobotLab on local networks.
98
98
  test_files: []