fugit 1.3.6 → 1.3.7
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/README.md +1 -1
- data/lib/fugit.rb +1 -1
- data/lib/fugit/nat.rb +6 -2
- 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: d3e29ff88eb9d7ce1e5214af33683f577967b86ded3ee9f90be8c628fa982e40
|
4
|
+
data.tar.gz: 7adb64aaee08b7c354a3e619eda0edb96696ad4fd1d19d39c06e9a9768d058b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db82aa99da670c23ba90424e015afcc8e0b5fff419d62806439bd94f171b8e0df18bbf0d3531343e814d2f9a1709a577f91f0d12024be3654df0f73922a255d5
|
7
|
+
data.tar.gz: 5bd2ae16ad1e244a6a4f26f24ba8f5291c0e1ee3271b5ccbe86c1dcd3131a383731829c838826f8dbc94ecd6e14fa6d918576a3e2347882fb635e50c8c9c3ce4
|
data/CHANGELOG.md
CHANGED
data/CREDITS.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
|
2
2
|
# fugit credits
|
3
3
|
|
4
|
+
* Jérôme Dalbert https://github.com/jeromedalbert every 12h at min 50, gh-41
|
4
5
|
* Danny Ben Shitrit https://github.com/DannyBen nat variants, gh-38
|
5
6
|
* Dominik Sander https://github.com/dsander #rough_frequency 0, gh-36
|
6
7
|
* Milovan Zogovic https://github.com/assembler Cron#match? vs TZ, gh-31
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Time tools for [flor](https://github.com/floraison/flor) and the floraison group
|
|
9
9
|
|
10
10
|
It uses [et-orbi](https://github.com/floraison/et-orbi) to represent time instances and [raabro](https://github.com/floraison/raabro) as a basis for its parsers.
|
11
11
|
|
12
|
-
Fugit is a core dependency of [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler) 3.5.
|
12
|
+
Fugit is a core dependency of [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler) >= 3.5.
|
13
13
|
|
14
14
|
|
15
15
|
## Related projects
|
data/lib/fugit.rb
CHANGED
data/lib/fugit/nat.rb
CHANGED
@@ -96,10 +96,14 @@ module Fugit
|
|
96
96
|
when 's', 'sec', 'second', 'seconds'
|
97
97
|
h[:sec] = eone(e)
|
98
98
|
when 'm', 'min', 'mins', 'minute', 'minutes'
|
99
|
-
#(h[:hms] ||= []) << [ '*', eone(e) ]
|
100
99
|
h[:hms] ||= [ [ '*', eone(e) ] ]
|
101
100
|
when 'h', 'hour', 'hours'
|
102
|
-
h[:hms]
|
101
|
+
hms = h[:hms]
|
102
|
+
if hms && hms.size == 1 && hms.first.first == '*'
|
103
|
+
hms.first[0] = eone(e)
|
104
|
+
elsif ! hms
|
105
|
+
h[:hms] = [ [ eone(e), 0 ] ]
|
106
|
+
end
|
103
107
|
when 'd', 'day', 'days'
|
104
108
|
h[:dom] = "*/#{e1}" if e1 > 1
|
105
109
|
h[:hms] ||= [ [ 0, 0 ] ]
|
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.3.
|
4
|
+
version: 1.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: raabro
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
|
-
rubygems_version: 3.
|
120
|
+
rubygems_version: 3.1.2
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: time tools for flor
|