Browse files

synced copyrights

  • Loading branch information...
1 parent d747fd3 commit 9e4e9926676e4b2176be6c56a513451a2d55fb13 @rubyredrick committed May 14, 2009
Showing with 115 additions and 149 deletions.
  1. +44 −7 README.txt
  2. +1 −2 copyrights.txt
  3. +1 −2 lib/ri_cal.rb
  4. +1 −2 lib/ri_cal/component.rb
  5. +1 −2 lib/ri_cal/component/alarm.rb
  6. +1 −2 lib/ri_cal/component/calendar.rb
  7. +1 −2 lib/ri_cal/component/event.rb
  8. +1 −2 lib/ri_cal/component/freebusy.rb
  9. +1 −2 lib/ri_cal/component/journal.rb
  10. +1 −2 lib/ri_cal/component/t_z_info_timezone.rb
  11. +1 −2 lib/ri_cal/component/timezone.rb
  12. +1 −2 lib/ri_cal/component/timezone/daylight_period.rb
  13. +1 −2 lib/ri_cal/component/timezone/standard_period.rb
  14. +1 −2 lib/ri_cal/component/timezone/timezone_period.rb
  15. +1 −2 lib/ri_cal/properties/todo.rb
  16. +1 −2 lib/ri_cal/property_value.rb
  17. +1 −2 lib/ri_cal/property_value/array.rb
  18. +1 −2 lib/ri_cal/property_value/cal_address.rb
  19. +1 −2 lib/ri_cal/property_value/date.rb
  20. +1 −2 lib/ri_cal/property_value/date_time.rb
  21. +1 −2 lib/ri_cal/property_value/date_time/additive_methods.rb
  22. +1 −2 lib/ri_cal/property_value/date_time/time_machine.rb
  23. +1 −2 lib/ri_cal/property_value/date_time/timezone_support.rb
  24. +1 −2 lib/ri_cal/property_value/duration.rb
  25. +1 −2 lib/ri_cal/property_value/geo.rb
  26. +1 −2 lib/ri_cal/property_value/integer.rb
  27. +1 −2 lib/ri_cal/property_value/occurrence_list.rb
  28. +1 −2 lib/ri_cal/property_value/period.rb
  29. +1 −2 lib/ri_cal/property_value/recurrence_rule.rb
  30. +1 −2 lib/ri_cal/property_value/recurrence_rule/enumeration_support_methods.rb
  31. +1 −2 lib/ri_cal/property_value/recurrence_rule/enumerator.rb
  32. +1 −2 lib/ri_cal/property_value/recurrence_rule/initialization_methods.rb
  33. +1 −2 lib/ri_cal/property_value/recurrence_rule/negative_setpos_enumerator.rb
  34. +1 −2 lib/ri_cal/property_value/recurrence_rule/numbered_span.rb
  35. +1 −2 lib/ri_cal/property_value/recurrence_rule/occurence_incrementer.rb
  36. +1 −2 lib/ri_cal/property_value/recurrence_rule/recurring_day.rb
  37. +1 −2 lib/ri_cal/property_value/recurrence_rule/recurring_month_day.rb
  38. +1 −2 lib/ri_cal/property_value/recurrence_rule/recurring_numbered_week.rb
  39. +1 −2 lib/ri_cal/property_value/recurrence_rule/recurring_year_day.rb
  40. +1 −2 lib/ri_cal/property_value/recurrence_rule/validations.rb
  41. +1 −2 lib/ri_cal/property_value/text.rb
  42. +1 −2 lib/ri_cal/property_value/uri.rb
  43. +1 −2 lib/ri_cal/property_value/utc_offset.rb
  44. +1 −2 lib/ri_cal/required_timezones.rb
  45. +1 −2 spec/ri_cal/component/alarm_spec.rb
  46. +1 −2 spec/ri_cal/component/calendar_spec.rb
  47. +1 −2 spec/ri_cal/component/event_spec.rb
  48. +1 −2 spec/ri_cal/component/freebusy_spec.rb
  49. +1 −2 spec/ri_cal/component/journal_spec.rb
  50. +1 −2 spec/ri_cal/component/t_z_info_timezone_spec.rb
  51. +1 −2 spec/ri_cal/component/timezone_spec.rb
  52. +1 −2 spec/ri_cal/component/todo_spec.rb
  53. +1 −2 spec/ri_cal/component_spec.rb
  54. +1 −2 spec/ri_cal/core_extensions/string/conversions_spec.rb
  55. +1 −2 spec/ri_cal/core_extensions/time/calculations_spec.rb
  56. +1 −2 spec/ri_cal/core_extensions/time/week_day_predicates_spec.rb
  57. +1 −2 spec/ri_cal/occurrence_enumerator_spec.rb
  58. +1 −2 spec/ri_cal/parser_spec.rb
  59. +1 −2 spec/ri_cal/property_value/date_spec.rb
  60. +1 −2 spec/ri_cal/property_value/date_time_spec.rb
  61. +1 −2 spec/ri_cal/property_value/duration_spec.rb
  62. +1 −2 spec/ri_cal/property_value/occurrence_list_spec.rb
  63. +1 −2 spec/ri_cal/property_value/period_spec.rb
  64. +1 −2 spec/ri_cal/property_value/recurrence_rule/recurring_year_day_spec.rb
  65. +1 −2 spec/ri_cal/property_value/recurrence_rule_spec.rb
  66. +1 −2 spec/ri_cal/property_value/text_spec.rb
  67. +1 −2 spec/ri_cal/property_value/utc_offset_spec.rb
  68. +1 −2 spec/ri_cal/property_value_spec.rb
  69. +1 −2 spec/ri_cal/required_timezones_spec.rb
  70. +1 −2 spec/ri_cal_spec.rb
  71. +1 −2 spec/spec_helper.rb
  72. +1 −2 tasks/ri_cal.rake
View
51 README.txt
@@ -82,7 +82,20 @@ the object being built will cause that setter to be sent to the component with t
A method corresponding to the name of one of the components sub component will create the sub component and
evaluate the block in the context of the new subcomponent.
-=== Times, Time zones, and Floating Times
+==== Multiply occurring properties
+
+Certain RFC Components have properties which may be specified multiple times, for example, an Event may have zero or more comment properties,
+A component will have a family of methods for building/manipulating such a property, e.g.
+
+ * Event#comment will return an array of comment strings.
+ * Event#comment= takes a single comment string and gives the event a single comment property, replacing any existing comment property collection.
+ * Event#comments= takes multiple comment string arguments and gives the event a comment property for each, replacing any existing comment property collection.
+ * Event#add_comment takes a single comment string argument and adds a comment property
+ * Event#add_comments takes multiple comment string arguments and adds a comment property for each.
+ * Event#remove_comment takes a single comment string argument and removes an existing comment property with that value.
+ * Event#remove_comments takes multiple comment string argument and removes an existing comment property with that value.
+
+==== Times, Time zones, and Floating Times
RFC2445 describes three different kinds of DATE-TIME values with respect to time zones:
@@ -93,8 +106,7 @@ RFC2445 describes three different kinds of DATE-TIME values with respect to time
3. date-times with a specified time zone.
RiCal can be given ruby Time, DateTime, or Date objects for the value of properties requiring an
-iCalendar DATE-TIME value. It can also be given a two element array where the first element is a Time or DateTime,
-and the second is a string representation of the time zone identifier.
+iCalendar DATE-TIME value. It can also be given a string
Note that a date only DATE-TIME value has no time zone by definition, effectively such values float and describe
a date as viewed by the user in his/her local time zone.
@@ -104,14 +116,27 @@ which of the three types it represents. RiCal is designed to make use of the Ti
part of the ActiveSupport component of Ruby on Rails since Rails 2.2. However it's been carefully designed not
to require Rails or ActiveSupport, but to dynamically detect the presence of the TimeWithZone support.
+RiCal adds accessor methods for a tzid attribute to the Ruby Time, and DateTime classes as well as a set_tzid method which sets the tzid attribute and returns the receiver for convenience in building calendars.
+If ActiveSupport::TimeWithZone is defined, a tzid instance method is defined which returns the identifier of the time zone.
+
When the value of a DATE-TIME property is set to a value, the following processing occurs:
-* If the object responds to both the :acts_as_time, and :timezone methods then the result of the timezone method (assumed to be an instance of TZInfoTimezone) is used as a specific local time zone.
+* If the value is a string, then it must be a valid rfc 2445 date or datetime string optionally preceded by a parameter specification e.g
+** "20010911" will be interpreted as a date
+** "20090530T123000Z" will be interpreted as the time May 30, 2009 at 12:30:00 UTC
+** "20090530T123000" will be interpreted as the time May 30, 2009 with a floating time zone
+** "TZID=America/New_York:20090530T123000" will be interpreted as the time May 30, 2009 in the time zone identified by "America/New_York"
+
+* If the value is a Date it will be interpreted as that date
+* If the value is a Time, DateTime, or TimeWithZone then the tzid attribute will determine the time zone. If tzid returns nil then the default tzid will be used.
+
+==== Default TZID
-* If not then the default time zone id is used. The normal default timezone id is "UTC". You can set the default by calling ::RiCal::PropertyValue::DateTime.default_tzid = timezone_identifier, where timezone_identifier isa string, or nil. If you set the default tzid to 'none' or :none, then Times or DateTimes without timezones will be treated as floating times.
+The PropertyValue::DateTime class has a default_tzid attribute which is initialized to "UTC".
-Note it is likely that in a future version of RiCal that the default timezone will be set on a Calendar by Calendar
-basis rather than on the DateTime property class.
+The Component::Calendar class also has a default_tzid attribute, which may be set, but if it is not set the default_tzid of the PropertyValue::DateTime class will be used.
+
+To set the interpreting of Times and DateTimes which have no tzid as floating times, set the default_tzid for Component::Calendar and/or PropertyValue::DateTime to :floating.
Also note that time zone identifiers are not standardized by RFC 2445. For an RiCal originated calendar
time zone identifiers recognized by the TZInfo gem, or the TZInfo implementation provided by ActiveSupport as the case
@@ -124,6 +149,18 @@ you try to convert a timezone. In this case an InvalidTimezoneIdentifier error w
To explicitly set a floating time you can use the method #with_floating_timezone on Time or DateTime instances as in
event.dtstart = Time.parse("1/1/2010 00:00:00").with_floating_timezone
+
+or the equivalent
+
+event.dtstart = Time.parse("1/1/2010 00:00:00").set_tzid(:floating)
+
+==== RDATE, and EXDATE properties (Occurrence Lists)
+
+A calendar component which supports recurrence properties (e.g. Event) may have zero or more RDATE and or EXDATE properties. Each RDATE/EXDATE property
+in turn specifies one or more occurrences to be either added to or removed from the component's recurrence list. Each element of the list may be either
+a DATE, a DATETIME, or a PERIOD.
+
+A
=== Parsing
View
3 copyrights.txt
@@ -1,2 +1 @@
-©2009 Rick DeNatale
-All rights reserved. Refer to the file README.txt for the license
+©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
View
3 lib/ri_cal.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved. Refer to the file README.txt for the license
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# The RiCal module provides the outermost namespace, along with several convenience methods for parsing
# and building calendars and calendar components.
View
3 lib/ri_cal/component.rb
@@ -1,6 +1,5 @@
module RiCal
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class Component
class ComponentBuilder #:nodoc:
View
3 lib/ri_cal/component/alarm.rb
@@ -3,8 +3,7 @@
module RiCal
class Component
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# An Alarm component groups properties defining a reminder or alarm associated with an event or to-do
# TODO: The Alarm component has complex cardinality restrictions depending on the value of the action property
View
3 lib/ri_cal/component/calendar.rb
@@ -2,8 +2,7 @@
module RiCal
class Component
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# to see the property accessing methods for this class see the RiCal::Properties::Calendar module
class Calendar < Component
View
3 lib/ri_cal/component/event.rb
@@ -2,8 +2,7 @@
module RiCal
class Component
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# An Event (VEVENT) calendar component groups properties describing a scheduled event.
# Events may have multiple occurrences
View
3 lib/ri_cal/component/freebusy.rb
@@ -2,8 +2,7 @@
module RiCal
class Component
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# A Freebusy (VFREEBUSY) calendar component groups properties describing either a request for free/busy time,
# a response to a request for free/busy time, or a published set of busy time.
View
3 lib/ri_cal/component/journal.rb
@@ -3,8 +3,7 @@
module RiCal
class Component
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# A Journal (VJOURNAL) calendar component groups properties describing a journal entry.
# Journals may have multiple occurrences
View
3 lib/ri_cal/component/t_z_info_timezone.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved. Refer to the file README.txt for the license
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# A wrapper class for a Timezone implemented by the TZInfo Gem
# (or by Rails)
View
3 lib/ri_cal/component/timezone.rb
@@ -2,8 +2,7 @@
module RiCal
class Component
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# An Timezone (VTIMEZONE) calendar component describes a timezone used within the calendar.
# A Timezone has two or more TimezonePeriod subcomponents which describe the transitions between
View
3 lib/ri_cal/component/timezone/daylight_period.rb
@@ -1,8 +1,7 @@
module RiCal
class Component
class Timezone
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# A DaylightPeriod is a TimezonePeriod during which daylight saving time *is* in effect
class DaylightPeriod < TimezonePeriod #:nodoc: all
View
3 lib/ri_cal/component/timezone/standard_period.rb
@@ -1,8 +1,7 @@
module RiCal
class Component
class Timezone
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# A StandardPeriod is a TimezonePeriod during which daylight saving time is *not* in effect
class StandardPeriod < TimezonePeriod #:nodoc: all
View
3 lib/ri_cal/component/timezone/timezone_period.rb
@@ -3,8 +3,7 @@
module RiCal
class Component
class Timezone
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# A TimezonePeriod is a component of a timezone representing a period during which a particular offset from UTC is
# in effect.
View
3 lib/ri_cal/properties/todo.rb
@@ -1,7 +1,6 @@
module RiCal
module Properties #:nodoc:
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# Properties::Todo provides property accessing methods for the Todo class
# This source file is generated by the rical:gen_propmodules rake tasks, DO NOT EDIT
View
3 lib/ri_cal/property_value.rb
@@ -1,6 +1,5 @@
module RiCal
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# PropertyValue provides common implementation of various RFC 2445 property value types
class PropertyValue
View
3 lib/ri_cal/property_value/array.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class Array < PropertyValue # :nodoc:
View
3 lib/ri_cal/property_value/cal_address.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RiCal::PropertyValue::CalAddress represents an icalendar CalAddress property value
# which is defined in
View
3 lib/ri_cal/property_value/date.rb
@@ -1,8 +1,7 @@
require 'date'
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RiCal::PropertyValue::CalAddress represents an icalendar Date property value
# which is defined in
View
3 lib/ri_cal/property_value/date_time.rb
@@ -1,8 +1,7 @@
require 'date'
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RiCal::PropertyValue::CalAddress represents an icalendar CalAddress property value
# which is defined in RFC 2445 section 4.3.5 pp 35-37
View
3 lib/ri_cal/property_value/date_time/additive_methods.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# Methods for DateTime which support adding or subtracting another DateTime or Duration
module AdditiveMethods
View
3 lib/ri_cal/property_value/date_time/time_machine.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# Methods for DateTime which support getting values at different point in time.
module TimeMachine
View
3 lib/ri_cal/property_value/date_time/timezone_support.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# Time zone related ethods for DateTime
module TimezoneSupport
View
3 lib/ri_cal/property_value/duration.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RiCal::PropertyValue::CalAddress represents an icalendar Duration property value
# which is defined in
View
3 lib/ri_cal/property_value/geo.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RiCal::PropertyValue::CalAddress represents an icalendar Duration property value
# which is defined in
View
3 lib/ri_cal/property_value/integer.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class Integer < PropertyValue # :nodoc:
View
3 lib/ri_cal/property_value/occurrence_list.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
# OccurrenceList is used to represent the value of an RDATE or EXDATE property.
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class OccurrenceList < Array
attr_accessor :tzid
View
3 lib/ri_cal/property_value/period.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RiCal::PropertyValue::CalAddress represents an icalendar Period property value
# which is defined in
View
3 lib/ri_cal/property_value/recurrence_rule.rb
@@ -4,8 +4,7 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RiCal::PropertyValue::RecurrenceRule represents an icalendar Recurrence Rule property value
# which is defined in
View
3 lib/ri_cal/property_value/recurrence_rule/enumeration_support_methods.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
module EnumerationSupportMethods # :nodoc:
View
3 lib/ri_cal/property_value/recurrence_rule/enumerator.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class Enumerator # :nodoc:
# base_time gets changed everytime the time is updated by the recurrence rule's frequency
View
3 lib/ri_cal/property_value/recurrence_rule/initialization_methods.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
module InitializationMethods # :nodoc:
View
3 lib/ri_cal/property_value/recurrence_rule/negative_setpos_enumerator.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class NegativeSetposEnumerator < Enumerator # :nodoc:
View
3 lib/ri_cal/property_value/recurrence_rule/numbered_span.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class NumberedSpan # :nodoc:
attr_reader :source
View
3 lib/ri_cal/property_value/recurrence_rule/occurence_incrementer.rb
@@ -35,8 +35,7 @@ def first_day_of_year(date_time)
date_time.change(:month => 1, :day => 1)
end
end
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class OccurrenceIncrementer # :nodoc:
View
3 lib/ri_cal/property_value/recurrence_rule/recurring_day.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# Instances of RecurringDay are used to represent values in BYDAY recurrence rule parts
#
View
3 lib/ri_cal/property_value/recurrence_rule/recurring_month_day.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# Instances of RecurringMonthDay represent BYMONTHDAY parts in recurrence rules
class RecurringMonthDay < NumberedSpan # :nodoc:
View
3 lib/ri_cal/property_value/recurrence_rule/recurring_numbered_week.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class RecurringNumberedWeek < NumberedSpan # :nodoc:
def last
View
3 lib/ri_cal/property_value/recurrence_rule/recurring_year_day.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class RecurringYearDay < NumberedSpan # :nodoc:
View
3 lib/ri_cal/property_value/recurrence_rule/validations.rb
@@ -1,8 +1,7 @@
module RiCal
class PropertyValue
class RecurrenceRule < PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
module Validations #:nodoc:
# Validate that the parameters of the reciever conform to RFC 2445
View
3 lib/ri_cal/property_value/text.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RiCal::PropertyValue::Text represents an icalendar Text property value
# which is defined in
View
3 lib/ri_cal/property_value/uri.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RiCal::PropertyValue::Uri represents an icalendar Uri property value
# which is defined in
View
3 lib/ri_cal/property_value/utc_offset.rb
@@ -1,7 +1,6 @@
module RiCal
class PropertyValue
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
class UtcOffset < PropertyValue # :nodoc:
attr_accessor :sign, :hours, :minutes, :seconds
View
3 lib/ri_cal/required_timezones.rb
@@ -1,6 +1,5 @@
module RiCal
- #- ©2009 Rick DeNatale
- #- All rights reserved. Refer to the file README.txt for the license
+ #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# RequireTimezones collects the timezones used by a given calendar component or set of calendar components
# For each timezone we collect it's id, and the earliest and latest times which reference the zone
View
3 spec/ri_cal/component/alarm_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/component/calendar_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/component/event_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/component/freebusy_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/component/journal_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/component/t_z_info_timezone_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
require 'rubygems'
View
3 spec/ri_cal/component/timezone_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
require 'tzinfo'
View
3 spec/ri_cal/component/todo_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/component_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. spec_helper])
require 'tzinfo'
View
3 spec/ri_cal/core_extensions/string/conversions_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. .. spec_helper])
View
3 spec/ri_cal/core_extensions/time/calculations_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. .. spec_helper])
View
3 spec/ri_cal/core_extensions/time/week_day_predicates_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. .. spec_helper])
View
3 spec/ri_cal/occurrence_enumerator_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. spec_helper.rb])
View
3 spec/ri_cal/parser_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. spec_helper])
View
3 spec/ri_cal/property_value/date_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/property_value/date_time_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
require 'tzinfo'
View
3 spec/ri_cal/property_value/duration_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
require 'date'
View
3 spec/ri_cal/property_value/occurrence_list_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/property_value/period_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/property_value/recurrence_rule/recurring_year_day_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. .. spec_helper])
View
3 spec/ri_cal/property_value/recurrence_rule_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/property_value/text_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/property_value/utc_offset_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. .. spec_helper])
View
3 spec/ri_cal/property_value_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. spec_helper])
require 'tzinfo'
View
3 spec/ri_cal/required_timezones_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[.. spec_helper])
View
3 spec/ri_cal_spec.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.join(File.dirname(__FILE__), %w[spec_helper])
View
3 spec/spec_helper.rb
@@ -1,5 +1,4 @@
-#- ©2009 Rick DeNatale
-#- All rights reserved
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
require File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib ri_cal]))
require 'cgi'
View
3 tasks/ri_cal.rake
@@ -1,7 +1,6 @@
#require 'active_support'
require 'yaml'
-#- ©2009 Rick DeNatale
-#- All rights reserved. Refer to the file README.txt for the license
+#- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
#
# code stolen from ActiveSupport Gem
unless String.instance_methods.include?("camelize")

0 comments on commit 9e4e992

Please sign in to comment.