fugit 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/CREDITS.md +1 -0
- data/README.md +11 -1
- data/fugit.gemspec +13 -1
- data/lib/fugit.rb +1 -1
- data/lib/fugit/cron.rb +1 -1
- data/lib/fugit/nat.rb +1 -1
- metadata +10 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43d809bb38ebcb6023200f72d6805c838582c2e5
|
4
|
+
data.tar.gz: 487f5c3dd2da3a7a6607432c8350012278bf3fa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a22e4bf53a63a6bf12fa219a0aeb862e13adc21f48fb0c4ae429873057c57a29a238b42d95aad0ea3717003ed7235c329f98248a01ccdec78d8a911f5d8b7faa
|
7
|
+
data.tar.gz: 5607348dd17a19e43c39f62497c1b9c224f02ad693a7c6cce3edb19285010fc669cc131ffcfa2454f186405b6fdf17d82680dd6a7baa8bed530ca89cd313b8c5
|
data/CHANGELOG.md
CHANGED
data/CREDITS.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
|
2
2
|
# fugit credits
|
3
3
|
|
4
|
+
* Nils Mueller https://github.com/Tolsto missing Olson timezone names, gh-9
|
4
5
|
* jakemack https://github.com/jakemack issue when going out of DST, gh-6
|
5
6
|
* Cristian Bica https://github.com/cristianbica Nat improvements, gh-7
|
6
7
|
* Utilum https://github.com/utilum silenced Ruby warnings
|
data/README.md
CHANGED
@@ -15,10 +15,12 @@ Fugit is a core dependency of [rufus-scheduler](https://github.com/jmettraux/ruf
|
|
15
15
|
|
16
16
|
### Sister projects
|
17
17
|
|
18
|
+
The intersection of those two projects is where fugit is born:
|
19
|
+
|
18
20
|
* [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler) - a cron/at/in/every/interval in-process scheduler, in fact, it's the father project to this fugit project
|
19
21
|
* [flor](https://github.com/floraison/flor) - a Ruby workflow engine, fugit provides the foundation for its time scheduling capabilities
|
20
22
|
|
21
|
-
### Similar,
|
23
|
+
### Similar, sometimes overlapping projects
|
22
24
|
|
23
25
|
* [chronic](https://github.com/mojombo/chronic) - a pure Ruby natural language date parser
|
24
26
|
* [parse-cron](https://github.com/siebertm/parse-cron) - parses cron expressions and calculates the next occurrence after a given date
|
@@ -26,6 +28,14 @@ Fugit is a core dependency of [rufus-scheduler](https://github.com/jmettraux/ruf
|
|
26
28
|
* [ISO8601](https://github.com/arnau/ISO8601) - Ruby parser to work with ISO8601 dateTimes and durations
|
27
29
|
* ...
|
28
30
|
|
31
|
+
### Projects using fugit
|
32
|
+
|
33
|
+
* [arask](https://github.com/Ebbe/arask) - "Automatic RAils taSKs" uses fugit to parse cron strings
|
34
|
+
* [sideqik-cron](https://github.com/ondrejbartas/sidekiq-cron) - recent versions of Sideqik-Cron use fugit to parse cron strings
|
35
|
+
* [rufus-scheduler](https://github.com/jmettraux/rufus-scheduler) -
|
36
|
+
* [flor](https://github.com/floraison/flor) - used in the [cron](https://github.com/floraison/flor/blob/master/doc/procedures/cron.md) procedure
|
37
|
+
* ...
|
38
|
+
|
29
39
|
|
30
40
|
## `Fugit.parse(s)`
|
31
41
|
|
data/fugit.gemspec
CHANGED
@@ -18,6 +18,16 @@ Gem::Specification.new do |s|
|
|
18
18
|
Time tools for flor and the floraison project. Cron parsing and occurrence computing. Timestamps and more.
|
19
19
|
}.strip
|
20
20
|
|
21
|
+
s.metadata = {
|
22
|
+
'changelog_uri' => s.homepage + '/blob/master/CHANGELOG.md',
|
23
|
+
'documentation_uri' => s.homepage,
|
24
|
+
'bug_tracker_uri' => s.homepage + '/issues',
|
25
|
+
#'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/floraison',
|
26
|
+
'homepage_uri' => s.homepage,
|
27
|
+
'source_code_uri' => s.homepage,
|
28
|
+
#'wiki_uri' => s.homepage + '/wiki',
|
29
|
+
}
|
30
|
+
|
21
31
|
#s.files = `git ls-files`.split("\n")
|
22
32
|
s.files = Dir[
|
23
33
|
'README.{md,txt}',
|
@@ -28,8 +38,10 @@ Time tools for flor and the floraison project. Cron parsing and occurrence compu
|
|
28
38
|
]
|
29
39
|
|
30
40
|
#s.add_runtime_dependency 'tzinfo'
|
41
|
+
# this dependency appears in 'et-orbi'
|
42
|
+
|
31
43
|
s.add_runtime_dependency 'raabro', '~> 1.1'
|
32
|
-
s.add_runtime_dependency 'et-orbi', '~> 1.1', '>= 1.1.
|
44
|
+
s.add_runtime_dependency 'et-orbi', '~> 1.1', '>= 1.1.6'
|
33
45
|
|
34
46
|
s.add_development_dependency 'rspec', '~> 3.7'
|
35
47
|
|
data/lib/fugit.rb
CHANGED
data/lib/fugit/cron.rb
CHANGED
@@ -542,7 +542,7 @@ module Fugit
|
|
542
542
|
alias ldow list_dow
|
543
543
|
|
544
544
|
def _tz_name(i)
|
545
|
-
rex(nil, i, / +[A-Z][a-zA-Z0-9]+(\/[A-Z][a-zA-Z0-
|
545
|
+
rex(nil, i, / +[A-Z][a-zA-Z0-9+\-]+(\/[A-Z][a-zA-Z0-9+\-_]+){0,2}/)
|
546
546
|
end
|
547
547
|
def _tz_delta(i)
|
548
548
|
rex(nil, i, / +[-+]([01][0-9]|2[0-4]):?(00|15|30|45)/)
|
data/lib/fugit/nat.rb
CHANGED
@@ -128,7 +128,7 @@ module Fugit
|
|
128
128
|
def name_day(i); rex(:name_day, i, /#{WEEKDAYS.reverse.join('|')}/i); end
|
129
129
|
|
130
130
|
def _tz_name(i)
|
131
|
-
rex(nil, i, /[A-Z][a-zA-Z0-9]+(\/[A-Z][a-zA-Z0-9
|
131
|
+
rex(nil, i, /[A-Z][a-zA-Z0-9+\-]+(\/[A-Z][a-zA-Z0-9+\-_]+){0,2}/)
|
132
132
|
end
|
133
133
|
def _tz_delta(i)
|
134
134
|
rex(nil, i, /[-+]([01][0-9]|2[0-4]):?(00|15|30|45)/)
|
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.6
|
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-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: raabro
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '1.1'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.1.
|
36
|
+
version: 1.1.6
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '1.1'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 1.1.
|
46
|
+
version: 1.1.6
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +82,12 @@ files:
|
|
82
82
|
homepage: http://github.com/floraison/fugit
|
83
83
|
licenses:
|
84
84
|
- MIT
|
85
|
-
metadata:
|
85
|
+
metadata:
|
86
|
+
changelog_uri: http://github.com/floraison/fugit/blob/master/CHANGELOG.md
|
87
|
+
documentation_uri: http://github.com/floraison/fugit
|
88
|
+
bug_tracker_uri: http://github.com/floraison/fugit/issues
|
89
|
+
homepage_uri: http://github.com/floraison/fugit
|
90
|
+
source_code_uri: http://github.com/floraison/fugit
|
86
91
|
post_install_message:
|
87
92
|
rdoc_options: []
|
88
93
|
require_paths:
|