fugit 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fugit might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/CREDITS.md +1 -0
- data/lib/fugit.rb +1 -1
- data/lib/fugit/cron.rb +2 -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: 396cc931521c222b522a89e3840d3e1bd42e0927f20d5d3f0532122eafd62f74
|
4
|
+
data.tar.gz: a04d54cd9894c593674031f704133f825769438e85a91330baaa42ad27089d68
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e97aebd235b532d3ad3a3df969b7189d1e628c3e1229d9d8d5a89b48fd552ebd856faf203289e9171df9b32e7a79b89ff33675799b83c6381eafc1f61945605e
|
7
|
+
data.tar.gz: eaaed3254216b7082d8715990768d6b6588a864899e6911f74e967dfa83ed93221032420f82bd3f7215536365ee9340b2f2f6a2e175826456c9367d80d3ed9c4
|
data/CHANGELOG.md
CHANGED
data/CREDITS.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
|
2
2
|
# fugit credits
|
3
3
|
|
4
|
+
* Olle Jonsson https://github.com/olleolleolle gha Ruby 3.0
|
4
5
|
* Andy Pfister https://github.com/andyundso gh-53, entering DST
|
5
6
|
* Solteszad https://github.com/solteszad gh-51, fix previous_time vs last day of month
|
6
7
|
* Niklas https://github.com/gr8bit gh-49, Fugit::Cron.parse('')
|
data/lib/fugit.rb
CHANGED
data/lib/fugit/cron.rb
CHANGED
@@ -92,7 +92,8 @@ module Fugit
|
|
92
92
|
|
93
93
|
def inc_day
|
94
94
|
inc((24 - @t.hour) * 3600 - @t.min * 60 - @t.sec)
|
95
|
-
inc( - @t.hour * 3600) if @t.hour != 0 # compensate for entering DST
|
95
|
+
#inc( - @t.hour * 3600) if @t.hour != 0 # compensate for entering DST
|
96
|
+
inc( - @t.hour * 3600) if @t.hour > 0 && @t.hour < 7
|
96
97
|
end
|
97
98
|
def inc_hour
|
98
99
|
inc((60 - @t.min) * 60 - @t.sec)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fugit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: raabro
|