rspec-openhab-scripting 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/openhab/karaf.rb +3 -0
- data/lib/rspec/openhab/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88c81621c9a862e81d978ad293b6c3855e802c6f178484e10261a1c50033e152
|
4
|
+
data.tar.gz: 1dd7de9a0358d08e5006e208870af61f9d9c7b777e20cccccfb946b131b577bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af8b2b36147936afff2729ce7050e2779910547cc91dc7e6463bf9fd8653b019f9db23b08cbfb526157dd46f02cff7b49defdb17de6aafa4e39c553d12dd551c
|
7
|
+
data.tar.gz: 2672ed326d2c88e5a10cd3144524383da703d48e16e79eda5c44ac7a9eaf6045e5266405458855fa124a5043a0ed14e2fc5a39f31f45a2202bd7877b0bee2906
|
data/lib/rspec/openhab/karaf.rb
CHANGED
@@ -705,6 +705,9 @@ module RSpec
|
|
705
705
|
# workaround for https://github.com/openhab/openhab-core/pull/3092
|
706
706
|
def reset_start_level_service
|
707
707
|
sls = ::OpenHAB::Core::OSGI.service("org.openhab.core.service.StartLevelService")
|
708
|
+
# no SLS yet? then we couldn't have hit the bug
|
709
|
+
return unless sls
|
710
|
+
|
708
711
|
rs = ::OpenHAB::Core::OSGI.service("org.openhab.core.service.ReadyService")
|
709
712
|
sls.class.field_reader :trackers, :markers
|
710
713
|
rs.class.field_reader :trackers
|