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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99a0ca904d654c337740464abd374dba588c9b17
4
- data.tar.gz: 16fead223c0e283f59131ad3e531e8c7a1c532e3
3
+ metadata.gz: 213ae5f010beaf20875d6a8b7ac6bf5ed0809389
4
+ data.tar.gz: 92b678dd4350c5a953dbc6ac8354942eb530724e
5
5
  SHA512:
6
- metadata.gz: a01c508a4c06f085a992eac8429dcc2cdf25ea46111f6d9d199ee93e374eb929db9bbab3b0c15a9cc12e50edf49ca093a34c26d359465a9dc5e3f3ed7a1a055f
7
- data.tar.gz: 14a894176506cd61ec1950fb4c6cae49dfde78d57f7b0ffb79683e4f06cc86c8b2ccac94963242b7478450d140371dbad561c07b329eed93dad8199b6bffc910
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 and wday != t.wday then
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.2
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
- MIIDmDCCAoCgAwIBAgIBATANBgkqhkiG9w0BAQUFADBJMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjETMBEGCgmSJomT
15
- 8ixkARkWA2V1XzAeFw0xNTAxMTQyMTI2NDdaFw0xNjAxMTQyMTI2NDdaMEkxEjAQ
16
- BgNVBAMMCWdlbW1hc3RlcjEeMBwGCgmSJomT8ixkARkWDmphbWVzcm9iZXJ0c29u
17
- MRMwEQYKCZImiZPyLGQBGRYDZXVfMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
18
- CgKCAQEAr9xvXIQaNXIGdnLqaDHCEjb+8JPxElPK0kO7sz+DHXJgGr2gZ7Fpp9H/
19
- 7ps4nOysRBuAjZWXM6f2V20MVekpoknLkMqJb0MGkX+fipeioarVUUoDTmFBDFhb
20
- zOD8Hwq4JOyOBpyD90xHBMBFve+ZRgwXRayAW3dlQEn3YsGukt91IJzJzG3B9ewq
21
- QXyD27cOwuac+9E6wsbhsqLa0UjdHjMnQ2wKvZb28J8iIY5juNbz81CssuVmolH8
22
- +B096ge0IkGIiAnyMrf9Uye7kzVixeJMxNHZU8/n/h5UFDyOBkVrZxjdmSHPLm+I
23
- i+yg9/LrBBvBlzykrKgRc2U6B7McHQIDAQABo4GKMIGHMAkGA1UdEwQCMAAwCwYD
24
- VR0PBAQDAgSwMB0GA1UdDgQWBBQYtwchW6cgSusk8+Q+iJpSpLU47DAmBgNVHREE
25
- HzAdgRtnZW1tYXN0ZXJAamFtZXNyb2JlcnRzb24uZXUwJgYDVR0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WXlS5Ia4pXODc+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: 2015-04-14 00:00:00.000000000 Z
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.4.6
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