fugit 1.1.5 → 1.1.6

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
  SHA1:
3
- metadata.gz: f27107c7603ef6d23deb7ce3a37f377f91efc738
4
- data.tar.gz: 01322c2865d102807fe4e263c83d6c6ce56853d7
3
+ metadata.gz: 43d809bb38ebcb6023200f72d6805c838582c2e5
4
+ data.tar.gz: 487f5c3dd2da3a7a6607432c8350012278bf3fa9
5
5
  SHA512:
6
- metadata.gz: acbd5be7fe73de2b68cb518f6626f93d1d7c06f474cb89c2ae487013854deeaebf5029c97ee57d97832f0f2f81a819eeed65a5cf9929dc81bc3c7a7baa0832fc
7
- data.tar.gz: 7cfd640731cf49b1ac378d21dc310e852c1bdc995b4ec90228c55db7685041195b3df5caf69e88cf446eb8112fcd4839572dcb542f3b32a424d4469cf74927e1
6
+ metadata.gz: a22e4bf53a63a6bf12fa219a0aeb862e13adc21f48fb0c4ae429873057c57a29a238b42d95aad0ea3717003ed7235c329f98248a01ccdec78d8a911f5d8b7faa
7
+ data.tar.gz: 5607348dd17a19e43c39f62497c1b9c224f02ad693a7c6cce3edb19285010fc669cc131ffcfa2454f186405b6fdf17d82680dd6a7baa8bed530ca89cd313b8c5
@@ -1,5 +1,11 @@
1
1
 
2
- # fugit CHANGELOG.md
2
+ # CHANGELOG.md
3
+
4
+
5
+ ## fugit 1.1.6 released 2018-09-05
6
+
7
+ * Ensure `Etc/GMT-11` and all Olson timezone names are recognized
8
+ in cron and nat strings, gh-9
3
9
 
4
10
 
5
11
  ## fugit 1.1.5 released 2018-07-30
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, somehow overlapping projects
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
 
@@ -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.3'
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
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  module Fugit
3
3
 
4
- VERSION = '1.1.5'
4
+ VERSION = '1.1.6'
5
5
  end
6
6
 
7
7
  require 'time'
@@ -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-9_]+){0,2}/)
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)/)
@@ -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\_]+){0,2}/)
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.5
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-07-29 00:00:00.000000000 Z
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.3
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.3
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: