fugit 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/CREDITS.md +1 -0
- data/README.md +2 -2
- data/fugit.gemspec +1 -1
- data/lib/fugit.rb +1 -1
- data/lib/fugit/cron.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc33b35a4bb7439ed60f41718f593510bea10954
|
4
|
+
data.tar.gz: a5a278375d35f1529567f7da6786a5541bf2dab3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a4e85d3a60f3126758ab3d51b9b9ac14d25896008cfed895b7fdf1fad9da6f37d9ca2ae9fa019691ceaca271d29c30308d4a4bb9593dc1fbc89a89af356a4e5
|
7
|
+
data.tar.gz: 1e30b5b2e717cadd18e0596d7ebcdbcc037254a280a9fc8297cdf1d9394efeeb0943b5ba69843e419e4c7c1f9c9c13a96875c241c1e364daf8a89eba97102b8f
|
data/CHANGELOG.md
CHANGED
data/CREDITS.md
CHANGED
data/README.md
CHANGED
@@ -21,7 +21,7 @@ Fugit will probably become the foundation for [rufus-scheduler](https://github.c
|
|
21
21
|
### Similar, somehow overlapping projects
|
22
22
|
|
23
23
|
* [chronic](https://github.com/mojombo/chronic) - a pure Ruby natural language date parser
|
24
|
-
* [parse-cron](https://github.com/siebertm/parse-cron) - parses cron expressions and calculates the next
|
24
|
+
* [parse-cron](https://github.com/siebertm/parse-cron) - parses cron expressions and calculates the next occurrence after a given date
|
25
25
|
* [ice_cube](https://github.com/seejohnrun/ice_cube) - Ruby date recurrence library
|
26
26
|
* [ISO8601](https://github.com/arnau/ISO8601) - Ruby parser to work with ISO8601 dateTimes and durations
|
27
27
|
* ...
|
@@ -47,7 +47,7 @@ Fugit.parse('every day at noon').class # ==> ::Fugit::Cron
|
|
47
47
|
|
48
48
|
A class `Fugit::Cron` to parse cron strings and then `#next_time` and `#previous_time` to compute the next or the previous occurrence respectively.
|
49
49
|
|
50
|
-
There is also a `#brute_frequency` method which returns an array `[ shortest delta, longest delta, occurrence count ]` where delta is the time between two
|
50
|
+
There is also a `#brute_frequency` method which returns an array `[ shortest delta, longest delta, occurrence count ]` where delta is the time between two occurrences.
|
51
51
|
|
52
52
|
```ruby
|
53
53
|
require 'fugit'
|
data/fugit.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
|
|
15
15
|
s.summary = 'time tools for flor'
|
16
16
|
|
17
17
|
s.description = %{
|
18
|
-
Time tools for flor and the floraison project. Cron parsing and
|
18
|
+
Time tools for flor and the floraison project. Cron parsing and occurrence computing. Timestamps and more.
|
19
19
|
}.strip
|
20
20
|
|
21
21
|
#s.files = `git ls-files`.split("\n")
|
data/lib/fugit.rb
CHANGED
data/lib/fugit/cron.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: raabro
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '3.7'
|
61
|
-
description: Time tools for flor and the floraison project. Cron parsing and
|
61
|
+
description: Time tools for flor and the floraison project. Cron parsing and occurrence
|
62
62
|
computing. Timestamps and more.
|
63
63
|
email:
|
64
64
|
- jmettraux+flor@gmail.com
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
101
|
rubyforge_project:
|
102
|
-
rubygems_version: 2.
|
102
|
+
rubygems_version: 2.5.2
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: time tools for flor
|