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 CHANGED
@@ -3,7 +3,7 @@ require 'rake'
3
3
  require 'rake/testtask'
4
4
  require 'rake/rdoctask'
5
5
 
6
- PKG_VERSION = "0.96.1"
6
+ PKG_VERSION = "0.96.2"
7
7
 
8
8
  $VERBOSE = nil
9
9
  TEST_CHANGES_SINCE = Time.now - 600 # Recent tests = changed in last 10 minutes
@@ -1 +1 @@
1
- Mon Oct 31 00:08:27 CET 2005
1
+ Mon Oct 31 00:26:04 CET 2005
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Mon Oct 31 00:03:08 CET 2005</td>
59
+ <td>Mon Oct 31 00:20:12 CET 2005</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -213,7 +213,6 @@ module Icalendar
213
213
  raise(UnknownPropertyMethod, "Unknown property type: #{adder}")
214
214
  end
215
215
  else
216
- puts "Looking for: #{name}"
217
216
  if component.respond_to?(name)
218
217
  component.send(name, value, params)
219
218
  else
@@ -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.klass = "PRIVATE"
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.klass, "PRIVATE")
41
+ assert_equal(event2.ip_class, "PRIVATE")
42
42
  end
43
43
 
44
44
  # def test_restricted_properties
@@ -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.klass?, false)
23
- @event.klass = "PRIVATE"
24
- assert_equal(@event.klass?, true)
25
- assert_equal(@event.klass, "PRIVATE")
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.klass = {}
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.1
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: