icalendar 0.96.1 → 0.96.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/docs/api/created.rid +1 -1
- data/docs/api/files/lib/icalendar/parser_rb.html +1 -1
- data/lib/icalendar/parser.rb +0 -1
- data/test/component/event_test.rb +2 -2
- data/test/component_test.rb +5 -5
- metadata +1 -1
data/Rakefile
CHANGED
data/docs/api/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Mon Oct 31 00:
|
1
|
+
Mon Oct 31 00:26:04 CET 2005
|
data/lib/icalendar/parser.rb
CHANGED
@@ -30,7 +30,7 @@ class TestVevent < Test::Unit::TestCase
|
|
30
30
|
|
31
31
|
# Properties that can only occur once per event
|
32
32
|
def test_single_properties
|
33
|
-
@event.
|
33
|
+
@event.ip_class = "PRIVATE"
|
34
34
|
|
35
35
|
@cal.add_component(@event)
|
36
36
|
|
@@ -38,7 +38,7 @@ class TestVevent < Test::Unit::TestCase
|
|
38
38
|
cal2 = cals.first
|
39
39
|
event2 = cal2.events.first
|
40
40
|
|
41
|
-
assert_equal(event2.
|
41
|
+
assert_equal(event2.ip_class, "PRIVATE")
|
42
42
|
end
|
43
43
|
|
44
44
|
# def test_restricted_properties
|
data/test/component_test.rb
CHANGED
@@ -19,10 +19,10 @@ class TestComponent < Test::Unit::TestCase
|
|
19
19
|
|
20
20
|
def test_ical_property
|
21
21
|
# No alias but it does have a prop_name
|
22
|
-
assert_equal(@event.
|
23
|
-
@event.
|
24
|
-
assert_equal(@event.
|
25
|
-
assert_equal(@event.
|
22
|
+
assert_equal(@event.ip_class?, false)
|
23
|
+
@event.ip_class = "PRIVATE"
|
24
|
+
assert_equal(@event.ip_class?, true)
|
25
|
+
assert_equal(@event.ip_class, "PRIVATE")
|
26
26
|
|
27
27
|
# Check that both dtstart and its alias start work correctly
|
28
28
|
date = DateTime.new(2005, 02, 05, 23, 24, 25)
|
@@ -67,7 +67,7 @@ class TestComponent < Test::Unit::TestCase
|
|
67
67
|
def test_bad_args
|
68
68
|
# Single property
|
69
69
|
assert_raise(NotImplementedError) do
|
70
|
-
@event.
|
70
|
+
@event.ip_class = {}
|
71
71
|
end
|
72
72
|
|
73
73
|
# Multi property
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: icalendar
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.96.
|
6
|
+
version: 0.96.2
|
7
7
|
date: 2005-10-31 00:00:00 +01:00
|
8
8
|
summary: A ruby implementation of the iCalendar specification (RFC-2445).
|
9
9
|
require_paths:
|