openhab-scripting 4.43.2 → 4.43.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70ffac6f2b96c4cd2c758abaf5ca9b7ebedd83e7a1a520cd4fa971a4104ffc0a
|
4
|
+
data.tar.gz: a1738c2713e5b7d444e785be6e2d990fc58a548bb0487e9677aeafb6cfb61f98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce3b43639725c24ad4109850f7bdea1e395c2e94dc63ff924458ad5788bc9453431262af1e779f9f1ab61cfd2771dcc66c24f0e739e271141f667b00b3a1b8e7
|
7
|
+
data.tar.gz: 856d1f63ea019d7e07791f7c0bcc588659d53295472edb3c7fa04a655ded3baf78027054b9381fa1d7cbc8aa17dc31862c6f67399be1d92a134f8c37a3160899
|
@@ -9,10 +9,19 @@ module OpenHAB
|
|
9
9
|
# Patches OpenHAB actions
|
10
10
|
#
|
11
11
|
module Actions
|
12
|
+
begin
|
13
|
+
# openHAB 3.3 uses ScriptThingActionsImpl
|
14
|
+
java_import Java::OrgOpenhabCoreAutomationModuleScriptInternalDefaultscope::ScriptThingActionsImpl
|
15
|
+
rescue NameError
|
16
|
+
# openHAB 3.2 uses ScriptThingActions
|
17
|
+
java_import Java::OrgOpenhabCoreAutomationModuleScriptInternalDefaultscope::ScriptThingActions
|
18
|
+
ScriptThingActionsImpl = ScriptThingActions
|
19
|
+
end
|
20
|
+
|
12
21
|
#
|
13
22
|
# MonkeyPatching ScriptThingActions
|
14
23
|
#
|
15
|
-
class
|
24
|
+
class ScriptThingActionsImpl
|
16
25
|
field_reader :THING_ACTIONS_MAP
|
17
26
|
|
18
27
|
#
|
data/lib/openhab/version.rb
CHANGED