fugit 1.1.1 → 1.1.2

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.

Potentially problematic release.


This version of fugit might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 81fc12f0a38df76acbfbf90ff0901644b9f66dfe
4
- data.tar.gz: 4ecf116164305b7b734c2ec14bed9c33b11a4903
3
+ metadata.gz: dc33b35a4bb7439ed60f41718f593510bea10954
4
+ data.tar.gz: a5a278375d35f1529567f7da6786a5541bf2dab3
5
5
  SHA512:
6
- metadata.gz: 997bdda5647a33b91d671b57a2969346fdda38c01e8a70570b29cb53f04b9f1f2d35c42e79d0e3ce06cd8e00581cf19f39e4749ab3fc4eea81ef3ffaec9d45b0
7
- data.tar.gz: 6404cd9e6ad0993ec25291fd32136e25f168b684accfdbaad805c504cb6e56d811ff509a077047b8bdb461b20ec4cb4a63647b3250b683b46a9b7991ae2dcd9d
6
+ metadata.gz: 0a4e85d3a60f3126758ab3d51b9b9ac14d25896008cfed895b7fdf1fad9da6f37d9ca2ae9fa019691ceaca271d29c30308d4a4bb9593dc1fbc89a89af356a4e5
7
+ data.tar.gz: 1e30b5b2e717cadd18e0596d7ebcdbcc037254a280a9fc8297cdf1d9394efeeb0943b5ba69843e419e4c7c1f9c9c13a96875c241c1e364daf8a89eba97102b8f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
  # fugit CHANGELOG.md
3
3
 
4
4
 
5
+ ## fugit 1.1.2 released 2018-06-20
6
+
7
+ * Added Fugit::Cron#seconds (Tero Marttila in gh-3)
8
+
9
+
5
10
  ## fugit 1.1.1 released 2018-05-04
6
11
 
7
12
  * Depend on et-orbi 1.1.1 and better
data/CREDITS.md CHANGED
@@ -1,6 +1,7 @@
1
1
 
2
2
  # fugit credits
3
3
 
4
+ * Tero Marttila https://github.com/SpComb added missing Cron#seconds
4
5
  * Harry Lascelles https://github.com/hlascelles timezone reminder
5
6
 
6
7
 
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 occurence after a given date
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 occurences.
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 occurence computing. Timestamps and more.
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
@@ -1,7 +1,7 @@
1
1
 
2
2
  module Fugit
3
3
 
4
- VERSION = '1.1.1'
4
+ VERSION = '1.1.2'
5
5
  end
6
6
 
7
7
  require 'time'
data/lib/fugit/cron.rb CHANGED
@@ -15,7 +15,7 @@ module Fugit
15
15
  }
16
16
 
17
17
  attr_reader :original, :zone
18
- attr_reader :minutes, :hours, :monthdays, :months, :weekdays, :timezone
18
+ attr_reader :seconds, :minutes, :hours, :monthdays, :months, :weekdays, :timezone
19
19
 
20
20
  class << self
21
21
 
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.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-05-04 00:00:00.000000000 Z
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 occurence
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.6.13
102
+ rubygems_version: 2.5.2
103
103
  signing_key:
104
104
  specification_version: 4
105
105
  summary: time tools for flor