elastic_whenever 1.0.0 → 1.0.1
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/CHANGELOG.md +6 -0
- data/lib/elastic_whenever/schedule.rb +1 -1
- data/lib/elastic_whenever/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c1fbdaa056fc86c9ee7a79c5aff27cb64e8de9eaac1f5457d646a986fb4e3c7
|
|
4
|
+
data.tar.gz: 370d15415b4a94391ae423dfb66232567e9cbb2a1869d60085a5fbf69c18e42a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be905a6e36ba90b2bb462000833a4eb12fb038b98c54143b899bdaf207b2397deab0d32cd4d022d36f42dd71783742f5abcd0314bdf79791f06c681e89010324
|
|
7
|
+
data.tar.gz: 19120c0c05322fa76bb6e81383bd045d445f473b1ae719146acd7a69b76a417347198a98514f894967c6021dbe65ff4ce018d1b89cd941c8b582b8286b8fce82
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## v1.0.1 (2024-01-27)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
- [#70](https://github.com/wata727/elastic_whenever/pull/70): Fix week converion issue in cron syntax
|
|
6
|
+
|
|
1
7
|
## v1.0.0 (2024-01-07)
|
|
2
8
|
|
|
3
9
|
Although this is a major version release, there are no notable incompatibilities. This means that the current behavior is stable enough that no major future changes are planned at this time.
|
|
@@ -136,7 +136,7 @@ module ElasticWhenever
|
|
|
136
136
|
day.gsub!("*", "?") if week != "?"
|
|
137
137
|
# cron syntax: sunday -> 0
|
|
138
138
|
# scheduled expression: sunday -> 1
|
|
139
|
-
week.gsub!(/(\d)/) {
|
|
139
|
+
week.gsub!(/(\d)/) { Integer($1) + 1 }
|
|
140
140
|
year = year || "*"
|
|
141
141
|
"cron(#{min} #{hour} #{day} #{mon} #{week} #{year})"
|
|
142
142
|
# schedule expression syntax
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elastic_whenever
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kazuma Watanabe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-01-
|
|
11
|
+
date: 2024-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
186
186
|
- !ruby/object:Gem::Version
|
|
187
187
|
version: '0'
|
|
188
188
|
requirements: []
|
|
189
|
-
rubygems_version: 3.
|
|
189
|
+
rubygems_version: 3.3.26
|
|
190
190
|
signing_key:
|
|
191
191
|
specification_version: 4
|
|
192
192
|
summary: Manage ECS Scheduled Tasks like Whenever
|