openhab-scripting 4.24.1 → 4.25.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9aea0636a21d8c96b90fe0b904331e9980937c4c027bf9d246aacba450b28148
4
- data.tar.gz: 9cdb5a5c7625fc6d5fb3cc140a079f85622864aab6d9cf32442d38a1a4267d6d
3
+ metadata.gz: 9311e047c09ea5409e82e4650a2ef22d26513e10a566445370772e568552e0bd
4
+ data.tar.gz: c21b7970c72bf749d6403b212b8e84ab255b1dd07ef3d695c7881e5205edd72a
5
5
  SHA512:
6
- metadata.gz: d65920cefe3305a97d89bb4cb1caef9d6631738976b25e6f30ab7b2b02ba0abba6b09e8a2ae9ca810bd47c891b211d1f53dad443c547d3c934ecbe1880adfbaa
7
- data.tar.gz: 01f1a22c24ebad1ae80b125971a03d71ff4cd5785bd8c35a4ffa2a0e6299b24a27d7e8ceefda16e3b032314e42d26ceee13ab9c67363120a9d6b84a3a0f44596
6
+ metadata.gz: 0f62960bbd5fc2e51064bc63c4a3cc7e2e9de322233a1f489311ca20c3df51381c04449a4af0dff455ceb998f4e43ab4ac2668101aa7838c3445e0c4093f6074
7
+ data.tar.gz: df255a6f1e8a5b573d6b37b0ec6637cd7ccdea4e6abdd937f19b0f8f484713406133cb86fb2c080bdb132717a3efa313c626c4b4cd89ea62baf4bca31b26f58b
@@ -108,6 +108,21 @@ module OpenHAB
108
108
  class MonthDay
109
109
  include OpenHAB::Log
110
110
  java_import java.time.format.DateTimeFormatter
111
+
112
+ #
113
+ # Constructor
114
+ #
115
+ # @param [Integer] m month
116
+ # @param [Integer] d day of month
117
+ #
118
+ # @return [Object] MonthDay object
119
+ #
120
+ # rubocop: disable Naming/MethodParameterName
121
+ def self.new(m:, d:)
122
+ MonthDay.of(m, d)
123
+ end
124
+ # rubocop: enable Naming/MethodParameterName
125
+
111
126
  # Parse MonthDay string as defined with by Monthday class without leading double dash "--"
112
127
  def self.parse(string)
113
128
  logger.trace("#{self.class}.parse #{string} (#{string.class})")
@@ -5,5 +5,5 @@
5
5
  #
6
6
  module OpenHAB
7
7
  # @return [String] Version of OpenHAB helper libraries
8
- VERSION = '4.24.1'
8
+ VERSION = '4.25.0'
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openhab-scripting
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.24.1
4
+ version: 4.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian O'Connell
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-14 00:00:00.000000000 Z
11
+ date: 2021-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler