openhab-scripting 5.12.0 → 5.13.0

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.12.0"
7
+ VERSION = "5.13.0"
8
8
  end
9
9
  end
data/lib/openhab/dsl.rb CHANGED
@@ -61,13 +61,13 @@ module OpenHAB
61
61
  end
62
62
 
63
63
  # (see Rules::Builder#scene)
64
- def scene(name = nil, id: nil, **kwargs, &block)
65
- rules.build { scene(name, id: id, **kwargs, &block) }
64
+ def scene(name = nil, description: nil, id: nil, tag: nil, tags: nil, **kwargs, &block)
65
+ rules.build { scene(name, description: description, id: id, tag: tag, tags: tags, **kwargs, &block) }
66
66
  end
67
67
 
68
68
  # (see Rules::Builder#script)
69
- def script(name = nil, id: nil, **kwargs, &block)
70
- rules.build { script(name, id: id, **kwargs, &block) }
69
+ def script(name = nil, description: nil, id: nil, tag: nil, tags: nil, **kwargs, &block)
70
+ rules.build { script(name, description: description, id: id, tag: tag, tags: tags, **kwargs, &block) }
71
71
  end
72
72
 
73
73
  # @!group Rule Support
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.12.0
4
+ version: 5.13.0
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-12-19 00:00:00.000000000 Z
13
+ date: 2024-01-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -358,6 +358,7 @@ extensions: []
358
358
  extra_rdoc_files: []
359
359
  files:
360
360
  - lib/openhab/core.rb
361
+ - lib/openhab/core/abstract_uid.rb
361
362
  - lib/openhab/core/actions.rb
362
363
  - lib/openhab/core/actions/audio.rb
363
364
  - lib/openhab/core/actions/ephemeris.rb
@@ -432,7 +433,15 @@ files:
432
433
  - lib/openhab/core/script_handling.rb
433
434
  - lib/openhab/core/sitemaps/provider.rb
434
435
  - lib/openhab/core/things.rb
436
+ - lib/openhab/core/things/abstract_description_type.rb
435
437
  - lib/openhab/core/things/channel.rb
438
+ - lib/openhab/core/things/channel_definition.rb
439
+ - lib/openhab/core/things/channel_group_definition.rb
440
+ - lib/openhab/core/things/channel_group_type.rb
441
+ - lib/openhab/core/things/channel_group_type_uid.rb
442
+ - lib/openhab/core/things/channel_group_uid.rb
443
+ - lib/openhab/core/things/channel_type.rb
444
+ - lib/openhab/core/things/channel_type_uid.rb
436
445
  - lib/openhab/core/things/channel_uid.rb
437
446
  - lib/openhab/core/things/item_channel_link.rb
438
447
  - lib/openhab/core/things/links/provider.rb
@@ -441,6 +450,10 @@ files:
441
450
  - lib/openhab/core/things/proxy.rb
442
451
  - lib/openhab/core/things/registry.rb
443
452
  - lib/openhab/core/things/thing.rb
453
+ - lib/openhab/core/things/thing_type.rb
454
+ - lib/openhab/core/things/thing_type_uid.rb
455
+ - lib/openhab/core/things/thing_uid.rb
456
+ - lib/openhab/core/things/uid.rb
444
457
  - lib/openhab/core/timer.rb
445
458
  - lib/openhab/core/types.rb
446
459
  - lib/openhab/core/types/comparable_type.rb
@@ -464,7 +477,6 @@ files:
464
477
  - lib/openhab/core/types/type.rb
465
478
  - lib/openhab/core/types/un_def_type.rb
466
479
  - lib/openhab/core/types/up_down_type.rb
467
- - lib/openhab/core/uid.rb
468
480
  - lib/openhab/core/value_cache.rb
469
481
  - lib/openhab/core_ext.rb
470
482
  - lib/openhab/core_ext/between.rb