openhab-scripting 5.10.0 → 5.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openhab/core/events/channel_triggered_event.rb +30 -0
- data/lib/openhab/core/events/item_state_updated_event.rb +4 -3
- data/lib/openhab/core/items/dimmer_item.rb +2 -2
- data/lib/openhab/core/items/generic_item.rb +7 -1
- data/lib/openhab/core/items/player_item.rb +17 -0
- data/lib/openhab/core/items/rollershutter_item.rb +8 -0
- data/lib/openhab/core/items/semantics/enumerable.rb +19 -0
- data/lib/openhab/core/items/switch_item.rb +10 -2
- data/lib/openhab/core/items.rb +36 -12
- data/lib/openhab/core/profile_factory.rb +48 -7
- data/lib/openhab/core/sitemaps/provider.rb +6 -2
- data/lib/openhab/core/things/channel_uid.rb +10 -0
- data/lib/openhab/core/things/profile_callback.rb +4 -3
- data/lib/openhab/core/things/thing.rb +1 -0
- data/lib/openhab/core/types/decimal_type.rb +1 -1
- data/lib/openhab/core/types/quantity_type.rb +2 -2
- data/lib/openhab/dsl/config_description/builder.rb +157 -0
- data/lib/openhab/dsl/items/ensure.rb +5 -1
- data/lib/openhab/dsl/sitemaps/builder.rb +85 -48
- data/lib/openhab/dsl/things/builder.rb +27 -12
- data/lib/openhab/dsl/version.rb +1 -1
- data/lib/openhab/dsl.rb +91 -10
- data/lib/openhab/rspec/shell.rb +27 -17
- data/lib/openhab/yard/code_objects/java/base.rb +3 -1
- data/lib/openhab/yard/code_objects/java/method_object.rb +15 -0
- data/lib/openhab/yard/handlers/jruby/base.rb +71 -16
- metadata +5 -16
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.
|
4
|
+
version: 5.12.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-
|
13
|
+
date: 2023-12-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -124,20 +124,6 @@ dependencies:
|
|
124
124
|
- - "~>"
|
125
125
|
- !ruby/object:Gem::Version
|
126
126
|
version: '2.2'
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: github_changelog_generator
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - "~>"
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '1.16'
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
requirements:
|
138
|
-
- - "~>"
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
version: '1.16'
|
141
127
|
- !ruby/object:Gem::Dependency
|
142
128
|
name: guard-rubocop
|
143
129
|
requirement: !ruby/object:Gem::Requirement
|
@@ -391,6 +377,7 @@ files:
|
|
391
377
|
- lib/openhab/core/events/abstract_event.rb
|
392
378
|
- lib/openhab/core/events/abstract_item_registry_event.rb
|
393
379
|
- lib/openhab/core/events/abstract_thing_registry_event.rb
|
380
|
+
- lib/openhab/core/events/channel_triggered_event.rb
|
394
381
|
- lib/openhab/core/events/item_command_event.rb
|
395
382
|
- lib/openhab/core/events/item_event.rb
|
396
383
|
- lib/openhab/core/events/item_state_changed_event.rb
|
@@ -505,6 +492,7 @@ files:
|
|
505
492
|
- lib/openhab/core_ext/ruby/symbol.rb
|
506
493
|
- lib/openhab/core_ext/ruby/time.rb
|
507
494
|
- lib/openhab/dsl.rb
|
495
|
+
- lib/openhab/dsl/config_description/builder.rb
|
508
496
|
- lib/openhab/dsl/debouncer.rb
|
509
497
|
- lib/openhab/dsl/events.rb
|
510
498
|
- lib/openhab/dsl/events/watch_event.rb
|
@@ -569,6 +557,7 @@ files:
|
|
569
557
|
- lib/openhab/yard/code_objects/java/class_object.rb
|
570
558
|
- lib/openhab/yard/code_objects/java/field_object.rb
|
571
559
|
- lib/openhab/yard/code_objects/java/interface_object.rb
|
560
|
+
- lib/openhab/yard/code_objects/java/method_object.rb
|
572
561
|
- lib/openhab/yard/code_objects/java/package_object.rb
|
573
562
|
- lib/openhab/yard/code_objects/java/proxy.rb
|
574
563
|
- lib/openhab/yard/coderay.rb
|