icalendar 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/README +2 -0
  2. data/Rakefile +1 -1
  3. data/lib/icalendar/calendar.rb +1 -2
  4. metadata +18 -18
data/README CHANGED
@@ -50,6 +50,8 @@ Now for some examples:
50
50
  klass "PRIVATE"
51
51
  end
52
52
 
53
+ cal.publish
54
+
53
55
  ## Or you can make events like this
54
56
  event = Event.new
55
57
  event.start = DateTime.civil(2006, 6, 23, 8, 30)
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/rdoctask'
5
5
  require 'rake/clean'
6
6
  require 'rake/contrib/sshpublisher'
7
7
 
8
- PKG_VERSION = "1.0.1"
8
+ PKG_VERSION = "1.0.2"
9
9
 
10
10
  $VERBOSE = nil
11
11
  TEST_CHANGES_SINCE = Time.now - 600 # Recent tests = changed in last 10 minutes
@@ -96,8 +96,7 @@ module Icalendar
96
96
  # or cancel (with a "CANCEL" method) a previously published "VEVENT"
97
97
  # calendar component.
98
98
  def publish
99
- ip_method = "PUBLISH"
100
-
99
+ self.ip_method = "PUBLISH"
101
100
  end
102
101
 
103
102
  end # class Calendar
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: icalendar
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.1
7
- date: 2007-10-15 00:00:00 +02:00
6
+ version: 1.0.2
7
+ date: 2007-11-25 00:00:00 +01:00
8
8
  summary: A ruby implementation of the iCalendar specification (RFC-2445).
9
9
  require_paths:
10
10
  - lib
@@ -30,26 +30,29 @@ authors:
30
30
  - Jeff Rose
31
31
  files:
32
32
  - test/component
33
+ - test/component/event_test.rb
34
+ - test/component/todo_test.rb
33
35
  - test/parameter_test.rb
34
36
  - test/interactive.rb
35
37
  - test/coverage
36
38
  - test/component_test.rb
37
39
  - test/fixtures
38
- - test/read_write.rb
39
- - test/calendar_test.rb
40
- - test/parser_test.rb
41
- - test/conversions_test.rb
42
- - test/component/event_test.rb
43
- - test/component/todo_test.rb
44
40
  - test/fixtures/simplecal.ics
45
41
  - test/fixtures/folding.ics
46
42
  - test/fixtures/single_event.ics
47
43
  - test/fixtures/life.ics
44
+ - test/read_write.rb
45
+ - test/calendar_test.rb
46
+ - test/parser_test.rb
47
+ - test/conversions_test.rb
48
48
  - lib/icalendar
49
- - lib/hash_attrs.rb
50
- - lib/icalendar.rb
51
- - lib/meta.rb
52
49
  - lib/icalendar/component
50
+ - lib/icalendar/component/alarm.rb
51
+ - lib/icalendar/component/event.rb
52
+ - lib/icalendar/component/freebusy.rb
53
+ - lib/icalendar/component/journal.rb
54
+ - lib/icalendar/component/timezone.rb
55
+ - lib/icalendar/component/todo.rb
53
56
  - lib/icalendar/conversions.rb
54
57
  - lib/icalendar/parameter.rb
55
58
  - lib/icalendar/component.rb
@@ -57,12 +60,9 @@ files:
57
60
  - lib/icalendar/parser.rb
58
61
  - lib/icalendar/calendar.rb
59
62
  - lib/icalendar/base.rb
60
- - lib/icalendar/component/alarm.rb
61
- - lib/icalendar/component/event.rb
62
- - lib/icalendar/component/freebusy.rb
63
- - lib/icalendar/component/journal.rb
64
- - lib/icalendar/component/timezone.rb
65
- - lib/icalendar/component/todo.rb
63
+ - lib/hash_attrs.rb
64
+ - lib/icalendar.rb
65
+ - lib/meta.rb
66
66
  - docs/api
67
67
  - docs/rfcs
68
68
  - docs/rfcs/itip_notes.txt