openhab-scripting 4.32.2 → 4.32.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c1093824867216ac9015ebc8bba44843f327a03c5c896ae44e8c18a90d3ffba
|
|
4
|
+
data.tar.gz: b3496046440b79efbc9d8967634337dc8ee035f4e64d596eb64863f4d2f8e617
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4267271e7c487fafc419b874b3a919026c21305c8449836427df7f54361299d91e2f22a26fe7533ca114630862e74e4c671f06828c9a591b485e53da6609eca
|
|
7
|
+
data.tar.gz: cf88fac5372d571b4e2d68f85e8c395488397b314c260957180d1f60173f082c47ebbbc3670b0daa3f5fed753ca4f11154d4c4f45f678aae573626719236d3d2
|
|
@@ -9,12 +9,10 @@ module OpenHAB
|
|
|
9
9
|
# Patches OpenHAB actions
|
|
10
10
|
#
|
|
11
11
|
module Actions
|
|
12
|
-
java_import Java::OrgOpenhabCoreAutomationModuleScriptInternalDefaultscope::ScriptThingActions
|
|
13
|
-
|
|
14
12
|
#
|
|
15
13
|
# MonkeyPatching ScriptThingActions
|
|
16
14
|
#
|
|
17
|
-
class
|
|
15
|
+
class << $actions # rubocop:disable Style/GlobalVars
|
|
18
16
|
field_reader :THING_ACTIONS_MAP
|
|
19
17
|
|
|
20
18
|
#
|
|
@@ -23,7 +21,7 @@ module OpenHAB
|
|
|
23
21
|
# @return [Set] of keys for defined actions in the form of 'scope-thing_uid'
|
|
24
22
|
#
|
|
25
23
|
def action_keys
|
|
26
|
-
|
|
24
|
+
self.class.THING_ACTIONS_MAP.keys
|
|
27
25
|
end
|
|
28
26
|
end
|
|
29
27
|
end
|
data/lib/openhab/version.rb
CHANGED
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.32.
|
|
4
|
+
version: 4.32.3
|
|
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: 2022-02-
|
|
11
|
+
date: 2022-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|