dynarex-events 0.1.5 → 0.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: 61cdec1f0220d10ebb2eb5668ed9503d59d84b65
4
- data.tar.gz: e80cc0cbd8f430f523193cce5bf731796bb61546
3
+ metadata.gz: b399811476c1f91e12fbfb070f5fc999590bfe31
4
+ data.tar.gz: ff2f614db99a2beaaec82e61b86d61b3a7b1225b
5
5
  SHA512:
6
- metadata.gz: 57a2a8d8b9c1e7ca56420ffec0b182cd74086bc5031337e6dcf077e00df0c31e80752ab0322b79bd2da39d29efed6b47ab753158c0a6e4c52f8175fe7d8ae836
7
- data.tar.gz: bcefdb12dbeab3d261c3d4662a738ff318ce0d15aa8ae852b7bc8fa51b6f7dd0e526e2f1a4249e93458700cee06f3b2c0ff7bd7b08a368478006eaadd9c36c95
6
+ metadata.gz: 578176b86c1916104e97c742bc0282143c9f9b24e0f75f33792e3363a8868f8e5a26d9438064149bc8c26c51f3a5f65c5b191dd61b81c5cebe5e23469275f226
7
+ data.tar.gz: ab92aeb414777e9054439223fc9fda9ec94136339e82c0b25c929899ea584d222e859de354c358052cd08c290a6868b0c1cb48f279428c57208e3c4e578d3e69
checksums.yaml.gz.sig CHANGED
Binary file
@@ -67,7 +67,9 @@ class DynarexEvents < DynarexCron
67
67
 
68
68
  @entries.inject([]) do |r,h|
69
69
 
70
- h[:cron] = ChronicCron.new(h[:date] + ' ' + h[:recurring].to_s )
70
+ s = h[:expression].length > 0 ? h[:expression] : h[:date] + ' ' \
71
+ + h[:recurring].to_s
72
+ h[:cron] = ChronicCron.new(s)
71
73
  h[:job] ||= 'pub event: ' + h[:title]
72
74
 
73
75
  if h[:reminder].to_s.length > 0 then
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynarex-events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  wC9cuVCUDZfVJ5fj3LNV2ZYGD4xDEqRa7w7DJluVaQSyYKIUqTFf7yOG5D2hu/OR
32
32
  5cbgqBz0i1h9/Q==
33
33
  -----END CERTIFICATE-----
34
- date: 2013-10-26 00:00:00.000000000 Z
34
+ date: 2013-10-27 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dynarex_cron
metadata.gz.sig CHANGED
Binary file