openhab-scripting 5.6.1 → 5.7.1

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.
@@ -4,6 +4,6 @@ module OpenHAB
4
4
  module DSL
5
5
  # Version of openHAB helper libraries
6
6
  # @return [String]
7
- VERSION = "5.6.1"
7
+ VERSION = "5.7.1"
8
8
  end
9
9
  end
data/lib/openhab/dsl.rb CHANGED
@@ -214,6 +214,11 @@ module OpenHAB
214
214
  Core::Items::Registry.instance
215
215
  end
216
216
 
217
+ # @return [Core::Sitemaps::Provider]
218
+ def sitemaps
219
+ Core::Sitemaps::Provider.instance
220
+ end
221
+
217
222
  #
218
223
  # Get all things known to openHAB
219
224
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openhab-scripting
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.6.1
4
+ version: 5.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian O'Connell
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-09-12 00:00:00.000000000 Z
13
+ date: 2023-09-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -442,6 +442,7 @@ files:
442
442
  - lib/openhab/core/rules/rule.rb
443
443
  - lib/openhab/core/rules/tagged_array.rb
444
444
  - lib/openhab/core/script_handling.rb
445
+ - lib/openhab/core/sitemaps/provider.rb
445
446
  - lib/openhab/core/things.rb
446
447
  - lib/openhab/core/things/channel.rb
447
448
  - lib/openhab/core/things/channel_uid.rb
@@ -530,6 +531,7 @@ files:
530
531
  - lib/openhab/dsl/rules/triggers/trigger.rb
531
532
  - lib/openhab/dsl/rules/triggers/updated.rb
532
533
  - lib/openhab/dsl/rules/triggers/watch/watch_handler.rb
534
+ - lib/openhab/dsl/sitemaps/builder.rb
533
535
  - lib/openhab/dsl/things/builder.rb
534
536
  - lib/openhab/dsl/thread_local.rb
535
537
  - lib/openhab/dsl/timer_manager.rb