openhab-scripting 3.6.1 → 3.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7f22a9381b70e7ea6075cb06cf2ba5e576068e7b71235e3d1693747e8aba2048
4
- data.tar.gz: e5b2f533163f3e4de0b9b45ac55e64bd61d70be991a44a17b0fbfdf09b13297a
3
+ metadata.gz: 32d2b52800d9262e6acafa9d34f52341ff864afdee914656244259172236c00f
4
+ data.tar.gz: a0bffdf4bc45e3e76054fd3664803bde6a8614eb3fee91572dc5054aeb0e2748
5
5
  SHA512:
6
- metadata.gz: ded957fa16cf005bb2e5182a544cd85ee1e52765834dc427530000fe2939e443a5a25df610674b7f3f195123b51be0539fc9d821a3b92c0fa3775efc27908afa
7
- data.tar.gz: e0e20addfadad2c22b7af3e999aee3ce2817bb0a7d0a42fdf16521f1a7e6d5d8730c578826f7879fe0e0b34394e7fc6b942eddfd0cc77aa64bd239b9792f5a91
6
+ metadata.gz: c6f6cff7d8416cc278ec6ce2553018e3e420e5c02641d37fa1ffe4f6aede13f92a98041c65e1a607aff5e219eaef6e7ab90e9472a308096b4807617c7ab9046f
7
+ data.tar.gz: abbc99702d523b507c327cd1f77f52e73d8ae1d2ed63be0e3ac06112f6a6287d4a4a65f2ba8fe77f8d71339ce374cdc55fd1db30d95a57415b7c116696c77dac
@@ -47,6 +47,7 @@ module OpenHAB
47
47
  #
48
48
  #
49
49
  def update(update)
50
+ update = update.to_java.strip_trailing_zeros.to_plain_string if update.is_a? BigDecimal
50
51
  logger.trace "Sending Update #{update} to #{id}"
51
52
  BusEvent.postUpdate(self, update.to_s)
52
53
  end
@@ -5,5 +5,5 @@
5
5
  #
6
6
  module OpenHAB
7
7
  # @return [String] Version of OpenHAB helper libraries
8
- VERSION = '3.6.1'
8
+ VERSION = '3.6.2'
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: 3.6.1
4
+ version: 3.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian O'Connell