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 +4 -4
- data/lib/openhab/dsl/time/month_day.rb +15 -0
- data/lib/openhab/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9311e047c09ea5409e82e4650a2ef22d26513e10a566445370772e568552e0bd
|
4
|
+
data.tar.gz: c21b7970c72bf749d6403b212b8e84ab255b1dd07ef3d695c7881e5205edd72a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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})")
|
data/lib/openhab/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2021-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|