lxi_rb 0.10.0 → 0.10.1

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: 7283b02860c4482c2eb260bb784a6f86d18852bc5df24dfdd2b0e0ec2b878393
4
- data.tar.gz: 29ba50fe2386ad91be3f5f7a891a354b0234fa0ec988db2c242e28215c921444
3
+ metadata.gz: dcaec19626a4b6942d800536e353368368ea5a6c751949fbdceb96fcebee1d42
4
+ data.tar.gz: f523b9fa114c1173a66893db837174707e048f154486094f438f7bde4527aeae
5
5
  SHA512:
6
- metadata.gz: e89829c886e7df3271eb647d3a70566eb3da5d56786c848a68feebafac5d8993cc46ad017c9d9c372e2dcda7a6f6e71eac2f202cef3aed53b1421668e76eaaf1
7
- data.tar.gz: 2962ef69f5523a261794211eba4443cbe8ce503d38f3e9da69e62021380a4543c6cc7aeee09ced35cb8d1d8279205a2a9f065cedccc248640121cd2a8872b7c5
6
+ metadata.gz: aa25b113a5ee19095bf01cbc5270852f08875afa3dd0a4fc50d939d3e6121070c705a02828155e3ffee409e786ca0a45b68ada391bc1e4620ba4421408ced6c8
7
+ data.tar.gz: 5e0fc1be5a31cb3e7f6b1d428de176112164790437272fdf73ac2247cf0df8dc367a2a139bf102f87022ddcf66a104fc5c09634bf91ebbfcdb676b6c191e8730
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@
4
4
  All notable changes to this project will be documented in this file.
5
5
 
6
6
  - - -
7
+ ## [v0.10.1](https://github.com/robcarruthers/lxi_rb/compare/v0.10.0..v0.10.1) - 2023-05-24
8
+ #### Tests
9
+ - Update tests. Fix rubocop offfences. - ([88f7284](https://github.com/robcarruthers/lxi_rb/commit/88f7284625a182b19143cc2cf159e32a3d83270d)) - [@robcarruthers](https://github.com/robcarruthers)
10
+
11
+ - - -
12
+
7
13
  ## [v0.10.0](https://github.com/robcarruthers/lxi_rb/compare/v0.9.0..v0.10.0) - 2023-05-24
8
14
  #### Refactoring
9
15
  - **(libchecker)** Add linux lib names and library paths - ([f19c674](https://github.com/robcarruthers/lxi_rb/commit/f19c67461fc76c8fcfd20ab95b86978af6e109ba)) - [@robcarruthers](https://github.com/robcarruthers)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lxi_rb (0.9.0)
4
+ lxi_rb (0.10.0)
5
5
  ffi (~> 1.15)
6
6
 
7
7
  GEM
data/lib/lxi/methods.rb CHANGED
@@ -14,12 +14,10 @@ module Lxi
14
14
 
15
15
  def self.installed?(lib_paths = [])
16
16
  lib_paths.each do |path|
17
- begin
18
- ffi_lib path
19
- return true
20
- rescue LoadError
21
- next
22
- end
17
+ ffi_lib path
18
+ return true
19
+ rescue LoadError
20
+ next
23
21
  end
24
22
  false
25
23
  end
@@ -38,7 +38,7 @@ module Lxi
38
38
  info[:service] = service_callback
39
39
 
40
40
  result = Lxi.discover(info, timeout, type)
41
- raise(Error, "Discovery error: #{result}") unless result == LXI_OK
41
+ raise Error, "Discovery error: #{result}" unless result == LXI_OK
42
42
 
43
43
  sleep(0.25)
44
44
  @devices
data/lib/lxi/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lxi
4
- VERSION = '0.10.0'
4
+ VERSION = '0.10.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lxi_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Carruthers
@@ -68,7 +68,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: 3.1.0
71
+ version: 3.2.0
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="