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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 890642297383c9a1dab1d88aa7700c2799474eb4dc9ab980b8a7933cb66600bb
4
- data.tar.gz: 211049d5fff3cd653a350e1acd68fb61da25f6553c7efbf86b02158025dc79e8
3
+ metadata.gz: 2c1fbdaa056fc86c9ee7a79c5aff27cb64e8de9eaac1f5457d646a986fb4e3c7
4
+ data.tar.gz: 370d15415b4a94391ae423dfb66232567e9cbb2a1869d60085a5fbf69c18e42a
5
5
  SHA512:
6
- metadata.gz: bdc85050dfcc1bfafb3c75978e23643dc6ce11101bbda12fcccfbe49da5d748a53755ea74c77786997f7b7db92fdf4f6e8835829f869846f9f6862f7290d35d8
7
- data.tar.gz: 2cca48030792406231b510547a1408e185c0da35cca308e99ac0a24f528717ca3518252bad2ff03d9cf3b7d51931780a766c757c1770aeef3c4023454e2683d5
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)/) { (Integer($1) + 1) % 7 }
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
@@ -1,3 +1,3 @@
1
1
  module ElasticWhenever
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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-07 00:00:00.000000000 Z
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.4.10
189
+ rubygems_version: 3.3.26
190
190
  signing_key:
191
191
  specification_version: 4
192
192
  summary: Manage ECS Scheduled Tasks like Whenever