lightwaverf 0.13.1 → 0.13.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.
Files changed (2) hide show
  1. data/lib/lightwaverf.rb +1 -1
  2. metadata +2 -2
@@ -246,7 +246,7 @@ class LightWaveRF
246
246
  end
247
247
 
248
248
  def cron_entry_times event
249
- return event['date'].strftime('%M %H * * *') if event['rrule'] == 'FREQ=DAILY'
249
+ return event['date'].strftime('%M %H * * *') if event['rrule'] =~ /\AFREQ=DAILY/
250
250
  match = /BYDAY=([\w,]+)/.match(event['rrule'])
251
251
  return event['date'].strftime('%M %H * * ') + self.rrule_days_of_week(match[1]) if match
252
252
  return event['date'].strftime('%M %H %d %m *') if event['date']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lightwaverf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-08-08 00:00:00.000000000 Z
14
+ date: 2016-11-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: htmlentities