fugit 1.3.2 → 1.3.3

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: a1f0b03b24c2f3467b85203b569060a3bd1e43e5
4
- data.tar.gz: d7b5598b726f4dfc49e9ab73bc970ce4e02e6944
3
+ metadata.gz: 0e67fe1fbf7a5e0213b828cc78c59d6cf5b36a6e
4
+ data.tar.gz: 920ea06ef202094e9b1c9c719fb06c55e0926b51
5
5
  SHA512:
6
- metadata.gz: 3e6b92e0d2805d0bc4cc109342d7e4692b460e9d805ffff44c17bd645bddf88ea78f51b9d092fce6cbfb7ff31f62ca53dd88f009cc25c1759210e26c267d065c
7
- data.tar.gz: 52b960a0e3ceb3e0fdaec890e4b8731bc17a25bce5d161cfdfbb1b7a5d7ddc6126284bffa7262239c557e150b7b58fcccb9fff5188c1306ec2ba18d1ca7f00a3
6
+ metadata.gz: d6f4c28d4e280b73a0b5a3c6bae84e328e06fa33cb573bc8fc1a3660e1c921dd666c793fd17a18f10bc4d630d5db2473c2d75659def60bb6fd7342c9e3dfbb51
7
+ data.tar.gz: 40ae39ba32717fcc2d0148d2e4a63a2cd179fa61ef5de13670057021b77a95c9bec1ae7f299a3117602e63a1b02c5b1de683748ef793fa74ec394a4a7861992c
@@ -2,6 +2,11 @@
2
2
  # CHANGELOG.md
3
3
 
4
4
 
5
+ ## fugit 1.3.3 released 2019-08-29
6
+
7
+ * Fix Cron#match?(t) with respect to the cron's timezone, gh-31
8
+
9
+
5
10
  ## fugit 1.3.2 released 2019-08-14
6
11
 
7
12
  * Allow for "* 0-24 * * *", gh-30
data/CREDITS.md CHANGED
@@ -1,6 +1,7 @@
1
1
 
2
2
  # fugit credits
3
3
 
4
+ * Milovan Zogovic https://github.com/assembler Cron#match? vs TZ, gh-31
4
5
  * Jessica Stokes https://github.com/ticky 0-24 issue with cron, gh-30
5
6
  * Shai Coleman https://github.com/shaicoleman parse_nat enhancements, gh-24, gh-25, and gh-28
6
7
  * Jan Stevens https://github.com/JanStevens Fugit.parse('every 15 minutes') gh-22
@@ -1,7 +1,7 @@
1
1
 
2
2
  module Fugit
3
3
 
4
- VERSION = '1.3.2'
4
+ VERSION = '1.3.3'
5
5
  end
6
6
 
7
7
  require 'time'
@@ -197,7 +197,7 @@ module Fugit
197
197
 
198
198
  def match?(t)
199
199
 
200
- t = Fugit.do_parse_at(t)
200
+ t = Fugit.do_parse_at(t).translate(@timezone)
201
201
 
202
202
  month_match?(t) && day_match?(t) &&
203
203
  hour_match?(t) && min_match?(t) && sec_match?(t)
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.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-14 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: raabro