cron_format 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/cron_format.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +23 -23
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 213ae5f010beaf20875d6a8b7ac6bf5ed0809389
|
4
|
+
data.tar.gz: 92b678dd4350c5a953dbc6ac8354942eb530724e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a7bbe1658ae3127723a753b813620b93b1a5dd262ede071f9fe568a349bd023a410183e8fd54e3b70f27ed80b9b96015887c8c26823f3ca70d72720f1950671
|
7
|
+
data.tar.gz: 94ddd4329f400ff69575925380e08abfbc4d35ae5a8fcc27dba447d22a0c44897249b6b80131ba42222d1845e0960454a31acf5db0df511bfb5d95024177a7e2
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/cron_format.rb
CHANGED
@@ -216,11 +216,11 @@ class CronFormat
|
|
216
216
|
t = Time.parse(TF % d.reverse)
|
217
217
|
# if there is a defined weekday, increment a day at
|
218
218
|
# a time to match that weekday
|
219
|
-
if wday
|
219
|
+
if wday then
|
220
220
|
|
221
221
|
t = Time.parse(TF % d.reverse)
|
222
222
|
|
223
|
-
if repeaters[4] then
|
223
|
+
if repeaters[4] and wday == t.wday then
|
224
224
|
t += repeaters[4].to_i * WEEK while t < @to_time
|
225
225
|
else
|
226
226
|
d[2], d[3] = @to_time.to_a.values_at(3,4).map(&:to_s)
|
@@ -343,4 +343,4 @@ class CronFormat
|
|
343
343
|
end
|
344
344
|
end
|
345
345
|
|
346
|
-
end
|
346
|
+
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cron_format
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -10,28 +10,28 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
YXN0ZXIxHjAcBgoJkiaJk/
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
+
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
|
14
|
+
YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
|
15
|
+
8ixkARkWAmV1MB4XDTE2MTExMDE3MzczMloXDTE3MTExMDE3MzczMlowSDESMBAG
|
16
|
+
A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
|
17
|
+
EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
|
18
|
+
ggEBAOrvtZ20zsEom4ClTrTBIfgLclsq381k7HD6kHO49DQ/sTb0DpesQ5FrE4pc
|
19
|
+
NPDNGrTo4P0NvEJBTzdUdKMHYa7ULjHDwYutyd0A7KCk7oIqAW4hgIm1SQd9LtMo
|
20
|
+
+6kLx87o0ZokQil2QOdIB0AbL5g0qMUwqpGzbWOZKcW2tJMOchelXwj7+7wUP91v
|
21
|
+
6duJjC4Q6omHT/BZQzCJKAbYDdQDWbA7nQFvOlJdMN0nFAm9gAsxOcwknDQOwA5v
|
22
|
+
sQst4WXlS5Ia4pXODc+JCH8monbcO+Sf7qcXKLEJJSqvmGRKy4SGOpIyyUnKh+FK
|
23
|
+
MB5w6gMhZwxpI5eo2RtpfF6iL9ECAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
|
24
|
+
DwQEAwIEsDAdBgNVHQ4EFgQUh0G7W5DOyFQXKRn4FrK3/VbrAJEwJgYDVR0RBB8w
|
25
|
+
HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
|
26
|
+
c3RlckBqYW1lc3JvYmVydHNvbi5ldTANBgkqhkiG9w0BAQUFAAOCAQEAo6+pucoE
|
27
|
+
NvF0CKX2qBbKWpUk/a0Ikdu1SdDzovqCWf/Z93fYnO2GPB+twDRZQI2Q702Gp4Bb
|
28
|
+
6aeqchR5BxYX6PK5If29fU8yJxW0JJNz+86RbSq4JB8jY0HqZbktDU9r/b1VIk8f
|
29
|
+
vd1xDCbwHKcrU/xVOEHMVS3XiDqY2XZ3+eJvf1RMOKfMK7GQutQyMVCVxPTdMZBS
|
30
|
+
Wipt4OaH59A+24DTcNjPylMHao7dvsGIfm99VlG8d94ohJWdyI3MsDDmshZXIpzL
|
31
|
+
vM+51AcyMmQvSKbr4BARBqmnT65tnfe9ONSNd7tuqvdl66/Hq26L2wB85lseyr1e
|
32
|
+
7X96Zq3xSMq7wQ==
|
33
33
|
-----END CERTIFICATE-----
|
34
|
-
date:
|
34
|
+
date: 2016-11-10 00:00:00.000000000 Z
|
35
35
|
dependencies: []
|
36
36
|
description:
|
37
37
|
email: james@r0bertson.co.uk
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
60
|
version: '0'
|
61
61
|
requirements: []
|
62
62
|
rubyforge_project:
|
63
|
-
rubygems_version: 2.
|
63
|
+
rubygems_version: 2.5.1
|
64
64
|
signing_key:
|
65
65
|
specification_version: 4
|
66
66
|
summary: cron_format
|
metadata.gz.sig
CHANGED
Binary file
|