openhab-scripting 5.47.1 → 5.47.2

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: 7789ba23937f06bb67047cbd521c7d92cc39d2de07d4e9fdf6537d86d06bfc32
4
- data.tar.gz: 75a33c51386b1cff67e16c10de9f412bd9055389f4780be1b68a9d98409545a9
3
+ metadata.gz: fc01fc5b78f4277f109e3af749c00555137227e0b235b95e340b6f41e3c4cd53
4
+ data.tar.gz: 63b9c1f495c103fd771b2bff0a13f6cca34c7492da8260f4fc10830a67483f96
5
5
  SHA512:
6
- metadata.gz: a7f5e8fcf1a0bbf52d9af80e9de6a6552c319c259d62ed7ae42cae373da1356e09236ee29687f479678849e5c49a6d7d65eac40d7f5e7505a88745c800a6d7fe
7
- data.tar.gz: 7171205645a97d3bb6e2fbfc089f103d2e0be94c7f77eb02d1667b06b5812f223750d147a97ae0313903079c65ecaedc8074ed129ffca2b91e34e1eda0c33b22
6
+ metadata.gz: 1516bba75109008f02deb38963377bc594f6ea1e674077da2dbafb4cac8ccb113e69d38cbfd086c099f68616f07e56e06c40f974ad0bfd2370f4c27c9dae3740
7
+ data.tar.gz: b8d9c6b0fd41c49ab5f334fc45e6d7cf421ff898cb40555c6085cbff8f7bed29003530f420f72b29be2b603c521e4b1ccc92cc21764d99c36209725aba636adc
@@ -44,7 +44,12 @@ module OpenHAB
44
44
  # where we add support for hex
45
45
  # @!visibility private
46
46
  def format_type(type)
47
- return Types::HSBType.new(type) if type.respond_to?(:to_str)
47
+ begin
48
+ return Types::HSBType.new(type) if type.respond_to?(:to_str)
49
+ rescue java.lang.IllegalArgumentException
50
+ # Perhaps it's "ON" or "50";
51
+ # Fall through to super
52
+ end
48
53
 
49
54
  super
50
55
  end
@@ -4,6 +4,6 @@ module OpenHAB
4
4
  module DSL
5
5
  # Version of openHAB helper libraries
6
6
  # @return [String]
7
- VERSION = "5.47.1"
7
+ VERSION = "5.47.2"
8
8
  end
9
9
  end
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.47.1
4
+ version: 5.47.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian O'Connell
@@ -354,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
354
354
  - !ruby/object:Gem::Version
355
355
  version: '0'
356
356
  requirements: []
357
- rubygems_version: 4.0.4
357
+ rubygems_version: 4.0.5
358
358
  specification_version: 4
359
359
  summary: JRuby Helper Libraries for openHAB Scripting
360
360
  test_files: []