domotics-arduino 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -271,7 +271,7 @@ module Domotics
271
271
  listen
272
272
  @logger.info { "done." }
273
273
  @logger.info { "Checking connection with board [#{@port_str}]..." }
274
- a, b = 2.times.map { rand (0..9) }
274
+ a, b = 2.times.map { rand 10 }
275
275
  if send_command(ECHOREPLY, a, b) == [b, a]
276
276
  @logger.info { "done." }
277
277
  else
@@ -1,5 +1,5 @@
1
1
  module Domotics
2
2
  module Arduino
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domotics-arduino
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: