Sha256: dd4a89f9e9135031096eae80bf03a7a0307ff3038493773ebbe4e34c7870208f

Contents?: true

Size: 484 Bytes

Versions: 37

Compression:

Stored size: 484 Bytes

Contents

class RecurrenceDataset < Dataset::Base
  def load
    create_record EventRecurrenceRule, :date_limited, :period => 'weekly', :interval => 1, :basis => 'limit', :limiting_date => DateTime.civil(2009, 2, 24)
    create_record EventRecurrenceRule, :count_limited, :period => 'monthly', :interval => 2 ,:basis => 'count', :limiting_date => DateTime.civil(2009, 2, 24), :limiting_count => 12
    create_record EventRecurrenceRule, :unlimited, :period => 'daily', :interval => 2
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
droom-0.4.3 spec/datasets/recurrence_dataset.rb
droom-0.4.2 spec/datasets/recurrence_dataset.rb
droom-0.4.1 spec/datasets/recurrence_dataset.rb
droom-0.2.1 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.5.6 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.5.5 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.5.4 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.5.3 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.5.1 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.5.0 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.14 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.12 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.10 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.9 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.8 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.7 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.6 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.5 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.2 spec/datasets/recurrence_dataset.rb
radiant-event_calendar-extension-1.4.1 spec/datasets/recurrence_dataset.rb