ri_cal 0.8.2 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +10 -0
- data/Manifest.txt +23 -3
- data/lib/ri_cal.rb +28 -16
- data/lib/ri_cal/component.rb +11 -7
- data/lib/ri_cal/component/alarm.rb +0 -2
- data/lib/ri_cal/component/calendar.rb +0 -2
- data/lib/ri_cal/component/event.rb +0 -2
- data/lib/ri_cal/component/freebusy.rb +0 -2
- data/lib/ri_cal/component/journal.rb +0 -3
- data/lib/ri_cal/component/non_standard.rb +0 -2
- data/lib/ri_cal/component/timezone.rb +5 -5
- data/lib/ri_cal/component/timezone/timezone_period.rb +0 -2
- data/lib/ri_cal/component/todo.rb +0 -2
- data/lib/ri_cal/core_extensions.rb +8 -3
- data/lib/ri_cal/core_extensions/array.rb +1 -1
- data/lib/ri_cal/core_extensions/date.rb +3 -3
- data/lib/ri_cal/core_extensions/date_time.rb +4 -4
- data/lib/ri_cal/core_extensions/object.rb +1 -1
- data/lib/ri_cal/core_extensions/string.rb +1 -1
- data/lib/ri_cal/core_extensions/time.rb +5 -4
- data/lib/ri_cal/fast_date_time.rb +1 -1
- data/lib/ri_cal/{invalid_timezone_identifer.rb → invalid_timezone_identifier.rb} +0 -0
- data/lib/ri_cal/properties.rb +12 -0
- data/lib/ri_cal/property_value.rb +14 -5
- data/lib/ri_cal/property_value/duration.rb +1 -1
- data/lib/ri_cal/property_value/recurrence_rule.rb +13 -4
- data/lib/ri_cal/property_value/recurrence_rule/enumeration_support_methods.rb +16 -13
- data/lib/ri_cal/property_value/recurrence_rule/enumerator.rb +1 -1
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer.rb +134 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/by_day_incrementer.rb +82 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/by_hour_incrementer.rb +31 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/by_minute_incrementer.rb +32 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/by_month_incrementer.rb +52 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/by_monthday_incrementer.rb +31 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/by_numbered_day_incrementer.rb +34 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/by_second_incrementer.rb +32 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/by_weekno_incrementer.rb +65 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/by_yearday_incrementer.rb +31 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/daily_incrementer.rb +28 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/frequency_incrementer.rb +71 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/hourly_incrementer.rb +23 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/list_incrementer.rb +96 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/minutely_incrementer.rb +23 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/monthly_incrementer.rb +33 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/null_sub_cycle_incrementer.rb +39 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/secondly_incrementer.rb +28 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/weekly_incrementer.rb +37 -0
- data/lib/ri_cal/property_value/recurrence_rule/occurrence_incrementer/yearly_incrementer.rb +57 -0
- data/lib/ri_cal/property_value/recurrence_rule/time_manipulation.rb +42 -0
- data/ri_cal.gemspec +3 -3
- metadata +25 -5
- data/lib/ri_cal/property_value/recurrence_rule/occurence_incrementer.rb +0 -793
- data/sample_ical_files/from_ical_dot_app/test1.ics +0 -38
@@ -1,38 +0,0 @@
|
|
1
|
-
BEGIN:VCALENDAR
|
2
|
-
METHOD:PUBLISH
|
3
|
-
X-WR-TIMEZONE:America/New_York
|
4
|
-
PRODID:-//Apple Inc.//iCal 3.0//EN
|
5
|
-
CALSCALE:GREGORIAN
|
6
|
-
X-WR-CALNAME:test
|
7
|
-
VERSION:2.0
|
8
|
-
X-WR-RELCALID:1884C7F8-BC8E-457F-94AC-297871967D5E
|
9
|
-
X-APPLE-CALENDAR-COLOR:#2CA10B
|
10
|
-
BEGIN:VTIMEZONE
|
11
|
-
TZID:US/Eastern
|
12
|
-
BEGIN:DAYLIGHT
|
13
|
-
TZOFFSETFROM:-0500
|
14
|
-
TZOFFSETTO:-0400
|
15
|
-
DTSTART:20070311T020000
|
16
|
-
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
|
17
|
-
TZNAME:EDT
|
18
|
-
END:DAYLIGHT
|
19
|
-
BEGIN:STANDARD
|
20
|
-
TZOFFSETFROM:-0400
|
21
|
-
TZOFFSETTO:-0500
|
22
|
-
DTSTART:20071104T020000
|
23
|
-
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
|
24
|
-
TZNAME:EST
|
25
|
-
END:STANDARD
|
26
|
-
END:VTIMEZONE
|
27
|
-
BEGIN:VEVENT
|
28
|
-
SEQUENCE:5
|
29
|
-
TRANSP:OPAQUE
|
30
|
-
UID:00481E53-9258-4EA7-9F8D-947D3041A3F2
|
31
|
-
DTSTART;TZID=US/Eastern:20090224T090000
|
32
|
-
DTSTAMP:20090225T000908Z
|
33
|
-
SUMMARY:Test Event
|
34
|
-
CREATED:20090225T000839Z
|
35
|
-
DTEND;TZID=US/Eastern:20090224T100000
|
36
|
-
RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20090228T045959Z
|
37
|
-
END:VEVENT
|
38
|
-
END:VCALENDAR
|