openhab-scripting 4.13.0 → 4.13.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: 6f8fbc8b811541d42b4409776ee2debc6681bfbf17d725e68b3090a31b7ab3ae
4
- data.tar.gz: 621ae3605cd46036106b12cf64dc6eb200d7bdcd6cbd5e10cd512bc52f98f5b0
3
+ metadata.gz: 5277fc6afcbe8ae48365fc8a0d867ccd678dfb89e098e3ced9dde91231a19de5
4
+ data.tar.gz: c7f1dbde6e49b58dcc9e12857d8b3898c8f0b6be556e5170539217197eec4bcb
5
5
  SHA512:
6
- metadata.gz: c73ffba5f0d95ba2cf622659b9f2bb52e1e3a033c7ef4f52f04beff29abfdea86f79f4b1f9aa08dd6bc2c9478f0adad3942866c0cb556df6fd6164d18f19f389
7
- data.tar.gz: f4f04af30d25bd46fe5625240d218f9fa610172a03d1e26d0ac0feda4efc54a8b17a403ed0b533bf2bfef79b0eaace7eb2fac7ca9ae48c88741f4a54cce39f66
6
+ metadata.gz: 2fde0980ddcc145964165c59a53a7020386c6be95c44b5abb8ecf7e075b2c72d374a6d10b8030bb8ca3b0644f0addf61fbd1d48b22e47f0c2fd42bccbfa3ed0b
7
+ data.tar.gz: dc05be4ab897a1fa6c5a827b9ec46a8aad579eb3e1c27c34cb0089b32bf72eaf86008181c90b667418561e29b7c392ee3238f8ca332a0457c30fa654653ac85b
@@ -279,7 +279,7 @@ module OpenHAB
279
279
  # Loggging inflates method length
280
280
  def check_guards(event:)
281
281
  if @guard.should_run? event
282
- now = TimeOfDay::TimeOfDay.now
282
+ now = Time.now
283
283
  return true if @between.cover? now
284
284
 
285
285
  logger.trace("Skipped execution of rule '#{name}' because the current time #{now} "\
@@ -5,5 +5,5 @@
5
5
  #
6
6
  module OpenHAB
7
7
  # @return [String] Version of OpenHAB helper libraries
8
- VERSION = '4.13.0'
8
+ VERSION = '4.13.1'
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openhab-scripting
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.13.0
4
+ version: 4.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian O'Connell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-06 00:00:00.000000000 Z
11
+ date: 2021-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler